/* Layout guardrails: keep full-bleed sections inside the viewport. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 24px;
}

.language-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.language-globe {
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
}

.language-picker select {
  width: 116px;
  margin: 0;
  padding: 0 18px 0 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

.mobile-language-picker {
  display: none;
}

[dir="rtl"] .hero-copy,
[dir="rtl"] .section-heading,
[dir="rtl"] .gift-copy,
[dir="rtl"] .contact-panel-info,
[dir="rtl"] .contact-panel-form {
  text-align: right;
}

[dir="rtl"] .hero-kicker,
[dir="rtl"] .hero-actions,
[dir="rtl"] .hero-meta,
[dir="rtl"] .hotel-strip-inner {
  direction: rtl;
}

/* Arabic layout: keep the same visual system while reversing reading flow. */
[dir="rtl"] body {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] .hero-float-card strong,
[dir="rtl"] .footer-note {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

[dir="rtl"] .header-inner,
[dir="rtl"] .nav-block,
[dir="rtl"] .main-nav,
[dir="rtl"] .header-tools {
  direction: rtl;
}

[dir="rtl"] .hero-panel {
  padding-left: max(48px, calc((100vw - 1240px) / 2));
  padding-right: max(48px, calc((100vw - 1240px) / 2));
}

[dir="rtl"] .hero-copy {
  margin-right: 0;
  margin-left: auto;
  max-width: 650px;
}

[dir="rtl"] .hero-kicker,
[dir="rtl"] .hero-actions,
[dir="rtl"] .hero-meta {
  justify-content: flex-start;
}

[dir="rtl"] .hero-aside {
  right: auto;
  left: max(48px, calc((100vw - 1240px) / 2));
}

[dir="rtl"] .hero-scroll {
  right: auto;
  left: max(28px, calc((100vw - 1240px) / 2));
}

[dir="rtl"] .hotel-strip-list,
[dir="rtl"] .service-price,
[dir="rtl"] .journey-content,
[dir="rtl"] .contact-panel,
[dir="rtl"] .gift-section {
  direction: rtl;
}

[dir="rtl"] .hotel-strip-list {
  flex-direction: row-reverse;
}

[dir="rtl"] .service-number {
  left: auto;
  right: 17px;
}

[dir="rtl"] .service-arrow {
  right: auto;
  left: 17px;
}

[dir="rtl"] .journey-price {
  margin-right: 0;
  margin-left: auto;
}

[dir="rtl"] .gift-benefits > div {
  grid-template-columns: 1fr 36px;
}

[dir="rtl"] .gift-icon {
  grid-column: 2;
  grid-row: 1;
}

[dir="rtl"] .gift-benefits > div > div {
  grid-column: 1;
  grid-row: 1;
}

[dir="rtl"] input,
[dir="rtl"] select,
[dir="rtl"] textarea {
  text-align: right;
  direction: rtl;
}

/* Cinematic motion for the hero still: a lightweight looping video effect. */
.hero-image {
  animation: hero-cinematic-drift 16s ease-in-out infinite alternate;
  transform-origin: center center;
  opacity: .86;
  filter: brightness(.62) saturate(.72) contrast(1.12);
  will-change: transform, background-position;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .88;
  filter: brightness(.62) saturate(.78) contrast(1.08);
}

.service-photo-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: saturate(.92) contrast(1.04);
}

.service-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(23, 38, 31, .36), transparent 62%);
}

.service-photo .service-number,
.service-photo .service-arrow {
  z-index: 2;
}

.journey-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-panel .hero-image {
  z-index: -1;
}

.hero-overlay {
  background:
    radial-gradient(circle at 76% 45%, rgba(206, 171, 112, .13), transparent 24%),
    linear-gradient(90deg, rgba(8, 22, 16, .93) 0%, rgba(8, 22, 16, .67) 44%, rgba(8, 22, 16, .26) 100%),
    linear-gradient(0deg, rgba(8, 22, 16, .68), rgba(8, 22, 16, .08) 58%);
}

@keyframes hero-cinematic-drift {
  0% {
    transform: scale(1.04) rotate(-1deg);
    background-position: 42% 58%;
  }
  50% {
    transform: scale(1.13) rotate(.8deg);
    background-position: 58% 42%;
  }
  100% {
    transform: scale(1.08) rotate(-.6deg);
    background-position: 47% 62%;
  }
}

