/* =========================================
   01 - Fonts - IRANYekanX
   ========================================= */
@font-face {
  font-family: "IRANYekanX";
  src: url("../fonts/IRANYekanX-Light.woff2") format("woff2"), url("../fonts/IRANYekanX-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANYekanX";
  src: url("../fonts/IRANYekanX-Regular.woff2") format("woff2"), url("../fonts/IRANYekanX-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANYekanX";
  src: url("../fonts/IRANYekanX-Medium.woff2") format("woff2"), url("../fonts/IRANYekanX-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANYekanX";
  src: url("../fonts/IRANYekanX-Bold.woff2") format("woff2"), url("../fonts/IRANYekanX-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IRANYekanX";
  src: url("../fonts/IRANYekanX-ExtraBold.woff2") format("woff2"), url("../fonts/IRANYekanX-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* =========================================
   02 - CSS Variables
   ========================================= */
:root {
  --cream: #fdfbf7;
  --cream-2: #fffcf8;
  --beige: #f2e6d3;
  --beige-light: #fffbf5;
  --brown: #c19a6b;
  --brown-dark: #a6855e;
  --brown-muted: #b68a5a;
  --brown-title: #9c7a4a;
  --text: #1f1c19;
  --text-soft: #6d665e;
  --line: #e9ddc5;
  --footer: #2a2420;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =========================================
   03 - Reset & Base
   ========================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}
body {
  font-family: "IRANYekanX", sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}
a[href^="tel:"] {
  direction: ltr;
  unicode-bidi: isolate;
}

/* =========================================
   04 - Layout - Container & Utilities
   ========================================= */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 15px;
}
.relative {
  position: relative;
}
.d-none{display: none !important;}
/* =========================================
   05 - Header
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fffcf8;
  border-bottom: 1px solid #f0e6d3;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 64px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-inner .site-tagline{display:none}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 60px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: #6e6557;
  opacity: 0.9;
  position: relative;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.main-nav a:hover {
  color: var(--brown-dark);
}
.btn-outline {
  display: inline-block;
  border: 1px solid #2b2620;
  color: #2b2620;
  padding: 10px 35px;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  transition: all 0.25s;
  white-space: nowrap;
  line-height: 1.6;
  flex-shrink: 0;font-family: inherit;
}
.btn-outline:hover {
  background: #1f1c19;
  color: #fff;
  border-color: #1f1c19;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: #1f1c19;
  border-radius: 2px;
  transition: 0.3s;
  display: block;
}

/* =========================================
   06 - Mobile Drawer
   ========================================= */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 49;
}
.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-drawer {
  position: fixed;
  inset: 0;
  height: 100dvh;
  background: #fdfbf7;
  z-index: 50;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.42s;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.active {
  transform: translateY(0);
  visibility: visible;
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
}
.drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 6px 24px 0;
}
.d-link {
  padding: 18px 0;
  text-align: right;
  font-size: 17px;
  font-weight: 400;
  color: #2b2117;
  border-bottom: 1px solid #ede3cf;
  transition: color 0.2s;
}
.d-link:last-child {
  border-bottom: 1px solid #ede3cf;
}
.d-link:hover {
  color: var(--brown);
}

/* =========================================
   07 - Hero
   ========================================= */
.hero {
  background: #fffbf5;
  overflow: hidden;
}
.hero-grid {
  display: block;
  position: relative;
  min-height: calc(100vh - 64px);
  min-height: 600px;
  max-height: 780px;
  width: 100%;
}
.hero-media {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  overflow: hidden;
  background: #ede6da;
  flex: none;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-copy {
  position: absolute;
  top: 0;
  right: 15%;
  bottom: 0;
  width: 38%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: right;
  padding: 10px 0 90px 20px;
  background: transparent;
  backdrop-filter: none;
  z-index: 1;
}
.eyebrow {
  color: #9f7240;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  color: #1a1816;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero-title span {
  color: #9c7a4a;
  font-weight: 800;
  display: block;
}
.hero-desc {
  color: #6e6557;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  margin-bottom: 28px;
}
.btn-primary {
  display: inline-block;
  background: #bc8a56;
  color: #fff;
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 500;
  transition: 0.25s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: #1f1c19;
}
.btn-primary:active {
  transform: scale(0.98);
}
.btn-primary.small {
  padding: 15px 30px;
  font-size: 14px;
  margin-top: 30px;
}
.scroll-hint {
  position: absolute;
  bottom: 0;
  left: 70%;
  right: auto;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: auto;
  margin-top: 0;
}
.scroll-hint span {
  font-size: 14px;
  color: #a39a89;
  font-weight: 400;
  white-space: nowrap;
}
.scroll-line {
  width: 2px;
  height: 72px;
  background: #6e6557;
  position: relative;
  opacity: 0.9;
}
.scroll-line i {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #6e6557;
  border-radius: 50%;
  animation: dotMove 2.2s ease-in-out infinite;
}
@keyframes dotMove {
  0%,
  100% {
    top: 0;
    opacity: 1;
  }
  50% {
    top: calc(100% - 6px);
    opacity: 0.7;
  }
}
.hero-num {
  position: absolute;
  bottom: 18px;
  left: 28px;
  font-size: 10px;
  font-weight: 400;
  color: #a99f8e;
  letter-spacing: 0.12em;
  z-index: 2;
  opacity: 0.9;
}

/* =========================================
   08 - Chapters
   ========================================= */
.chapter {
  display: flex;
  flex-direction: row-reverse;
  height: 460px;
  min-height: 460px;
  overflow: hidden;
}
.chapter.reverse {
  flex-direction: row;
}
.chapter-text {
  flex: 0 0 40%;
  max-width: 40%;
  padding: 48px 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.chapter-text.beige {
  background: #f5ead6;
}
.chapter-text.beige-light {
  background: #fffcf7;
}
.chapter-inner {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  text-align: right;
}
.chap-label {
  color: #b8935f;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  display: block;
}
.chapter-inner h2 {
  font-size: 32px;
  font-weight: 500;
  color: #1f1c19;
  line-height: 1.3;
  margin-bottom: 6px;
}
.chap-sub {
  font-size: 14px;
  color: #6e6557;
  font-weight: 500;
  margin-bottom: 12px;
  display: block;
}
.chapter-inner p {
  font-size: 14px;
  color: #6e6557;
  line-height: 2.05;
  font-weight: 300;
  margin-bottom: 20px;
}
.chap-link {
  font-size: 12px;
  font-weight: 500;
  color: #2b2620;
  border-bottom: 1px solid #2b2620;
  padding-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s;
}
.chap-link:hover {
  color: var(--brown);
  border-color: var(--brown);
}
.chap-link span {
  font-size: 13px;
  transform: translateY(-1px);
}
.chapter-media {
  flex: 0 0 60%;
  max-width: 60%;
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 100%;
  background: #e8e0cf;
}
.chapter-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.6s;
}
.chapter-media:hover img {
  transform: scale(1.03);
}
.leaf-decor {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 150px;
  opacity: 0.42;
  pointer-events: none;
  display: block;
}

/* =========================================
   09 - Occasions
   ========================================= */
.occasions {
  background: #f2e6d3;
  padding: 56px 0 48px;
}
.section-heading {
  text-align: center;
  font-size: 30px;
  font-weight: 500;
  color: #2b2620;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.occasions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px 16px;
  max-width: 980px;
  margin: 0 auto;
}
.occ-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.occ-thumb {
  width: 100%;
  aspect-ratio: 1.15;
  overflow: hidden;
  background: #fff;
  border-radius: 2px;
}
.occ-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.occ-item:hover .occ-thumb img {
  transform: scale(1.05);
}
.occ-item span {
  font-size: 14px;
  font-weight: 500;
  color: #2b2620;
  white-space: nowrap;
}

/* =========================================
   10 - About (Home)
   ========================================= */
.about {
  background: #fdfbf7;
  padding: 72px 0;
}
.about-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: center;
}
.about-copy {
  flex: 1.1;
  max-width: 360px;
  text-align: right;
  order: 1;
}
.about-copy h2 {
  font-size: 30px;
  font-weight: 500;
  margin: 6px 0 14px;
  letter-spacing: -0.01em;
  color: #2b2620;
}
.about-copy p {
  font-size: 13.5px;
  color: #6d665e;
  line-height: 2.05;
  font-weight: 300;
  margin-bottom: 18px;
}
.about-photo {
  flex: 0 0 340px;
  width: 340px;
  overflow: hidden;
  background: #ede3cf;
  order: 2;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 4.6;
}
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
  order: 3;
  align-items: flex-start;
  min-width: 130px;
  width: auto;
  padding-right: 12px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.num {
  font-size: 22px;
  font-weight: 800;
  color: #9c7a4a;
  line-height: 1;
}
.lbl {
  font-size: 11px;
  color: #8a847d;
  font-weight: 400;
  white-space: nowrap;
}

/* =========================================
   11 - Testimonials
   ========================================= */
.testimonials {
  background: #f2e6d3;
  padding: 52px 0 44px;
}
.testimonials-head {
  max-width: 960px;
  margin: 0 auto;
  text-align: right;
  padding: 0 8px;
}
.testimonials-head .chap-label {
  display: block;
  text-align: right;
  margin-bottom: 8px;
}
.testimonials-head .section-heading {
  text-align: right;
  margin-bottom: 0;
  font-size: 26px;
}
.testimonials-swiper {
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 42px;
}
.testimonials-swiper .swiper-wrapper {
  align-items: stretch;
}
.testimonials-swiper .swiper-slide {
  height: auto;
  display: flex;
}
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.t-card {
  background: #fff;
  padding: 32px 24px 22px;
  border-radius: 3px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  min-height: 200px;
  text-align: center;
  direction: rtl;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  position: relative;
}
.t-card::before {
  content: "\201C";

  font-size: 30px;
  line-height: 1;
  color: #c9b99a;
  display: block;
  text-align: right;
  margin-bottom: 14px;
  font-weight: 400;
}
.t-card p {
  font-size: 14px;
  color: #5b554f;
  line-height: 2;
  font-weight: 400;
  flex: 1;
  margin-bottom: 10px;
  text-align: center;
}
.t-name {
  font-size: 12px;
  font-weight: 500;
  color: #2b2620;
  text-align: right;
}
.dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d8cfc0;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  padding: 0;
  flex-shrink: 0;
}
.dot:hover {
  background: #c4b8a3;
}
.dot.active {
  width: 20px;
  border-radius: 3px;
  background: #c19a6b;
}
.testimonials-swiper .swiper-pagination {
  position: static;
  margin-top: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
}
.testimonials-swiper .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d8cfc0;
  opacity: 1;
  margin: 0 !important;
  transition: all 0.3s ease;
}
.testimonials-swiper .swiper-pagination-bullet-active {
  width: 20px;
  border-radius: 3px;
  background: #c19a6b;
}

/* =========================================
   12 - CTA / Contact
   ========================================= */
.cta {
  background: #fffbf5;
  padding: 20px 0 0;
  overflow: hidden;
  position: relative;
}
.cta::before {
  display: none;
}
.cta-inner {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  min-height: 380px;
  padding-bottom: 24px;
  gap: 0;
  position: relative;
  z-index: 1;
}
.cta-copy {
  flex: 0 0 42%;
  max-width: 440px;
  width: 100%;
  text-align: right;
  position: relative;
  z-index: 2;
}
.cta-copy .chap-label {
  margin-bottom: 10px;
  letter-spacing: 0.08em;
}
.cta-copy h2 {
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  color: #2b2620;
  line-height: 1.4;
}
.cta-copy p {
  font-size: 14px;
  color: #6d665e;
  line-height: 2;
  font-weight: 300;
  margin-bottom: 18px;
  width: 80%;
}
.cta-copy .btn-primary.small {
  display: block;
  width: fit-content;
}
.social-row {
  display: flex;
  gap: 15px;
  justify-content: right;
  margin-bottom: 20px;
}
.social-row a {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6d665e;
  transition: 0.2s;
  background: transparent;
}
.social-row a:hover {
  transform: scale(1.3);
}
.cta-media {
  flex: 0 0 auto;
  display: flex;
  order: 2;
  position: absolute;
  bottom: -130px;
  left: 0;
  width: 520px;
  height: 100%;
  justify-content: flex-start;
  align-items: flex-end;
  pointer-events: none;
  z-index: 0;
}
.cta-media img {
  width: 100%;
  max-width: 460px;
  height: auto;
  opacity: 1;
  display: block;
  object-fit: cover;
  object-position: bottom;
}

/* =========================================
   13 - Image Strip
   ========================================= */
.strip {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1px;
  background: #e6dcc6;
}
.strip img {
  width: 100%;
  height: 124px;
  object-fit: cover;
  display: block;
}
.strip a {
  display: block;
  overflow: hidden;
}
.strip a img {
  width: 100%;
  height: 124px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s;
}
.strip a:hover img {
  transform: scale(1.05);
}

/* =========================================
   14 - Footer
   ========================================= */
.site-footer {
  background: #2a2420;
  color: #ede6d6;
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: 28px;
  padding-bottom: 32px;
  text-align: right;
}
.f-brand img {
  margin-bottom: 12px;
}
.f-brand p {
  font-size: 13px;
  color: #f8f3e9a6;
  line-height: 1.9;
}
.f-col h4 {
  font-size: 16px;
  font-weight: 500;
  color: #ede6d6;
  margin-bottom: 14px;
}
.f-col a {
  font-size: 14px;
  color: rgba(237, 230, 214, 0.62);
  display: block;
  margin-bottom: 9px;
  transition: 0.2s;
}
.f-col a:hover {
  color: #c19a6b;
}
.f-col .addr {
  font-size: 14px;
  color: rgba(237, 230, 214, 0.62);
  line-height: 1.9;
  margin-top: 6px;
}
.footer-bottom {
  border-top: 1px solid rgba(237, 230, 214, 0.1);
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(237, 230, 214, 0.35);
  letter-spacing: 0.02em;
  direction: ltr;
}

/* =========================================
   15 - Motion System
   ========================================= */
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(31, 28, 25, 0.06);
}
.chapter {
  opacity: 1;
  transform: none;
}
.chapter.visible,
.chapter.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.chapter + .chapter {
  border-top: 1px solid rgba(0, 0, 0, 0.02);
}
.parallax-wrap {
  overflow: hidden;
  position: relative;
  background: #e8e0cf;
}
.parallax-wrap .parallax-img {
  display: block;
  width: 100%;
  height: 122%;
  min-height: 122%;
  object-fit: cover;
  object-position: center center;
  will-change: transform;
  transform: scale(1.18) translateY(var(--parallax-y, 0px));
  transform-origin: center center;
  transition: transform 0.08s linear;
}
.hero-media.parallax-wrap .parallax-img {
  height: 118%;
  min-height: 118%;
}
.no-js .parallax-img {
  transform: scale(1.05);
}

/* =========================================
   16 - Chapter Detail
   ========================================= */
.hero-breadcrumb {
  position: relative;
  top: 28px;
  right: 48px;
  right: auto;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  flex-wrap: wrap;
}
.hero-breadcrumb a {
  color: #2b2620;
  transition: color 0.2s;
}
.hero-breadcrumb a:hover {
  color: #fff;
}
.hero-breadcrumb .bc-sep {
  color: #2b2620;
  font-size: 10px;
}
.hero-breadcrumb .bc-current {
  color: #2b2620;
  font-weight: 500;
}
.chapter-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--cream);
  min-height: 560px;
}
.chapter-hero-media {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  overflow: hidden;
  background: #e8e0cf;
}
.chapter-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.chapter-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: center;
  padding: 0;
  gap: 15px;
  right: 0;
  width: 40%;
  max-width: 480px;
  margin-top: 60px;
}
.chapter-hero-copy h1 {
  font-size: 54px;
  font-weight: 500;
  color: #2b2620;
  line-height: 1.25;
  margin-bottom: 10px;
}
.chapter-hero-age {
  color: #2b2620;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.chapter-hero-age::after {
  content: "";
  display: block;
  position: relative;
  width: 60%;
  height: 2px;
  background-color: #9f7240;
  margin-top: 20px;
}
.chapter-hero-desc {
  color: #2b2620;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  margin-bottom: 26px;
  text-align: right;
}
.chapter-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 30px 0 0 0;
}
.chapter-scroll-hint span {
  font-size: 14px;
  color: #6e6557;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.gallery-section {
  background: var(--cream);
  padding: 18px 0;
}
.gallery-cols {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.g-col {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: #ede3cf;
}
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img {
  transform: scale(1.04);
}
.ga-45 {
  aspect-ratio: 4 / 5;
}
.ga-34 {
  aspect-ratio: 3 / 4;
}
.ga-11 {
  aspect-ratio: 1 / 1;
}
.ga-43 {
  aspect-ratio: 4 / 3;
}
.ga-32 {
  aspect-ratio: 3 / 2;
}
.quote-block {
  background: var(--beige);
  padding: 55px 20px;
  margin: 30px 0;
  text-align: center;
}
.quote-inner {
  position: relative;
  max-width: 170px;
  margin: 0 auto;
}
.leaf-decor-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  width: 140px;
  opacity: 0.55;
  pointer-events: none;
}
.quote-text {
  position: relative;
  z-index: 1;
  font-size: 23px;
  font-weight: 400;
  color: #5b554f;
  line-height: 1.9;
  text-align: right;
}
.quote-text::before{
  content: "“";
  display: block;
  position: relative;
  color: #BC8A56;
  right: 0;
  left: auto;
  height: 15px;
}
.quote-text::after{
    content: "";
    display: block;
    position: relative;
    width: 40%;
    height: 2px;
    background-color: #9f7240;
    margin-top: 20px;
}
.info-cards-section {
  background: var(--cream);
  padding: 56px 0 64px;
}
.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.info-card {
  background: #f6eedc;
  padding: 34px 26px 30px;
  border-radius: 2px;
  text-align: right;
}
.info-card-icon {
  margin-bottom: 18px;
  display: flex;
  justify-content: flex-start;
}
.info-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: #3A332C;
  margin-bottom: 6px;
}
.info-card-value {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--brown-title);
  margin-bottom: 12px;
}
.info-card p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 2;
  font-weight: 300;
}
.faq-section {
  background: var(--cream);
  padding: 24px 0 96px;
}
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2.1fr;
  gap: 24px 72px;
  align-items: start;
}
.faq-heading {
  font-size: 30px;
  font-weight: 600;
  color: #2b2620;
  letter-spacing: -0.01em;
  line-height: 1.4;
  text-align: right;
}
.faq-list {
  max-width: none;
  margin: 0;
}
.faq-item {
  border-bottom: 1px solid #e9ddc5;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: right;
  transition: color 0.2s;
}
.faq-question span:first-child {
  font-size: 14px;
  font-weight: 500;
  color: #2b2620;
}
.faq-question:hover span:first-child {
  color: var(--brown);
}
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #8f8574;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}
.faq-icon::before {
  width: 14px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 1.5px;
  height: 14px;
  transform: translate(-50%, -50%);
}
.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.active .faq-answer {
  max-height: 240px;
  padding-bottom: 20px;
}
.faq-answer p {
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 2;
  font-weight: 300;
}
.cta-beige {
  background: var(--beige);
}

