/* Import Fonts */
@import url("https://fonts.googleapis.com/css2?family=Elms+Sans:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playwrite+FR+Moderne:wght@100..400&display=swap");

:root {
  /* Dark spa: nền nâu sâu; kem / be chỉ accent (chữ sáng, viền, điểm nhấn) */
  --main-pink: #c9a87c;
  --light-pink: #14110e;
  --dark-pink: #e8d4b8;
  --bg-gradient:
    radial-gradient(ellipse 110% 80% at 100% 0%, rgba(201, 168, 124, 0.15) 0%, transparent 52%),
    radial-gradient(ellipse 90% 70% at 0% 90%, rgba(232, 212, 184, 0.09) 0%, transparent 50%),
    linear-gradient(168deg, #0f0d0a 0%, #161310 20%, #1c1815 45%, #191611 70%, #12100d 100%);
  --soft-white: rgba(240, 230, 216, 0.08);
  --call-green: #6d9074;
  --surface: #211c18;
  --surface-gradient: linear-gradient(180deg, #2a2520 0%, #211c18 45%, #1a1714 100%);
  --card-gradient: linear-gradient(155deg, #312922 0%, #252019 38%, #2a241f 100%);
  --section-gradient: linear-gradient(
    185deg,
    rgba(24, 20, 17, 0.98) 0%,
    rgba(30, 26, 22, 0.97) 38%,
    rgba(22, 19, 16, 0.99) 100%
  );
  --footer-gradient: linear-gradient(180deg, #13100d 0%, #181511 42%, #0f0d0b 100%);
  --text-primary: #ede4d8;
  --text-muted: #9c8f82;
  /* --- Layout: fixed header + scroll anchor (một nguồn offset, không đo JS) --- */
  --header-bar-padding: 30px;
  --header-logo-h: clamp(3.45rem, 12vw, 5.3rem);
  --header-nav-row-h: 0px;
  --header-extra-gap: 6px;
  --anchor-offset: calc(var(--header-bar-padding) + var(--header-logo-h) + var(--header-nav-row-h) + var(--header-extra-gap));
  --subpage-body-extra: 1.25rem;
  --subpage-hero-pt: 1rem;
  --about-section-pt: 3rem;
  --about-inner-pt: 1.25rem;
}

@media (min-width: 992px) {
  :root {
    --header-nav-row-h: 3.1rem;
    --subpage-body-extra: 1.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --about-section-pt: 2.75rem;
  }
}

html {
  font-size: 93.75%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

body {
  padding-top: var(--anchor-offset);
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
  background: var(--bg-gradient);
  background-color: var(--light-pink);
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
}

body.page-sub {
  padding-top: calc(var(--anchor-offset) + var(--subpage-body-extra));
}

section.page-hero {
  padding-top: var(--subpage-hero-pt);
}

.bg-light-gradient {
  background: var(--section-gradient);
}

.text-pink {
  color: var(--dark-pink) !important;
}

/* --- HEADER & NAVBAR --- */
header.fixed-top {
  background: var(--surface-gradient) !important;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, rgba(201, 168, 124, 0.25) 0%, var(--main-pink) 50%, rgba(201, 168, 124, 0.25) 100%) 1;
  z-index: 1030;
  padding: 15px 0;
  transition: padding 0.3s ease;
}

header.fixed-top.is-compact {
  padding: 3px 0;
}

header.fixed-top.is-init {
  transition: none;
}
.logo {
  display: inline-block;
  padding-top: 0;
  padding-bottom: 0;
  text-decoration: none;
  line-height: 0;
}
header .navbar-brand.logo {
  margin-right: 0;
}
.logo__img {
  display: block;
  height: clamp(3.45rem, 12vw, 5.3rem);
  width: auto;
  max-width: min(465px, 92vw);
  object-fit: contain;
}
.nav-link {
  font-weight: 600;
  color: #ae9f91 !important;
  transition: 0.3s;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 10px 15px !important;
}
.nav-link:hover {
  color: var(--dark-pink) !important;
}
header .nav-link.active,
header .nav-link[aria-current="page"],
header .navbar-nav .nav-link.active {
  color: var(--dark-pink) !important;
  font-weight: 700;
}

/* Mobile/tablet: menu collapse overlay, không đẩy layout trang */
@media (max-width: 991.98px) {
  header.fixed-top .navbar {
    position: relative;
  }

  header.fixed-top .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 2;
    background: var(--surface-gradient);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, rgba(201, 168, 124, 0.25) 0%, var(--main-pink) 50%, rgba(201, 168, 124, 0.25) 100%) 1;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    padding-bottom: 0.35rem;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* Footer: thông tin tiệm canh trái; social + gạch + © canh giữa */
footer.site-footer .site-footer__tail {
  text-align: center;
}
footer.site-footer .site-footer__tail .social-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}
footer.site-footer .site-footer__tail .social-icons a {
  margin: 0;
}
footer.site-footer .site-footer__tail hr {
  margin-left: auto;
  margin-right: auto;
}

/* --- HERO SECTION --- */
.hero-section {
  height: 70vh;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  width: 100%;
  display: block;
}
.heroSwiper {
  width: 100%;
  height: 100%;
}

html.hero-off .hero-section {
  display: none;
}

html.hero-off #about {
  padding-top: var(--about-section-pt);
  padding-bottom: 1.5rem;
}

html.hero-off #about > .container {
  padding-top: var(--about-inner-pt);
  padding-bottom: 1.5rem;
}

.img-placeholder {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* --- ACTION BUTTONS (Sát lề, Xa nhau & Fix kẹt click) --- */
.action-buttons-group {
  position: fixed;
  right: -83px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 135px;
  align-items: center;
  width: 200px;
}

.booking-btn-fixed,
.call-btn-vertical {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 170px;
  height: 45px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px 8px 0 0;
  transition: all 0.3s ease-out;
  transform: rotate(-90deg);
  outline: none;
}

.booking-btn-fixed {
  background: linear-gradient(45deg, #6b4423, #9a6b45);
  color: #fff9f0;
}
.call-btn-vertical {
  background: linear-gradient(145deg, #4d6b54, #354a3c);
  color: #f0f5f1;
}
.call-btn-vertical i {
  transform: rotate(90deg);
}

/* Hover nhích ra */
.booking-btn-fixed:hover,
.call-btn-vertical:hover {
  transform: rotate(-90deg) translateY(-10px);
  color: white;
}

/* Fix kẹt: Quay về ngay khi click/focus */
.booking-btn-fixed:active,
.call-btn-vertical:active,
.booking-btn-fixed:focus,
.call-btn-vertical:focus {
  transform: rotate(-90deg) translateY(0);
  transition: all 0.1s ease;
}

/* Pulse Animation */
.pulse-green-right {
  animation: pulse-green-sharp 2s infinite;
}
@keyframes pulse-green-sharp {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 107, 82, 0.65);
  }
  70% {
    box-shadow: -20px 0 30px 15px rgba(74, 107, 82, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 107, 82, 0);
  }
}

/* --- SECTION REVEAL (Services row + About stagger) --- */
.section-fade {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 1.32s cubic-bezier(0.22, 0.65, 0.35, 1),
    transform 1.32s cubic-bezier(0.22, 0.65, 0.35, 1);
}
.section-fade.active {
  opacity: 1;
  transform: translateY(0);
}

/* About: từng dòng nội dung lộ dần (blur nhẹ → rõ) */
.section-fade--stagger {
  opacity: 1;
  transform: none;
  transition: none;
}
.section-fade--stagger .stagger-reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  filter: blur(5px);
  will-change: opacity, transform, filter;
  transition:
    opacity 1.5s cubic-bezier(0.22, 0.65, 0.28, 1),
    transform 1.5s cubic-bezier(0.22, 0.65, 0.28, 1),
    filter 1.32s ease;
  transition-delay: var(--r-delay, 0s);
}
.section-fade--stagger.active .stagger-reveal {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .section-fade,
  .section-fade--stagger .stagger-reveal,
  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* --- SERVICE & WORK --- */
.section-title {
  font-family: "Playwrite FR Moderne", cursive;
  font-weight: 500;
  color: #d4b896;
  text-align: center;
}
#sub-services .sub-services-hero-title {
  line-height: 1.3;
  padding-inline: 0.2rem;
}

@media (min-width: 768px) {
  #sub-services .sub-services-hero-title {
    white-space: nowrap;
  }
}