input,
select,
textarea {
  max-width: 100%;
}

.hero-panel,
.section-services,
.section-pricing {
  width: 100vw;
  margin-left: calc((100% - 100vw) / 2);
  margin-right: calc((100% - 100vw) / 2);
}

/* Two comfortable cards per row on large screens. */
.section-services .service-grid,
.section-pricing .service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .hero-panel,
  .section-services,
  .section-pricing {
    margin-left: calc((100% - 100vw) / 2);
    margin-right: calc((100% - 100vw) / 2);
  }

  .section-services .service-grid,
  .section-pricing .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section-services .service-grid,
  .section-pricing .service-grid,
  .journey-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel,
  .section-services,
  .section-pricing {
    width: 100vw;
  }
}

/* Treatment-specific photography */
.photo-sauna {
  background-image: linear-gradient(0deg, rgba(23, 38, 31, .34), transparent), url('https://images.unsplash.com/photo-1556760544-74068565f05c?auto=format&fit=crop&w=900&q=85');
}

.photo-bath {
  background-image: linear-gradient(0deg, rgba(23, 38, 31, .34), transparent), url('https://images.unsplash.com/photo-1600334089648-b0d9d3028eb2?auto=format&fit=crop&w=900&q=85');
}

.photo-foam {
  background-image: linear-gradient(0deg, rgba(23, 38, 31, .34), transparent), url('https://images.unsplash.com/photo-1544161515-4ab6ce6db874?auto=format&fit=crop&w=900&q=85');
}

.photo-hot-stone {
  background-image: linear-gradient(0deg, rgba(23, 38, 31, .34), transparent), url('https://images.unsplash.com/photo-1519823551278-64ac92734fb1?auto=format&fit=crop&w=900&q=85');
}

.photo-facial {
  background-image: linear-gradient(0deg, rgba(23, 38, 31, .34), transparent), url('https://images.unsplash.com/photo-1570172619239-5f2b9d5f5f5d?auto=format&fit=crop&w=900&q=85');
}

.photo-reflexology {
  background-image: linear-gradient(0deg, rgba(23, 38, 31, .34), transparent), url('https://images.unsplash.com/photo-1515377905703-c4788e51af15?auto=format&fit=crop&w=900&q=85');
}

.photo-aroma {
  background-image: linear-gradient(0deg, rgba(23, 38, 31, .34), transparent), url('https://images.unsplash.com/photo-1608571423902-eed4a5ad8108?auto=format&fit=crop&w=900&q=85');
}

.photo-eastern {
  background-image: linear-gradient(0deg, rgba(23, 38, 31, .34), transparent), url('https://images.unsplash.com/photo-1540555700478-4be289fbecef?auto=format&fit=crop&w=900&q=85');
}

.photo-massage {
  background-image: linear-gradient(0deg, rgba(23, 38, 31, .34), transparent), url('https://images.unsplash.com/photo-1519823551278-64ac92734fb1?auto=format&fit=crop&w=900&q=85');
}

.hotel-strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.hotel-strip-inner {
  width: min(1240px, calc(100% - 96px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 38px;
}

.hotel-strip-label {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.hotel-strip-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
}

.hotel-strip-list span {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 18px;
  white-space: nowrap;
}

.gift-section {
  width: 100vw;
  margin-left: calc((100% - 100vw) / 2);
  margin-right: calc((100% - 100vw) / 2);
  padding: 64px max(48px, calc((100vw - 1240px) / 2));
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(38px, 6vw, 78px);
  align-items: center;
  background: #e8dcc8;
}

.gift-card-visual {
  position: relative;
  width: min(100%, 520px);
  justify-self: center;
  padding: 11px;
  background: #17261f;
  box-shadow: 22px 26px 0 rgba(185, 150, 96, .26);
  transform: rotate(-1.5deg);
}

.gift-card-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.gift-copy h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font: 500 clamp(40px, 4.4vw, 64px)/1.02 var(--serif);
  letter-spacing: -.045em;
}

.gift-copy h2 em {
  color: #a27f4e;
}

.gift-intro {
  max-width: 510px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.gift-benefits {
  display: grid;
  gap: 17px;
  margin: 22px 0 17px;
}

.gift-benefits > div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(23, 38, 31, .2);
}

.gift-icon {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: .12em;
}

.gift-benefits strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}