/* =========================================
   17b - Gallery Lightbox Trigger
   ========================================= */
.gallery-item {
  cursor: zoom-in;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(42, 36, 32, 0);
  transition: background 0.3s;
  pointer-events: none;
  z-index: 1;
}
.gallery-item:hover::after {
  background: rgba(42, 36, 32, 0.08);
}
.gallery-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%) scale(0.85);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 2;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232B2620' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M11 8v6M8 11h6'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}
.gallery-item:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* =========================================
   17c - Lightbox (fslightbox style)
   ========================================= */
.glightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s var(--ease-smooth), visibility 0.32s;
}
.glightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.glightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 10, 0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.glightbox-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 72px 76px;
  box-sizing: border-box;
}
.glightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1100px;
  height: 100%;
  max-height: 78vh;
  flex: 1;
}
.glightbox-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.glightbox-img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 3px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.38s var(--ease-smooth), transform 0.38s var(--ease-out-expo);
  user-select: none;
  -webkit-user-drag: none;
}
.glightbox.is-open .glightbox-img.is-loaded {
  opacity: 1;
  transform: scale(1);
}
.glightbox-img.slide-out {
  opacity: 0;
  transform: translateX(-30px);
}
.glightbox-img.slide-in {
  opacity: 0;
  transform: translateX(30px);
}
.glightbox-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-top-color: #fff;
  border-radius: 50%;
  animation: glightboxSpin 0.7s linear infinite;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
}
.glightbox-loader.is-visible {
  opacity: 1;
  visibility: visible;
}
@keyframes glightboxSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.glightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  backdrop-filter: blur(8px);
}
.glightbox-close:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
  transform: scale(1.06);
}
.glightbox-close:active {
  transform: scale(0.96);
}
.glightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background 0.22s, transform 0.22s, opacity 0.22s, border-color 0.22s;
  backdrop-filter: blur(8px);
}
.glightbox-nav:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.06);
}
.glightbox-nav:active {
  transform: translateY(-50%) scale(0.96);
}
.glightbox-nav:disabled {
  opacity: 0.28;
  pointer-events: none;
}
.glightbox-prev {
  left: 18px;
  right: auto;
}
.glightbox-next {
  right: 18px;
  left: auto;
}
/* RTL: mirror navigation so right=prev, left=next (like fslightbox RTL) */
html[dir="rtl"] .glightbox-prev {
  left: auto;
  right: 18px;
}
html[dir="rtl"] .glightbox-next {
  right: auto;
  left: 18px;
}
html[dir="rtl"] .glightbox-prev svg,
html[dir="rtl"] .glightbox-next svg {
  transform: scaleX(-1);
}
.glightbox-footer {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 720px;
  padding: 14px 20px 18px;
  box-sizing: border-box;
  pointer-events: none;
}
.glightbox-caption {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  max-width: 560px;
  min-height: 20px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.glightbox-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: auto;
}
.glightbox-counter {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  direction: ltr;
  min-width: 62px;
  text-align: center;
}
.glightbox-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.glightbox-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  color: #fff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.glightbox-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.24);
}
.glightbox-btn.is-active {
  background: #c19a6b;
  border-color: #c19a6b;
  color: #fff;
}
.glightbox-thumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0;
  pointer-events: auto;
}
.glightbox-thumbs::-webkit-scrollbar {
  display: none;
}
.glightbox-thumb {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 3px;
  overflow: hidden;
  border: 1.5px solid transparent;
  opacity: 0.56;
  cursor: pointer;
  transition: opacity 0.22s, border-color 0.22s, transform 0.22s;
  background: #1a1a1a;
  padding: 0;
}
.glightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.glightbox-thumb:hover {
  opacity: 0.9;
}
.glightbox-thumb.is-active {
  opacity: 1;
  border-color: #c19a6b;
  transform: scale(1.04);
}
/* Autoplay fullscreen mode: hide navigation and thumbs */
.glightbox.is-autoplay .glightbox-nav,
.glightbox.is-autoplay .glightbox-thumbs,
.glightbox.is-autoplay .glightbox-counter,
.glightbox.is-autoplay .glightbox-caption {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-smooth), visibility 0.3s;
}
.glightbox.is-autoplay .glightbox-nav {
  transform: translateY(-50%) scale(0.92);
}
.glightbox.is-autoplay .glightbox-thumbs {
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.glightbox.is-autoplay .glightbox-footer {
  background: transparent;
  pointer-events: auto;
}
.glightbox.is-autoplay .glightbox-meta {
  justify-content: center;
}
.glightbox.is-autoplay .glightbox-inner {
  padding: 0;
}
.glightbox.is-autoplay .glightbox-stage {
  max-height: 100vh;
}
.glightbox.is-autoplay .glightbox-img {
  max-height: 100vh;
  max-width: 100vw;
}
/* Fullscreen API */
.glightbox:fullscreen {
  background: rgba(15, 12, 10, 0.98);
  width: 100vw;
  height: 100vh;
}
.glightbox:-webkit-full-screen {
  background: rgba(15, 12, 10, 0.98);
  width: 100vw;
  height: 100vh;
}
.glightbox:fullscreen .glightbox-inner {
  padding: 0;
  max-width: 100vw;
  max-height: 100vh;
}
.glightbox:fullscreen .glightbox-stage {
  max-height: 100vh;
  max-width: 100vw;
}
.glightbox:fullscreen .glightbox-img {
  max-height: 100vh;
  max-width: 100vw;
  box-shadow: none;
  border-radius: 0;
}

/* =========================================
   17a - Video Lightbox (about.html BTS)
   ========================================= */
.bts-media {
  cursor: pointer;
}
.vlightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s var(--ease-smooth), visibility 0.32s;
}
.vlightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.vlightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 9, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.vlightbox-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px 32px;
  box-sizing: border-box;
}
.vlightbox-stage {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.38s var(--ease-out-expo), opacity 0.32s var(--ease-smooth);
}
.vlightbox.is-open .vlightbox-stage {
  transform: scale(1);
  opacity: 1;
}
.vlightbox-stage iframe,
.vlightbox-stage video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}
.vlightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  backdrop-filter: blur(8px);
}
.vlightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
  transform: scale(1.06);
}
.vlightbox-close:active {
  transform: scale(0.96);
}
@media (max-width: 767px) {
  .vlightbox {
    padding: 16px;
  }
  .vlightbox-inner {
    padding: 48px 12px 24px;
  }
  .vlightbox-stage {
    max-width: 100%;
  }
  .vlightbox-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }
}