.divider {
  height: 3px;
  width: 80px;
  background: linear-gradient(to right, var(--main-pink), var(--dark-pink), var(--main-pink));
  margin: 15px auto 40px;
  border-radius: 2px;
  display: block;
}

.service-card {
  border-radius: 20px;
  background: var(--card-gradient);
  overflow: hidden;
  transition: 0.5s;
  height: 100%;
  border: 1px solid rgba(201, 168, 124, 0.22) !important;
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(232, 212, 184, 0.08);
  color: var(--text-primary);
}
.service-card:hover {
  border-color: rgba(232, 212, 184, 0.32) !important;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(232, 212, 184, 0.12);
}
.service-card h3 {
  color: var(--text-primary);
}
.serviceSwiper {
  width: 100%;
  height: 230px;
  overflow: hidden;
}
.serviceSwiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* View More Buttons */
.view-more-container {
  text-align: center;
  margin-top: 40px;
}
.btn-view-more-main {
  display: inline-block;
  padding: 12px 35px;
  background-color: transparent;
  color: var(--dark-pink);
  border: 2px solid var(--dark-pink);
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.4s;
}
.btn-view-more-main:hover {
  background: linear-gradient(135deg, #7a5438, #c9a87c);
  color: #1a1410 !important;
  border-color: var(--main-pink);
  transform: translateY(-5px);
}

.btn-outline-pink {
  display: inline-block;
  padding: 8px 25px;
  color: var(--dark-pink) !important;
  border: 1px solid var(--dark-pink) !important;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: 0.3s;
  background: transparent;
}
.btn-outline-pink:hover {
  background: linear-gradient(135deg, #8a6249, #c9a87c) !important;
  color: #1a1410 !important;
  border-color: var(--main-pink) !important;
}

/* --- GALLERY & REVEAL ANIMATION --- */
.gallery-item {
  height: auto;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  border: 4px solid rgba(180, 150, 118, 0.4);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

h1.section-title {
  font-size: calc(1.325rem + 0.9vw);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  h1.section-title {
    line-height: 1.48;
    padding-inline: 0.35rem;
  }
}

body.gallery-page .gallery-item,
section#gallery .gallery-item {
  height: auto;
  aspect-ratio: 1 / 1;
}

/* Lightbox toàn màn (click ảnh) — nền fade + ảnh zoom khi mở */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  box-sizing: border-box;
  background: transparent;
  cursor: zoom-out;
}
.gallery-lightbox::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(14, 12, 10, 0.92);
  pointer-events: none;
  opacity: 0;
}
.gallery-lightbox.is-open::before {
  animation: galleryLightboxDimIn 0.32s ease-out forwards;
}
@keyframes galleryLightboxDimIn {
  to {
    opacity: 1;
  }
}
.gallery-lightbox[hidden] {
  display: none !important;
}
.gallery-lightbox__img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
  cursor: default;
  pointer-events: auto;
  transform-origin: center center;
}
.gallery-lightbox.is-open .gallery-lightbox__img {
  animation: galleryLightboxImgZoom 0.52s cubic-bezier(0.22, 0.9, 0.32, 1) forwards;
}
@keyframes galleryLightboxImgZoom {
  from {
    opacity: 0.7;
    transform: scale(0.86);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.gallery-lightbox__close {
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10052;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(232, 212, 184, 0.18);
  color: #f5ebe3;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.2s;
}
.gallery-lightbox__close:hover {
  background: rgba(232, 212, 184, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  .gallery-lightbox.is-open::before {
    animation: none;
    opacity: 1;
  }
  .gallery-lightbox.is-open .gallery-lightbox__img {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.reveal-item {
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  transition: all 1.86s cubic-bezier(0.2, 1, 0.3, 1);
  transition-delay: var(--r-delay, 0s);
  will-change: transform, opacity;
}

.reveal-item.active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Service cards: cùng hiệu ứng mọc/zoom với gallery, lệch nhẹ từng thẻ */
.service-card.reveal-item {
  transform: scale(0.92) translateY(16px);
}
.service-card.reveal-item.active {
  transform: scale(1) translateY(0);
}

/* FAQ: mọc nhẹ từng câu hỏi khi scroll tới */
.faq-item.reveal-item {
  transform: scale(0.96) translateY(1.25rem);
}
.faq-item.reveal-item.active {
  transform: scale(1) translateY(0);
}

/* Footer */
footer {
  background: var(--footer-gradient);
  border-top: 1px solid transparent;
  border-image: linear-gradient(
      90deg,
      transparent,
      rgba(201, 168, 124, 0.35),
      var(--main-pink),
      rgba(201, 168, 124, 0.35),
      transparent
    )
    1;
  color: var(--text-primary);
}
footer h4 {
  color: var(--text-primary);
}
footer .text-muted {
  color: var(--text-muted) !important;
}
.social-icons a {
  font-size: 1.6rem;
  color: #8f8278;
  margin: 0 15px;
  transition: 0.3s;
}
.social-icons a:hover {
  color: var(--dark-pink);
}

/* Lead / secondary trên nền nâu tối */
.lead.text-secondary,
.page-hero .text-secondary,
#faq .text-secondary {
  color: #b5a99c !important;
}

#faq h3 {
  color: var(--text-primary);
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
}

/* Inline links trong nội dung — tone be/nâu, tránh blue mặc định */
#about a:not([class]),
#faq a:not([class]) {
  color: var(--main-pink);
  text-decoration: underline;
  text-decoration-color: rgba(201, 168, 124, 0.4);
  text-underline-offset: 0.18em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

#about a:not([class]):hover,
#faq a:not([class]):hover,
#about a:not([class]):focus-visible,
#faq a:not([class]):focus-visible {
  color: var(--dark-pink);
  text-decoration-color: var(--dark-pink);
}

body .text-muted,
.service-card .text-muted {
  color: var(--text-muted) !important;
}

/* Swiper: nút + pagination trên ảnh hero */
.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
  color: rgba(245, 235, 227, 0.95);
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.9);
}
.heroSwiper .swiper-pagination-bullet {
  background: rgba(255, 254, 249, 0.55);
  opacity: 1;
}
.heroSwiper .swiper-pagination-bullet-active {
  background: var(--dark-pink);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero-section {
    height: 50vh;
  }
  .action-buttons-group {
    right: -75px;
    gap: 110px;
    font-size: 0.8rem;
  }
  .booking-btn-fixed,
  .call-btn-vertical {
    width: 140px;
    height: 40px;
  }

  /* Mobile: Tắt hover dính nút, nhích nhẹ khi chạm */
  .booking-btn-fixed:hover,
  .call-btn-vertical:hover {
    transform: rotate(-90deg);
  }
  .booking-btn-fixed:active,
  .call-btn-vertical:active {
    transform: rotate(-90deg) translateY(-5px);
  }

  /* Cuộn / mọc: biên độ lớn hơn, blur nhẹ (dễ đọc), thời gian đủ dài trên màn nhỏ */
  .section-fade {
    transform: translateY(2.25rem);
    transition:
      opacity 1.35s cubic-bezier(0.22, 0.65, 0.35, 1),
      transform 1.35s cubic-bezier(0.22, 0.65, 0.35, 1);
  }
  .section-fade--stagger .stagger-reveal {
    transform: translateY(1.55rem);
    filter: blur(2px);
    transition:
      opacity 1.35s cubic-bezier(0.22, 0.65, 0.28, 1),
      transform 1.35s cubic-bezier(0.22, 0.65, 0.28, 1),
      filter 1.15s ease;
  }

  .reveal-item {
    transform: scale(0.84) translateY(1.75rem) !important;
    transition:
      transform 1.6s cubic-bezier(0.2, 1, 0.3, 1),
      opacity 1.5s cubic-bezier(0.2, 1, 0.3, 1);
    transition-delay: var(--r-delay, 0s);
  }
  .reveal-item.active {
    opacity: 1;
    transform: scale(1) translateY(0) !important;
  }
  .service-card.reveal-item {
    transform: scale(0.87) translateY(1.5rem) !important;
  }
  .service-card.reveal-item.active {
    transform: scale(1) translateY(0) !important;
  }

  .gallery-item {
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    border: 3px solid rgba(168, 140, 110, 0.45);
  }

  section#gallery .gallery-item,
  body.gallery-page .gallery-item {
    height: auto;
    aspect-ratio: 1 / 1;
  }
}
/* --- MOBILE BOTTOM NAV (3 NÚT ĐỒNG CẤP) --- */
@media (max-width: 768px) {
  /* Hiện thanh điều hướng */
  .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(0deg, #13100d 0%, #1a1714 55%, #221e1a 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.55);
    z-index: 9999;
    border-top: 1px solid rgba(201, 168, 124, 0.28);
  }

  /* Chia đều 3 nút */
  .mobile-bottom-nav .nav-item {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: #ae9f91;
    transition: background 0.2s;
  }

  /* Hiệu ứng khi chạm */
  .mobile-bottom-nav .nav-item:active {
    background-color: rgba(201, 168, 124, 0.12);
  }

  /* Icon */
  .mobile-bottom-nav .nav-item i {
    font-size: 1.2rem;
    margin-bottom: 2px;
    color: var(--dark-pink, #e8d4b8);
  }

  /* Nút chỉ đường — accent đồng */
  .mobile-bottom-nav .nav-item:last-child i {
    color: var(--main-pink) !important;
  }

  .mobile-bottom-nav .nav-item:last-child:active i {
    color: #f0dfc6 !important;
  }

  /* Text dưới icon */
  .mobile-bottom-nav .nav-item span {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
  }

  .mobile-bottom-nav .nav-item:first-child i {
    color: #7a9e82;
  }

  /* Ẩn các nút cũ để không bị chồng chéo */
  .action-buttons-group,
  .booking-btn-fixed,
  .call-btn-vertical {
    display: none !important;
  }

  /* Đẩy footer lên để không bị che */
  footer {
    padding-bottom: 70px !important;
  }
}

/* Ẩn trên máy tính */
@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}