.gift-benefits p {
  max-width: 470px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}

.gift-benefits b {
  color: var(--ink);
}

.gift-note {
  max-width: 510px;
  margin: 0;
  color: rgba(23, 38, 31, .65);
  font-size: 10px;
  line-height: 1.65;
}

.journey-price {
  position: static;
  display: flex;
  align-items: center;
  width: fit-content;
  min-width: 78px;
  min-height: 42px;
  margin: 19px 0 3px;
  padding: 8px 14px;
  border: 1px solid rgba(240, 211, 158, .65);
  background: rgba(13, 28, 22, .5);
  color: #f0d39e;
  font: 500 24px/1 var(--serif);
}

.service-info p {
  font-size: 13px;
  line-height: 1.7;
}

.service-price {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 8px;
  align-items: stretch;
  font-size: 13px;
  line-height: 1.35;
}

.service-price span {
  min-width: 0;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .32);
  white-space: nowrap;
}

.service-price b {
  font-size: 14px;
}

.section-pricing .service-price span {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .04);
}

.journey-content ul {
  font-size: 13px;
  line-height: 1.95;
}

.journey-content li small {
  margin-left: 5px;
  color: #f0d39e;
  font-size: 12px;
  letter-spacing: .04em;
  white-space: nowrap;
}

.hero-scroll {
  left: auto;
  right: max(28px, calc((100vw - 1240px) / 2));
  bottom: 30px;
}

@media (max-width: 650px) {
  .header-inner {
    gap: 8px;
  }

  .mobile-language-picker {
    display: flex;
    flex: 0 0 auto;
    gap: 4px;
    margin-left: auto;
    padding: 6px 0;
    border-bottom: 1px solid var(--line);
  }

  .mobile-language-picker .language-globe {
    font-size: 15px;
  }

  .mobile-language-picker select {
    width: 72px;
    padding: 0 12px 0 0;
    font-size: 9px;
    letter-spacing: .04em;
  }

  .header-tools {
    display: block;
  }

  .header-action {
    padding: 18px 0 23px;
  }

  .language-picker {
    width: fit-content;
    margin: 14px 0 0;
  }

  .language-picker select {
    width: 150px;
  }

  .gift-section {
    width: 100vw;
    margin-left: calc((100% - 100vw) / 2);
    margin-right: calc((100% - 100vw) / 2);
    padding: 52px 18px 58px;
    display: block;
  }

  .gift-card-visual {
    margin: 0 12px 36px;
    box-shadow: 12px 16px 0 rgba(185, 150, 96, .26);
  }

  .gift-copy h2 {
    font-size: 43px;
  }

  .hotel-strip-inner {
    width: calc(100% - 36px);
    min-height: 0;
    padding: 24px 0;
    display: block;
  }

  .hotel-strip-label {
    display: block;
    margin-bottom: 14px;
  }

  .hotel-strip-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 18px;
  }

  .hotel-strip-list span {
    font-size: 15px;
    white-space: normal;
  }

  .journey-price {
    margin-top: 16px;
  }

  .service-price {
    font-size: 13px;
  }

  .service-price b {
    font-size: 14px;
  }

  .journey-card {
    min-height: 475px;
  }

  .hero-scroll {
    display: none;
  }

  .hero-copy {
    padding-bottom: 145px;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 12vw, 52px);
    line-height: .98;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-description,
  .section-lede,
  .service-info h3,
  .journey-content h3 {
    overflow-wrap: anywhere;
  }

  .section-heading h2,
  .intro-copy h2,
  .gift-copy h2 {
    font-size: clamp(34px, 11vw, 43px);
    overflow-wrap: anywhere;
  }

  .service-info h3 {
    font-size: 22px;
  }

  [dir="rtl"] .hero-panel {
    padding-left: 28px;
    padding-right: 28px;
  }

  [dir="rtl"] .hero-aside {
    left: 28px;
    right: auto;
  }

  [dir="rtl"] .hero-scroll {
    left: 28px;
    right: auto;
  }

  [dir="rtl"] .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  [dir="rtl"] .language-picker select {
    padding-right: 0;
    padding-left: 18px;
  }
}

@media (max-width: 380px) {
  .hotel-strip-list {
    grid-template-columns: 1fr;
  }
}

.contact-panel-form textarea::placeholder {
  color: rgba(23, 38, 31, .62);
  line-height: 1.55;
}