/* =========================================
   17 - About Page
   ========================================= */
.about-hero {
  background: #fffcf7;
  border-bottom: 1px solid #f0e6d3;
}
.about-hero-grid {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  max-height: 715px;
}
.about-hero-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: right;
  padding: 35px 15%;
  background: #fffcf7;
  order: 1;
  gap: 20px;
}
.about-hero-copy h1 {
  font-size: 52px;
  font-weight: 600;
  color: #2B2620;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.about-hero-sub {
  font-size: 16px;
  font-weight: 500;
  color: #3f3a34;
  margin-bottom: 5px;
}
.about-hero-line {
  display: block;
  width: 50px;
  height: 2px;
  background: #9F7240;
  margin-bottom: 24px;
}
.about-hero-copy p {
  font-size: 16px;
  color: #6E6557;
  line-height: 2.15;
  font-weight: 300;
  max-width: 430px;
}
.about-hero-media {
  flex: 0 0 50%;
  max-width: 50%;
  height: auto;
  min-height: 540px;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #e8e0cf;
  order: 2;
}
.about-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.about-values {
  background: #fffbf5;
  border-bottom: 1px solid #efe4ce;
  padding: 62px 0;
}
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1150px;
  margin: 0 auto;
}
.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.value-icon {
  display: flex;
  color: #b8935f;
  margin-bottom: 18px;
}
.value-item h3 {
  font-size: 19px;
  font-weight: 700;
  color: #2b2620;
  margin-bottom: 8px;
}
.value-item p {
  font-size: 13.5px;
  color: #6e6557;
  font-weight: 300;
  line-height: 2;
}
.bts {
  background: #f5ebd8;
  padding: 64px 0;
}
.bts-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 56px;
}
.bts-media {
  order: 2;
  flex: 1 1 58%;
  max-width: 58%;
  height: 350px;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #e0d4bc;
  margin: 0;
}
.bts-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bts-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  pointer-events: none;
  z-index: 0;
}
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s, background 0.25s;
  z-index: 1;
}
.video-play:hover {
  transform: translate(-50%, -50%) scale(1.07);
}
.video-play svg {
  transform: translateX(3px);
}
.bts-copy {
  order: 1;
  flex: 1 1 42%;
  max-width: 42%;
  text-align: right;
  padding: 0;
}
.bts-copy h2 {
  font-size: 34px;
  font-weight: 700;
  color: #2b2620;
  line-height: 1.5;
  margin-bottom: 22px;
}
.bts-line {
  display: block;
  width: 40px;
  height: 2px;
  background: #b8935f;
  margin: 0 0 20px;
}
.bts-copy p {
  font-size: 14px;
  color: #6e6557;
  font-weight: 300;
}