/* --- Promo image modal: thay nội dung = ghi đè v4-concept-nails/images/promo-popup.webp --- */
body.site-promo-lock {
  overflow: hidden;
}

.site-promo {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.site-promo[hidden] {
  display: none !important;
}

.site-promo__backdrop {
  position: absolute;
  inset: 0;
  /* Đậm hơn để tách popup, vẫn hơi trong để thấy nền phía sau */
  background: rgba(12, 10, 8, 0.8);
  cursor: pointer;
  animation: sitePromoBackdropIn 0.28s ease-out both;
}

.site-promo__panel {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 26.25rem);
  max-height: 88vh;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #252019;
  border-radius: 6px;
  overflow: hidden;
  transform-origin: 50% 0;
  animation: sitePromoPanelDrop 1.12s cubic-bezier(0.33, 0, 0.22, 1) both;
  border: 1px solid rgba(232, 212, 184, 0.35);
  box-shadow:
    0 0 0 1px rgba(232, 212, 184, 0.06),
    0 0 32px rgba(201, 168, 124, 0.15),
    0 16px 48px rgba(0, 0, 0, 0.5);
}

.site-promo__img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
}

.site-promo__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(232, 212, 184, 0.92);
  color: #2a221c;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.site-promo__close:hover {
  background: #f0e0cc;
  color: #1a1410;
}

.site-promo__close:focus-visible {
  outline: 2px solid var(--main-pink);
  outline-offset: 2px;
}

@keyframes sitePromoBackdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes sitePromoPanelDrop {
  0% {
    opacity: 0;
    transform: translateY(-3.25rem) scale(0.94);
  }
  58% {
    opacity: 1;
    transform: translateY(0.4rem) scale(1.008);
  }
  82% {
    transform: translateY(-0.12rem) scale(1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-promo__panel,
  .site-promo__backdrop {
    animation: none;
  }
}