.contact-email {
  display: inline-block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: .04em;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}

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

.service-card,
.journey-card {
  content-visibility: auto;
  contain-intrinsic-size: 320px 520px;
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .hero-video {
    display: none;
  }

  .hero-image {
    animation: none;
    transform: none;
  }
}

.flash-messages {
  margin-bottom: 18px;
}

.flash-message {
  padding: 13px 17px;
  border: 1px solid rgba(23, 38, 31, .22);
  background: #e5d9c5;
  color: var(--ink);
  font-size: 12px;
}

.flash-error {
  border-color: rgba(130, 54, 39, .35);
  background: #f0d9cf;
}

.global-flash-region {
  position: relative;
  z-index: 45;
  width: min(1240px, calc(100% - 96px));
  margin: 18px auto 0;
}

.global-flash {
  display: flex;
  align-items: flex-start;
  padding: 16px 20px;
  border: 1px solid rgba(23, 38, 31, .22);
  background: #e5d9c5;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(23, 38, 31, .08);
  font-size: 13px;
  line-height: 1.55;
}

.global-flash-success {
  border-color: rgba(67, 112, 66, .35);
  background: #e2efdf;
}

.global-flash-error {
  border-color: rgba(130, 54, 39, .35);
  background: #f0d9cf;
}

.admin-body { background: #f1eee7; color: var(--ink); min-height: 100vh; }
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.admin-card { width: min(100%, 470px); background: #fffdf8; border: 1px solid var(--line); padding: 42px; box-shadow: 0 18px 50px rgba(23,38,31,.08); }
.admin-card h1, .admin-header h1 { font: 500 clamp(34px, 5vw, 58px)/1 var(--serif); margin: 12px 0 16px; }
.admin-card p:not(.eyebrow) { color: var(--ink-soft); margin-bottom: 28px; }
.admin-card form { display: grid; gap: 18px; }
.admin-card .button { justify-self: start; margin-top: 8px; }
.admin-alert { padding: 13px 15px; margin-bottom: 18px; border: 1px solid rgba(130,54,39,.35); background: #f0d9cf; font-size: 13px; }
.admin-shell { width: min(1400px, calc(100% - 48px)); margin: 0 auto; padding: 42px 0 80px; }
.admin-header { display: flex; justify-content: space-between; align-items: end; gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 28px; margin-bottom: 34px; }
.admin-header h1 { margin-bottom: 0; }
.admin-logout { color: var(--ink-soft); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.admin-section { background: #fffdf8; border: 1px solid var(--line); padding: 28px; margin-bottom: 24px; }
.admin-section-heading { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; margin-bottom: 22px; }
.admin-section-heading h2 { font: 500 30px/1.1 var(--serif); margin: 0; }
.admin-section-heading span { color: var(--ink-soft); font-size: 11px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 860px; }
.admin-table th { text-align: left; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); padding: 12px 10px; border-bottom: 1px solid var(--line); }
.admin-table td { vertical-align: top; padding: 15px 10px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.admin-table tr.is-new td { background: #fff7e8; color: var(--ink); }
.admin-table a { color: var(--ink); }
.admin-message { max-width: 330px; white-space: pre-wrap; }
.admin-table select { min-width: 80px; margin: 0; padding: 6px 0; }
.admin-empty { color: var(--ink-soft); }
.admin-price-grid, .admin-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.admin-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-language { border-top: 1px solid var(--line); padding: 16px 0; }
.admin-language summary { cursor: pointer; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.admin-language-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 22px 0 8px; }
.admin-language-grid textarea { min-height: 70px; }
.admin-save { margin: 4px 0 30px; }
@media (max-width: 700px) {
  .admin-shell { width: calc(100% - 30px); padding-top: 25px; }
  .admin-card { padding: 28px 22px; }
  .admin-header { align-items: start; flex-direction: column; }
  .admin-section { padding: 20px 16px; }
  .admin-section-heading { display: block; }
  .admin-section-heading span { display: block; margin-top: 8px; }
  .admin-price-grid, .admin-service-grid, .admin-language-grid { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .global-flash-region {
    width: calc(100% - 36px);
    margin-top: 12px;
  }

  .global-flash {
    padding: 14px 15px;
    font-size: 12px;
  }
}

.footer-bottom .footer-hotels {
  color: #e1c897;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
}