/* =========================================
   18 - 404 Not Found
   ========================================= */
.notfound {
  display: flex;
  flex-direction: row;
  min-height: 560px;
  max-height: 720px;
  overflow: hidden;
  background: var(--cream);
  border-bottom: 1px solid #f0e6d3;
}
.notfound-media {
  flex: 0 0 52%;
  max-width: 52%;
  position: relative;
  overflow: hidden;
  background: #ede6da;
  min-height: 560px;
}
.notfound-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.notfound-copy {
  flex: 1;
  background: #fffcf7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  text-align: center;
}
.notfound-inner {
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.notfound-title {
  font-size: 58px;
  font-weight: 800;
  color: #2b2620;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.notfound-subtitle {
  font-size: 15px;
  font-weight: 500;
  color: #2b2620;
  line-height: 1.8;
}
.notfound-line {
  display: block;
  width: 42px;
  height: 2px;
  background: #b8935f;
  margin: 18px auto 18px;
}
.notfound-desc {
  font-size: 14px;
  font-weight: 400;
  color: #6e6557;
  line-height: 1.9;
  margin-bottom: 28px;
}
.notfound-btn {
  min-width: 164px;
  text-align: center;
  padding: 13px 28px;
  font-size: 13.5px;
}

/* =========================================
   18 - Motion - Reveal & Fade (prefers)
   ========================================= */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  [data-reveal] {
    opacity: 0;
    transform: translateY(44px) scale(0.985);
    filter: blur(6px);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: opacity 1.15s var(--ease-smooth), transform 1.15s var(--ease-out-expo), filter 0.9s var(--ease-smooth);
    transition-delay: var(--reveal-delay, 0s);
  }
  [data-reveal].is-visible,
  [data-reveal].visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  .chapter[data-reveal] {
    transition-duration: 1.25s;
    transition-timing-function: var(--ease-out-expo);
  }
  .chapter[data-reveal].is-visible {
    transition-delay: var(--reveal-delay, 0s);
  }
  .chapter-media.parallax-wrap .parallax-img {
    height: 130%;
    min-height: 130%;
  }
  [data-fade] {
    opacity: 0;
    transform: translateY(26px);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: opacity 0.85s var(--ease-smooth), transform 0.85s var(--ease-out-expo);
    transition-delay: var(--fade-delay, 0s);
  }
  [data-reveal].is-visible [data-fade],
  .js-reveal.is-visible [data-fade],
  [data-fade].is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  [data-fade-group] [data-fade]:nth-child(1) {
    --fade-delay: 0.08s;
  }
  [data-fade-group] [data-fade]:nth-child(2) {
    --fade-delay: 0.18s;
  }
  [data-fade-group] [data-fade]:nth-child(3) {
    --fade-delay: 0.28s;
  }
  [data-fade-group] [data-fade]:nth-child(4) {
    --fade-delay: 0.38s;
  }
  [data-fade-group] [data-fade]:nth-child(5) {
    --fade-delay: 0.48s;
  }
  [data-fade-group] [data-fade]:nth-child(6) {
    --fade-delay: 0.58s;
  }
  .occasions-grid [data-fade]:nth-child(1) {
    --fade-delay: 0.06s;
  }
  .occasions-grid [data-fade]:nth-child(2) {
    --fade-delay: 0.14s;
  }
  .occasions-grid [data-fade]:nth-child(3) {
    --fade-delay: 0.22s;
  }
  .occasions-grid [data-fade]:nth-child(4) {
    --fade-delay: 0.3s;
  }
  .occasions-grid [data-fade]:nth-child(5) {
    --fade-delay: 0.38s;
  }
  .hero[data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .hero[data-reveal] [data-fade] {
    opacity: 1;
    transform: none;
  }
  html.js .hero[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px);
  }
  html.js .hero[data-reveal].is-visible {
    opacity: 1;
    transform: none;
    filter: none;
  }
  html.js .hero[data-reveal].is-visible [data-fade] {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-fade],
  .parallax-img {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .parallax-wrap .parallax-img {
    height: 100% !important;
    min-height: 100% !important;
  }
}

/* =========================================
   19 - RESPONSIVE - All max-width (Desktop First)
   - Order Descending so smaller overrides larger
   ========================================= */

/* ----- 1535px ----- */
@media (max-width: 1535px) {
  .chapter {
    height: 440px;
    min-height: 440px;
  }
  .leaf-decor {
    width: 130px;
  }
}

/* ----- 1279px ----- */
@media (max-width: 1279px) {
  .header-inner {
    padding: 10px 48px;
  }
  .main-nav {
    gap: 24px;
  }
  .hero-copy {
    right: 6%;
    width: 42%;
    max-width: 520px;
    padding: 10px 40px 90px 20px;
  }
  .chapter {
    height: 420px;
    min-height: 420px;
  }
  .chapter-text {
    flex: 0 0 38%;
    max-width: 38%;
    padding: 48px 36px;
  }
  .chapter-media {
    flex: 0 0 62%;
    max-width: 62%;
  }
  .leaf-decor {
    width: 110px;
    left: 14px;
  }
  .chapter-inner h2 {
    font-size: 30px;
  }
  .chapter-inner p {
    font-size: 13.5px;
  }
  .strip img {
    height: 110px;
  }
  .cta-media {
    width: 420px;
  }
  .cta-media img {
    max-width: 420px;
    width: 420px;
  }
  .cta-copy {
    flex: 0 0 46%;
    max-width: 460px;
  }
  .chapter-hero-copy h1 {
    font-size: 48px;
  }
  .about-hero-media {
    flex: 0 0 52%;
    max-width: 52%;
  }
  .bts-media {
    height: 430px;
  }
}

/* ----- 1023px (Tablet & Mobile) ----- */
@media (max-width: 1023px) {
  /* Header */
  .header-inner {
    padding: 14px 24px;
    min-height: auto;
  }
  .logo img {
    height: 28px;
  }
  .main-nav {
    display: none;
  }
  .btn-outline {
    display: none;
  }
  .hamburger {
    display: flex !important;
  }
  .mobile-drawer,
  .mobile-overlay {
    display: flex;
    visibility: hidden;
  }
  .mobile-overlay {
    display: block;
  }
  /* Hero */
  .hero-grid {
    display: flex;
    flex-direction: column;
    min-height: auto;
    max-height: none;
  }
  .hero-media {
    position: relative;
    width: 100%;
    height: 480px;
    flex-shrink: 0;
  }
  .hero-media img {
    position: static;
    inset: auto;
    object-position: center 28%;
  }
  .hero-copy {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    min-height: auto;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 28px 22px 36px;
    background: #fffbf5;
  }
  .eyebrow {
    font-size: 14px;
    margin-bottom: 15px;
  }
  .hero-title {
    font-size: 38px;
    line-height: 1.3;
    margin-bottom: 14px;
    letter-spacing: 0;
  }
  .hero-desc {
    font-size: 14px;
    margin-bottom: 24px;
    color: #7a746e;
  }
  .scroll-hint {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    transform: none;
    margin-top: 36px;
    width: 100%;
  }
  .scroll-line {
    height: 64px;
  }
  .hero-num {
    display: none;
  }
  .chapter-hero-copy h1 {
    font-size: 36px;
  }
  /* Chapters */
  .chapter {
    flex-direction: column;
    height: auto;
    min-height: auto;
  }
  .chapter.reverse {
    flex-direction: column;
  }
  .chapter .chapter-media {
    order: 1;
  }
  .chapter .chapter-text {
    order: 2;
  }
  .chapter-text {
    flex: 1;
    max-width: none;
    padding: 48px 24px;
    height: auto;
  }
  .chapter-inner {
    text-align: center;
    max-width: 420px;
  }
  .chapter-text .chapter-inner {
    text-align: center;
  }
  .chap-label {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .chapter-inner h2 {
    font-size: 28px;
  }
  .chap-sub {
    font-size: 13px;
  }
  .chapter-inner p {
    font-size: 13px;
  }
  .chapter-media {
    flex: 1;
    max-width: none;
    height: 340px;
    min-height: 340px;
  }
  .leaf-decor {
    display: none;
  }
  .chapter-media.parallax-wrap .parallax-img {
    height: 122%;
    min-height: 122%;
  }
  /* Occasions */
  .occasions {
    padding: 48px 0 44px;
  }
  .section-heading {
    font-size: 20px;
    margin-bottom: 28px;
  }
  .occasions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 14px;
  }
  /* About Home */
  .about {
    padding: 56px 0 48px;
  }
  .about-inner {
    flex-direction: column;
    gap: 28px;
  }
  .about-copy {
    order: 1;
    text-align: center;
    max-width: 380px;
  }
  .about-copy h2 {
    font-size: 26px;
    margin-bottom: 12px;
  }
  .about-copy p {
    font-size: 13px;
  }
  .about-photo {
    flex: 0 0 240px;
    width: 240px;
  }
  .about-stats {
    flex-direction: row;
    gap: 28px;
    width: 100%;
    min-width: auto;
    padding-right: 0;
    align-items: center;
  }
  .stat {
    align-items: center;
    gap: 4px;
  }
  .num {
    font-size: 20px;
  }
  /* Testimonials */
  .testimonials {
    padding: 48px 0 36px;
  }
  .testimonials-head .section-heading {
    font-size: 22px;
    text-align: center;
  }
  .testimonials-head .chap-label {
    text-align: center;
  }
  .testimonials-head {
    text-align: center;
  }
  .testimonials-swiper {
    margin-top: 28px;
  }
  .t-card {
    min-height: 180px;
    padding: 28px 22px 20px;
  }
  .t-card::before {
    font-size: 28px;
    margin-bottom: 10px;
  }
  .t-card p {
    font-size: 12px;
  }
  /* CTA */
  .cta {
    padding: 56px 0 40px;
  }
  .cta-inner {
    flex-direction: column;
    gap: 4px;
    min-height: auto;
    padding-bottom: 0;
    position: relative;
  }
  .cta-copy {
    flex: 1;
    max-width: 520px;
    text-align: center;
    margin-bottom: 8px;
  }
  .cta-copy h2 {
    font-size: 22px;
    margin-bottom: 12px;
  }
  .cta-copy p {
    font-size: 12px;
    margin-bottom: 16px;
    width: 100%;
  }
  .cta-copy .btn-primary.small {
    display: inline-block;
    width: auto;
  }
  .cta-media {
    position: relative;
    bottom: auto;
    left: auto;
    order: 2;
    justify-content: center;
    align-items: center;
    margin-top: 14px;
    width: 100%;
    height: auto;
  }
  .cta-media img {
    max-width: 220px;
    width: 100%;
  }
  .faq-item.active .faq-answer {
    max-height: 420px;
  }
  /* Strip */
  .strip {
    grid-template-columns: repeat(4, 1fr);
  }
  .strip img {
    height: 88px;
  }
  /* Footer */
  .site-footer {
    padding: 48px 0 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .f-brand p {
    font-size: 11px;
    color: rgba(237, 230, 214, 0.55);
  }
  /* Chapter Detail */
  .hero-breadcrumb {
    top: 20px;
    right: 24px;
    left: auto;
    font-size: 11px;
    gap: 8px;
  }
  .chapter-hero {
    min-height: auto;
  }
  .chapter-hero-media {
    position: relative;
    width: 100%;
    height: 480px;
  }
  .chapter-hero-copy {
    width: 100%;
    max-width: none;
    right: auto;
    padding: 40px 24px 44px;
    margin-top: 0;
    text-align: center;
    align-items: center;
  }
  .chapter-hero-age {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .chapter-hero-desc {
    font-size: 16px;
    margin-bottom: 22px;
    text-align: center;
  }
  .gallery-section {
    padding: 14px 0;
  }
  .gallery-cols {
    flex-direction: column;
    gap: 10px;
  }
  .g-col {
    gap: 10px;
  }
  .quote-block {
    padding: 56px 24px;
    margin: 26px 0;
  }
  .leaf-decor-center {
    width: 110px;
  }
  .quote-text {
    font-size: 17px;
  }
  .info-cards-section {
    padding: 40px 0 48px;
  }
  .info-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .info-card {
    text-align: center;
  }
  .faq-section {
    padding: 16px 0 72px;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .faq-heading {
    font-size: 22px;
    text-align: center;
  }
  .faq-list {
    max-width: 800px;
    margin: 0 auto;
  }
  /* About Page */
  .about-hero-grid {
    flex-direction: column;
    min-height: auto;
  }
  .about-hero-copy {
    align-items: center;
    text-align: center;
    padding: 46px 24px 40px;
  }
  .about-hero-copy h1 {
    font-size: 30px;
    margin-bottom: 10px;
  }
  .about-hero-sub {
    font-size: 14px;
    margin-bottom: 16px;
  }
  .about-hero-copy p {
    font-size: 13px;
    max-width: 460px;
  }
  .about-hero-media {
    flex: none;
    max-width: none;
    width: 100%;
    height: 480px;
    min-height: auto;
  }
  .about-values {
    padding: 48px 0;
  }
  .about-values-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .value-item h3 {
    font-size: 17px;
  }
  .value-item p {
    font-size: 13px;
  }
  .bts {
    padding: 0;
  }
  .bts-inner {
    flex-direction: column;
    gap: 0;
  }
  .bts-media {
    order: 1;
    flex: none;
    max-width: none;
    width: calc(100% + 30px);
    margin: 0 -15px;
    height: 430px;
  }
  .bts-copy {
    order: 2;
    flex: none;
    max-width: none;
    text-align: center;
    padding: 38px 24px 46px;
  }
  .bts-copy h2 {
    font-size: 24px;
    margin-bottom: 18px;
  }
  .bts-line {
    margin: 0 auto 18px;
  }
  .bts-copy p {
    font-size: 13px;
  }
  .video-play {
    width: 64px;
    height: 64px;
  }
  /* Helpers for mobile ordering */
  .about-copy {
    order: 1;
  }
  .about-photo {
    order: 2;
  }
  .about-stats {
    order: 3;
  }
  /* 404 Ã¢â‚¬â€ Ã˜Â¬Ã˜Â§Ã˜Â¨Ã˜Â¬Ã˜Â§ Ã˜Â´Ã˜Â¯Ã™â€¡: Ã˜Â¯Ã˜Â± Ã™â€¦Ã™Ë†Ã˜Â¨Ã˜Â§Ã›Å’Ã™â€ž Ã˜ÂªÃ˜ÂµÃ™Ë†Ã›Å’Ã˜Â± Ã˜Â¨Ã˜Â§Ã™â€žÃ˜Â§Ã˜Å’ Ã™â€ Ã™Ë†Ã˜Â´Ã˜ÂªÃ™â€¡ Ã™Â¾Ã˜Â§Ã›Å’Ã›Å’Ã™â€  */
  .notfound {
    flex-direction: column-reverse;
    min-height: auto;
    max-height: none;
  }
  .notfound-copy {
    order: 2;
    padding: 42px 24px 40px;
    min-height: auto;
  }
  .notfound-title {
    font-size: 44px;
    margin-bottom: 10px;
  }
  .notfound-subtitle {
    font-size: 14px;
  }
  .notfound-line {
    margin: 16px auto 16px;
  }
  .notfound-desc {
    font-size: 13px;
    margin-bottom: 24px;
  }
  .notfound-media {
    order: 1;
    flex: none;
    max-width: none;
    width: 100%;
    height: 380px;
    min-height: 380px;
  }
}

/* ----- 767px ----- */
@media (max-width: 767px) {
  .hero-title {
    font-size: 32px;
  }
  .chapter-inner h2 {
    font-size: 26px;
  }
  .chapter-hero-copy h1 {
    font-size: 30px;
  }
  .chapter-hero-media {
    height: 360px;
  }
  .hero-media {
    height: 380px;
  }
  .about-hero-media {
    height: 430px;
  }
  .bts-media {
    height: 360px;
  }
  .strip {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-grid {
    text-align: center;
  }
  .test-grid {
    grid-template-columns: 1fr;
  }
  .quote-text {
    font-size: 21px;
  }
  .chapter-hero-copy {
    padding: 44px 0 48px;
  }
  .info-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ----- 639px ----- */
@media (max-width: 768px) {
  .occasions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .occasions-grid .occ-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: 50%;
    justify-self: center;
  }
  .chapter-media {
    height: 300px;
    min-height: 300px;
  }
  .about-hero-media {
    height: 400px;
  }
  .bts-media {
    height: 360px;
  }
  .gallery-cols {
    flex-direction: column;
  }
  .cta-media{
    position: absolute;
    left: -129px;
    bottom: -50px;
    width: 100%;
  }
  .social-row{
    justify-content: center;
  }
}

/* =========================================
   19 - Contact Page (Ã˜ÂªÃ™â€¦Ã˜Â§Ã˜Â³ Ã˜Â¨Ã˜Â§ Ã™â€¦Ã˜Â§ - Ã˜Â¨Ã˜Â¯Ã™Ë†Ã™â€  Ã˜ÂªÃ˜Â¨)
   ========================================= */
.contact-section {
  background: #FDFBF7;
  background: var(--cream);
  padding: 72px 0 90px;
  min-height: 560px;
  overflow-x: clip;
}
.contact-layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 72px;
  max-width: 1150px;
  min-width: 0;
  margin: 0 auto;
}
/* Right column - info */
.contact-info {
  flex: 0 0 340px;
  max-width: 380px;
  min-width: 0;
  text-align: right;
  padding-top: 8px;
  overflow-wrap: anywhere;
}
.contact-title {
  font-size: 48px;
  font-weight: 800;
  color: #2B2620;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.contact-subtitle {
  font-size: 14px;
  font-weight: 400;
  color: #6E6557;
  color: var(--text-soft);
  line-height: 1.9;
  margin-bottom: 18px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.contact-line {
  display: block;
  width: 42px;
  height: 2px;
  background: #B8935F;
  background: var(--brown);
  margin-bottom: 28px;
  margin-left: auto;
  margin-right: 0;
}
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  font-size: 14px;
  font-weight: 400;
  color: #6E6557;
  line-height: 1.6;
  text-align: right;
  min-width: 0;
  max-width: 100%;
}
.contact-item a {
  color: #6E6557;
  transition: color 0.2s;
  unicode-bidi: plaintext;
  letter-spacing: 0.01em;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.contact-item a:hover {
  color: var(--brown-dark);
}
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #6E6557;
}
.contact-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: #6E6557;
}
/* Left column - form */
.contact-form-wrap {
  flex: 1 1 560px;
  max-width: 780px;
  min-width: 0;
  background: transparent;
  padding-top: 42px;
}
.contact-hint {
  font-size: 14px;
  font-weight: 300;
  color: #6E6557;
  line-height: 2;
  text-align: right;
  margin-bottom: 22px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form input {
  width: 100%;
  height: 48px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: #2B2620;
  background: #FFFFFF;
  border: 1px solid #D8D0BE;
  border: 1px solid #E6DDC5;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-align: right;
  direction: rtl;
  appearance: none;
}
.contact-form input::placeholder {
  color: #A99F8E;
  font-weight: 300;
}
.contact-form input:focus {
  border-color: #C19A6B;
  box-shadow: 0 0 0 3px rgba(193,154,107,0.15);
}
.contact-form input.input-error {
  border-color: #E74C3C;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.10);
}
.contact-form input#phone {
  text-align: right;
  direction: ltr;
  unicode-bidi: plaintext;
}
.contact-form input#phone::placeholder {
  text-align: right;
  direction: rtl;
}
.field-error {
  font-size: 12px;
  color: #E74C3C;
  min-height: 14px;
  text-align: right;
  line-height: 1.6;
  display: block;
}
.btn-contact-submit {
  align-self: flex-start;
  margin-top: 6px;
  background: #BC8A56;
  background: var(--brown-muted);
  color: #fff;
  border: none;
  padding: 13px 28px;
  min-width: 154px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s, transform 0.15s, opacity 0.2s;
  letter-spacing: 0.01em;
  line-height: 1.6;
}
.btn-contact-submit:hover {
  background: #2B2620;
  background: #1F1C19;
}
.btn-contact-submit:active {
  transform: scale(0.98);
}
.btn-contact-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}
/* toast */
.toast-container {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 420px;
  padding: 14px 18px;
  border-radius: 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  transition: opacity 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth);
  pointer-events: auto;
  cursor: pointer;
  direction: rtl;
  text-align: right;
}
.toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.toast-success {
  background: #22C55E;
  background: #2ECC71;
}
.toast-error {
  background: #EF4444;
  background: #E74C3C;
}
.toast-text {
  flex: 1;
}
.toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
.toast-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  margin-left: -4px;
  margin-right: 4px;
  transition: background 0.2s;
}
.toast-close:hover {
  background: rgba(255,255,255,0.35);
}
/* پیام‌های ثابت رندرشده سمت سرور (بدون نیاز به JS برای نمایش) */
.toast-static {
  opacity: 1;
  transform: none;
  margin-bottom: 12px;
  cursor: default;
}
.toast-muted {
  background: #6E6557;
}
/* حالت خالی لیست‌ها */
.empty-state {
  padding: 60px 0;
  text-align: center;
}
.empty-state-text {
  color: var(--text-soft);
  font-size: 15px;
}
/* تله ضداسپم (خارج از دید، قابل دسترس برای ربات‌ها) */
.hp-trap {
  position: absolute;
  left: -5000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* گزینه غیرقابل انتخاب در سلکت سفارشی */
.opt-disabled {
  opacity: .6;
}
/* راهنمای زیر فرم رزرو */
.form-hint {
  font-size: 11px;
  color: #A99F8E;
  text-align: right;
  margin-top: 6px;
}
/* فاصله‌گذار سر مودال تقویم */
.modal-spacer {
  width: 20px;
}
/* shake */
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%,60% { transform: translateX(-5px); }
  40%,80% { transform: translateX(5px); }
}
.contact-form.shake {
  animation: shake 0.35s ease;
}
/* highlight active nav */
.main-nav a.active {
  color: #2B2620;
  font-weight: 600;
}
@media (max-width: 1023px) {
  .contact-section {
    padding: 40px 0 56px;
  }
  .contact-layout {
    flex-direction: column;
    gap: 28px;
  }
  .contact-info {
    flex: none;
    max-width: none;
    width: 100%;
    text-align: right;
    padding-top: 0;
  }
  .contact-title {
    font-size: 28px;
    text-align: right;
  }
  .contact-subtitle {
    text-align: right;
    font-size: 13px;
  }
  .contact-line {
    margin-bottom: 22px;
  }
  .contact-list {
    gap: 14px;
  }
  .contact-item {
    font-size: 13px;
  }
  .contact-form-wrap {
    flex: none;
    max-width: none;
    width: 100%;
    padding-top: 0;
  }
  .contact-hint {
    text-align: right;
    font-size: 13px;
    margin-bottom: 18px;
    line-height: 1.9;
  }
  .btn-contact-submit {
    align-self: stretch;
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px 24px;
  }
  .toast-container {
    top: 14px;
    right: 12px;
    left: 12px;
  }
  .toast {
    min-width: 0;
    max-width: none;
    width: 100%;
  }
}
@media (max-width: 767px) {
  .contact-title {
    font-size: 26px;
  }
}

/* ----- 1023px Lightbox overrides ----- */
@media (max-width: 1023px) {
  .glightbox-inner {
    padding: 52px 18px 84px;
  }
  .glightbox-stage {
    max-height: 72vh;
  }
  .glightbox-img {
    max-height: 66vh;
  }
  .glightbox-nav {
    width: 40px;
    height: 40px;
  }
  .glightbox-prev {
    left: 10px;
  }
  .glightbox-next {
    right: 10px;
  }
  html[dir="rtl"] .glightbox-prev {
    left: auto;
    right: 10px;
  }
  html[dir="rtl"] .glightbox-next {
    right: auto;
    left: 10px;
  }
  .glightbox-thumbs {
    gap: 6px;
  }
  .glightbox-thumb {
    width: 42px;
    height: 42px;
  }
}
@media (max-width: 767px) {
  .glightbox-inner {
    padding: 48px 12px 88px;
  }
  .glightbox-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }
  .glightbox-nav {
    width: 38px;
    height: 38px;
  }
  .glightbox-caption {
    font-size: 12px;
  }
  .glightbox-counter {
    font-size: 11px;
  }
}

/* ----- 479px ----- */
@media (max-width: 479px) {
  .hero-media {
    height: 360px;
  }
  .chapter-media {
    height: 260px;
    min-height: 260px;
  }
  .chapter-hero-media {
    height: 360px;
  }
  .about-hero-media {
    height: 320px;
  }
  .bts-media {
    height: 300px;
  }
  .notfound-media {
    height: 300px;
    min-height: 300px;
  }
  .notfound-title {
    font-size: 38px;
  }
  .container {
    padding: 0 15px;
  }
  .glightbox-inner {
    padding: 44px 10px 96px;
  }
  .glightbox-stage {
    max-height: 62vh;
  }
  .glightbox-img {
    max-height: 56vh;
  }
  .glightbox-footer {
    padding: 10px 12px 12px;
  }
  .glightbox-thumbs {
    gap: 5px;
  }
  .glightbox-thumb {
    width: 38px;
    height: 38px;
  }
}

/* =========================================
   19c - Chapters Page (listing with pagination)
   ========================================= */
.chapters-page .page-header {
  text-align: center;
  padding: 52px 0 36px;
}
.chapters-page .page-header .chap-label {
  text-align: center;
  margin-bottom: 10px;
}
.chapters-page .page-header h1 {
  font-size: 34px;
  font-weight: 600;
  color: #2b2620;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.page-header-desc {
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 300;
  line-height: 1.9;
  max-width: 560px;
  margin: 0 auto;
}
.chapters-pagination {
  background: var(--cream);
  padding: 36px 0 48px;
  border-top: 1px solid #f0e6d3;
}
.pagination-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  direction: rtl;
}
.page-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-number {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: #2b2620;
  background: #fff;
  border: 1px solid #e9ddc5;
  border-radius: 6px;
  transition: all 0.2s;
}
.page-number:hover {
  border-color: #c19a6b;
  color: #c19a6b;
  background: #fffbf5;
}
.page-number.active {
  background: #2b2620;
  color: #fff;
  border-color: #2b2620;
  cursor: default;
}
.page-btn {
  min-width: 72px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 500;
  color: #2b2620;
  background: #fff;
  border: 1px solid #e9ddc5;
  border-radius: 6px;
  transition: all 0.2s;
}
.page-btn:hover {
  background: #f5ead6;
  border-color: #c19a6b;
  color: #2b2620;
}
.page-btn.disabled {
  opacity: 0.38;
  pointer-events: none;
  background: #f9f9f9;
}
.pagination-info {
  text-align: center;
  margin-top: 16px;
  font-size: 12.5px;
  color: #a99f8e;
  font-weight: 300;
}
@media (max-width: 767px) {
  .chapters-page .page-header {
    padding: 36px 0 24px;
  }
  .chapters-page .page-header h1 {
    font-size: 26px;
  }
  .page-header-desc {
    font-size: 13px;
  }
  .page-number,
  .page-btn {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }
  .page-btn {
    min-width: 64px;
  }
}

/* =========================================
   20 - Reservation Tabs & Form (r1/r2/r3)
   ========================================= */
.contact-tabs {
  display: flex;
  flex-direction: row-reverse;
  gap: 0;
  margin-bottom: 18px;
  border: 1px solid #EDE3CF;
  border-radius: 8px;
  overflow: hidden;
  background: #FFFBF5;
  max-width: 100%;
}
.contact-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: #6E6557;
  background: #FFFBF5;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.contact-tab.active {
  background: #F5EAD6;
  color: #2B2620;
}
.contact-tab:hover:not(.active) {
  background: #FFF8EC;
}
.contact-panel {
  display: block;
  animation: fadeInPanel 0.22s ease;
}
.contact-panel[hidden] {
  display: none !important;
}
@keyframes fadeInPanel { from { opacity:0; transform: translateY(6px);} to {opacity:1; transform:none;} }

/* Custom Select r2 */
.custom-select {
  position: relative;
  width: 100%;
}
.custom-select-trigger {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: #2B2620;
  background: #FFFFFF;
  border: 1px solid #E6DDC5;
  border-radius: 4px;
  cursor: pointer;
  text-align: right;
  direction: rtl;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.custom-select-trigger:focus {
  border-color: #C19A6B;
  box-shadow: 0 0 0 3px rgba(193,154,107,0.15);
  outline: none;
}
.custom-select-placeholder {
  color: #A99F8E;
  font-weight: 300;
}
.custom-select.has-value .custom-select-placeholder {
  color: #2B2620;
}
.custom-select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  background: #FFFFFF;
  border: 1px solid #E6DDC5;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(43,38,32,0.12);
  max-height: 260px;
  overflow-y: auto;
  padding: 6px 0;
  list-style: none;
}
.custom-select-options li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 400;
  color: #2B2620;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid #F5EAD6;
}
.custom-select-options li:last-child { border-bottom: none; }
.custom-select-options li:hover,
.custom-select-options li:focus {
  background: #FFFBF5;
  outline: none;
}
.custom-select-options li[aria-selected="true"] {
  background: #F5EAD6;
}
.custom-select-options .opt-price {
  font-size: 12px;
  color: #6E6557;
  white-space: nowrap;
  direction: ltr;
}

/* DateTime trigger r1 */
.datetime-trigger {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: #2B2620;
  background: #FFFFFF;
  border: 1px solid #E6DDC5;
  border-radius: 4px;
  cursor: pointer;
  text-align: right;
  direction: rtl;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.datetime-trigger:hover { border-color: #D8C9A8; }
.datetime-trigger:focus { border-color:#C19A6B; box-shadow:0 0 0 3px rgba(193,154,107,0.15); outline:none;}

/* Textarea already inline */
#r_note { transition: border-color 0.2s, box-shadow 0.2s; }
#r_note:focus { border-color:#C19A6B !important; box-shadow:0 0 0 3px rgba(193,154,107,0.15); outline:none; }

/* Reserve Modal r3 */
.reserve-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.reserve-modal[hidden] { display: none !important; }
.reserve-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.48);
  backdrop-filter: blur(2px);
}
.reserve-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: 92vh;
  overflow-y: auto;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.22);
  padding: 0 18px 18px;
  scrollbar-width: thin;
}
.reserve-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 14px;
  border-bottom: 1px solid #F0E6D3;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}
.modal-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #2B2620;
  flex: 1;
  text-align: center;
}
.modal-close {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
}
.modal-close:hover { background: #F5EAD6; }
.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 4px 8px;
}
.calendar-month {
  font-size: 13.5px;
  font-weight: 600;
  color: #2B2620;
}
.calendar-nav { display:flex; gap:6px; }
.cal-nav-btn {
  width: 28px;
  height: 28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid #EDE3CF;
  border-radius:6px;
  cursor:pointer;
  transition: background 0.2s;
}
.cal-nav-btn:hover { background:#FFFBF5; }
.calendar-weekdays {
  display:grid;
  grid-template-columns: repeat(7,1fr);
  gap: 4px;
  text-align:center;
  font-size:12px;
  font-weight:500;
  color:#A99F8E;
  padding: 6px 0 8px;
}
.calendar-grid {
  display:grid;
  grid-template-columns: repeat(7,1fr);
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F0E6D3;
}
.cal-day {
  height: 34px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12.5px;
  font-weight:400;
  color:#2B2620;
  background:#fff;
  border:1px solid transparent;
  border-radius:6px;
  cursor:pointer;font-family: inherit;
  transition: all 0.18s;
}
.cal-day:hover:not(:disabled):not(.is-selected) { background:#FFFBF5; border-color:#EDE3CF; }
.cal-day.is-today { border-color:#C19A6B; }
.cal-day.is-selected { background:#2563EB; color:#fff; border-color:#2563EB; }
.cal-day.is-other { color:#C9C2B0; }
.cal-day:disabled { opacity:0.32; cursor:not-allowed; background:#f9f9f9; }
.cal-day.is-disabled { opacity:0.35; cursor:not-allowed; }

.time-slots {
  padding: 14px 0 12px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  align-items:start;
}
.time-group {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  min-width:0;
}
/* گروه شب همیشه hidden است؛ چون display:flex روی [hidden] غلبه می‌کند، مثل مودال/پنل با !important مخفی نگهش می‌داریم */
.time-group[hidden] { display: none !important; }
.time-group-label {
  display:block;
  font-size:13px;
  font-weight:600;
  color:#2B2620;
  text-align:center;
  margin-bottom:10px;
}
.time-options {
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:stretch;
}
.time-slot {
  width:100%;
  min-height:48px;
  padding:8px 6px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  font-family:inherit;
  color:#8A8A8A;
  background:#fff;
  border:1.5px solid #CFCFCF;
  border-radius:12px;
  cursor:pointer;
  transition: all 0.18s;
}
.time-slot .ts-time {
  font-size:14px;
  font-weight:500;
  line-height:1.4;
}
.time-slot .ts-dur {
  font-size:10.5px;
  font-weight:400;
  line-height:1.4;
  opacity:0.8;
}
.time-slot .ts-check {
  display:none;
  line-height:1;
  margin-top:1px;
}
.time-slot:hover:not(:disabled):not(.is-selected) { border-color:#2563EB; color:#2563EB; background:#F5F9FF; }
.time-slot.is-selected { background:#2563EB; color:#fff; border-color:#2563EB; }
/*.time-slot.is-selected .ts-check { display:block; }*/
.time-slot:disabled { cursor:not-allowed; background:#fff; border-color:#E8E8E8; color:#D5D5D5; }
.time-slot:disabled .ts-dur { opacity:0.7; }
.time-loading, .time-empty {
  text-align:center;
  font-size:12px;
  color:#A99F8E;
  padding:10px 0;
}

.modal-footer {
  display:flex;
  flex-direction:column;
  gap:12px;
  padding-top:14px;
  border-top:1px solid #F0E6D3;
  position: sticky;
  bottom: 0;
  background:#fff;
}
.modal-summary {
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:12.5px;
  color:#6E6557;
  background:#FFFBF5;
  border:1px solid #F0E6D3;
  border-radius:6px;
  padding:10px 12px;
}
.modal-summary >span{
    direction: ltr;
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
    align-items: center;
}
.modal-summary strong { color:#2B2620; }

@media (max-width:480px){
  .reserve-modal { padding: 12px; }
  .reserve-modal-card { max-width:96vw; padding:0 14px 14px; }
  .calendar-grid { gap:2px; }
  .cal-day { height:40px; font-size:13px; }
  /* فقط دو گروه واقعی (صبح/بعدازظهر) داریم؛ سه ستون در موبایل دکمه‌ها را له می‌کرد */
  .time-slots { grid-template-columns: repeat(2, 1fr); gap:10px; }
  .time-slot { min-height:52px; }
  .modal-summary { flex-wrap: wrap; row-gap:8px; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================
   40 - Auth (OTP login) & Account
   ========================================= */
.auth-wrap {
  display: flex;
  justify-content: center;
}
.auth-card {
  max-width: 480px;
  width: 100%;
}
.link-btn {
  background: none;
  border: none;
  color: var(--brown-muted, #b68a5a);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 4px 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-btn:disabled {
  opacity: 0.45;
  cursor: default;
  text-decoration: none;
}
.phone-locked {
  background: var(--beige-light, #fffbf5);
  border: 1px solid var(--line, #e9ddc5);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 1.05rem;
  letter-spacing: 1px;
  text-align: center;
}
.btn-account {
  margin-inline-start: 8px;
}
.auth-card .contact-title,
.auth-card .contact-hint {
  text-align: center;
}
.auth-card .contact-title {
  font-size: 32px;
}
.account-card .contact-title {
  font-size: 28px;
}
.account-card .contact-form {
  align-items: stretch;
}
.account-card .btn-contact-submit {
  align-self: stretch;
  width: 100%;
  text-align: center;
}
@media (min-width: 900px) {
  .account-card--profile {
    position: sticky;
    top: 96px;
  }
}
.res-count {
  font-size: 0.55em;
  font-weight: 400;
  color: var(--text-soft, #6d665e);
}
.auth-card .contact-form {
  align-items: stretch;
}
.auth-card .btn-contact-submit {
  align-self: stretch;
  width: 100%;
  text-align: center;
  min-height: 52px;
}
.auth-card .form-field input[dir="ltr"] {
  text-align: center;
  letter-spacing: 2px;
  font-size: 1.05rem;
}
.otp-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.otp-btn-row {
  display: flex;
  gap: 10px;
}
.otp-btn-row .otp-btn {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 10px 12px;
  font-size: 14px;
}
.otp-btn-row .otp-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.otp-notice {
  text-align: center;
  margin: 0;
}
.logout-form .btn-logout {
  width: 100%;
}
.otp-count {
  font-size: 0.82rem;
  color: var(--text-soft, #6d665e);
  text-align: center;
  min-height: 1.6em;
}
.field-success {
  color: #2e7d32;
  font-size: 12px;
  min-height: 14px;
  text-align: right;
  line-height: 1.6;
  display: block;
}
a.btn-contact-submit {
  display: inline-block;
  text-align: center;
}
.account-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1024px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .account-layout {
    grid-template-columns: 320px 1fr;
    align-items: start;
  }
}
.account-card .contact-hint {
  margin-bottom: 12px;
}
.logout-form {
  margin-top: 12px;
  text-align: center;
}
.reservation-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0 0 16px;
}
.reservation-item {
  border: 1px solid var(--line, #e9ddc5);
  border-radius: 14px;
  padding: 14px 16px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(31, 28, 25, 0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}
.reservation-item:hover {
  box-shadow: 0 6px 20px rgba(31, 28, 25, 0.09);
}
.reservation-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.reservation-head strong {
  font-size: 1rem;
  font-weight: 700;
}
.reservation-status {
  font-size: 0.8rem;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--beige, #f2e6d3);
  white-space: nowrap;
}
.reservation-item.status-paid .reservation-status {
  background: #dcefe0;
}
.reservation-item.status-expired .reservation-status,
.reservation-item.status-failed .reservation-status,
.reservation-item.status-cancelled .reservation-status {
  background: #f3ddd8;
}
.reservation-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 0.88rem;
  color: var(--text-soft, #6d665e);
}
.reservation-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line, #e9ddc5);
  font-size: 0.8rem;
  color: var(--text-soft, #6d665e);
}
.reservation-list {
  gap: 10px;
}
.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}
.pager-btn,
.pager-num {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line, #e9ddc5);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  padding: 0 14px;
  color: var(--text, #1f1c19);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
a.pager-btn:hover,
a.pager-num:hover {
  border-color: var(--brown-muted, #b68a5a);
  color: var(--brown-dark, #a6855e);
}
.pager-num.is-current {
  background: #2b2620;
  border-color: #2b2620;
  color: #fff;
  font-weight: 700;
}
span.pager-btn[aria-disabled="true"] {
  opacity: 0.4;
}
