/* =========================================================
   Selena Bay Boutique Hotel
   ========================================================= */

:root {
  --sand: #f7f1e7;
  --sand-2: #efe4d1;
  --paper: #fffdf9;
  --ink: #12282d;
  --ink-soft: #52666a;
  --sea: #0d3a42;
  --sea-deep: #082a31;
  --teal: #17838d;
  --aqua: #46c2c9;
  --terracotta: #c0623d;
  --terracotta-dark: #a24f2e;
  --gold: #d9b26a;
  --gold-light: #f4d999;
  --line: rgba(18, 40, 45, 0.12);

  --font-display: "Playfair Display", "El Messiri", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Tajawal", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -18px rgba(13, 58, 66, 0.35);
  --shadow-soft: 0 10px 30px -14px rgba(13, 58, 66, 0.25);
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 4px); }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }

.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 10px 24px -10px rgba(192, 98, 61, .7); }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .26); }
.btn-outline { border-color: var(--sea); color: var(--sea); }
.btn-outline:hover { background: var(--sea); color: #fff; }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #3a2a08;
  box-shadow: 0 12px 30px -10px rgba(217, 178, 106, .8);
}
.btn-gold:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-outline-gold { border-color: rgba(244, 217, 153, .6); color: var(--gold-light); background: transparent; }
.btn-outline-gold:hover { background: rgba(244, 217, 153, .12); }
.btn-text { background: none; color: rgba(255, 255, 255, .7); }
.btn-text:hover { color: #fff; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(247, 241, 231, .92);
  backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark svg { width: 42px; height: 42px; display: block; }
.logo-mark circle:first-child { fill: var(--sea); stroke: rgba(255,255,255,.5); stroke-width: 2; }
.logo-mark path { fill: none; stroke: var(--aqua); stroke-width: 4; stroke-linecap: round; }
.logo-mark .sun { fill: var(--gold); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: .01em; }
.logo-text small { font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; opacity: .8; margin-top: 4px; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 26px; margin-inline-start: auto; }
.nav a:not(.btn) {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
[dir="rtl"] .nav a:not(.btn)::after { transform-origin: right; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .nav-lotto { color: var(--gold-light); font-weight: 700; }
.site-header.scrolled .nav .nav-lotto { color: var(--terracotta); }
.nav-cta { display: none; }

/* Переключатель языка */
.header-tools { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .45);
  transition: border-color .3s ease;
}
.site-header.scrolled .lang-switch,
.site-header.menu-open .lang-switch { border-color: var(--line); }
.lang-switch button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 999px;
  opacity: .78;
  transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
.lang-switch button[lang="ar"] { font-family: "Tajawal", var(--font-body); font-size: 14px; padding: 7px 12px 9px; }
.lang-switch button:hover { opacity: 1; }
.lang-switch button[aria-pressed="true"] { background: #fff; color: var(--sea); opacity: 1; }
.site-header.scrolled .lang-switch button[aria-pressed="true"],
.site-header.menu-open .lang-switch button[aria-pressed="true"] { background: var(--sea); color: #fff; }
.lang-switch button:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: -2;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 42, 49, .55) 0%, rgba(8, 42, 49, 0) 28%),
    linear-gradient(0deg, rgba(8, 42, 49, .85) 0%, rgba(8, 42, 49, .35) 45%, rgba(8, 42, 49, 0) 70%);
}
.hero-content { padding-bottom: clamp(70px, 12vh, 130px); padding-top: 140px; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  opacity: .92;
}
.stars { color: var(--gold-light); letter-spacing: .1em; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(46px, 7.6vw, 98px);
  line-height: 1;
  letter-spacing: -.015em;
  margin: 12px 0 22px;
}
.hero h1 em {
  display: block;
  font-style: italic;
  font-weight: 500;
  font-size: .46em;
  color: var(--gold-light);
  margin-top: 10px;
  letter-spacing: .02em;
}
.hero-lead { font-size: clamp(17px, 2vw, 20px); max-width: 540px; opacity: .95; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-rating {
  position: absolute;
  inset-inline-end: 24px;
  bottom: clamp(70px, 12vh, 130px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(10px);
  text-decoration: none;
  transition: background-color .2s ease;
}
.hero-rating:hover { background: rgba(255, 255, 255, .24); }
.hero-rating .score {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 12px 12px 12px 2px;
  background: #003b95;
  font-weight: 800;
  font-size: 20px;
}
.rating-text { font-weight: 700; font-size: 17px; display: flex; flex-direction: column; }
.rating-text small { font-weight: 500; font-size: 13px; opacity: .85; }
@media (min-width: 1300px) { .hero-rating { inset-inline-end: calc((100vw - 1200px) / 2 + 24px); } }

/* ---------- Facts strip ---------- */
.facts { background: var(--sea); color: #fff; }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.fact {
  padding: 26px 18px;
  text-align: center;
  border-inline-end: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fact:last-child { border-inline-end: 0; }
.fact strong { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--gold-light); line-height: 1.1; }
.fact span { font-size: 13.5px; opacity: .78; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 130px) 0; }
.section-head { max-width: 680px; margin-bottom: 50px; }
.section-head p:last-child { color: var(--ink-soft); font-size: 17px; }
.section-head--light p:last-child { color: rgba(255, 255, 255, .78); }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.kicker::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.kicker--gold { color: var(--gold); }
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.3vw, 50px);
  letter-spacing: -.01em;
  line-height: 1.15;
  margin-bottom: 20px;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about-text p { color: var(--ink-soft); font-size: 17px; }
.about-stats {
  list-style: none;
  padding: 26px 0 0;
  margin: 30px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 40px;
}
.about-stats li { display: flex; flex-direction: column; }
.about-stats strong { font-family: var(--font-display); font-size: 36px; font-weight: 600; color: var(--sea); line-height: 1; }
.about-stats span { font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .12em; margin-top: 6px; }

.about-media { position: relative; padding: 0 0 70px 0; }
.about-img-main {
  width: 88%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-inline-start: auto;
}
.about-img-small {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 52%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid var(--sand);
  box-shadow: var(--shadow);
}
.about-badge {
  position: absolute;
  inset-inline-end: -10px;
  bottom: 30px;
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.about-badge span { font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .14em; }
.about-badge strong { font-family: var(--font-display); font-size: 20px; color: var(--teal); }

/* ---------- Rooms ---------- */
.rooms { background: var(--paper); }
.rooms-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.room-card {
  background: var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.room-img { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.room-card:hover .room-img img { transform: scale(1.05); }
.room-tag {
  position: absolute;
  top: 16px; inset-inline-start: 16px;
  background: rgba(255, 253, 249, .92);
  color: var(--sea);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}
.room-tag--soft { position: static; display: inline-block; background: rgba(23, 131, 141, .1); color: var(--teal); margin-bottom: 14px; }
.room-body { padding: 26px 28px 30px; }
.room-card h3, .room-mini h3 { font-family: var(--font-display); font-size: 24px; line-height: 1.2; font-weight: 600; margin-bottom: 10px; }
.room-body p { color: var(--ink-soft); }
.room-specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.room-specs li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; }
.room-specs svg, .amenity svg, .contact-list svg {
  width: 20px; height: 20px;
  flex: none;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rooms-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 28px;
}
.room-mini {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
  transition: border-color .25s ease, background-color .25s ease;
}
.room-mini:hover { border-color: var(--teal); background: var(--sand); }
.room-mini h3 { font-size: 21px; }

.in-room {
  margin-top: 56px;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--sand-2);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: center;
}
.in-room h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--line);
}
.chips--light li { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; }

/* ---------- Amenities ---------- */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.amenity {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid transparent;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.amenity:hover { transform: translateY(-4px); border-color: rgba(23, 131, 141, .3); box-shadow: var(--shadow-soft); }
.amenity svg {
  width: 46px; height: 46px;
  padding: 11px;
  border-radius: 14px;
  background: rgba(70, 194, 201, .14);
  margin-bottom: 18px;
  stroke-width: 1.6;
}
.amenity h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.amenity p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.amenity-note { margin-top: 32px; color: var(--ink-soft); text-align: center; }

/* ---------- Dining ---------- */
.dining { background: var(--sea); color: #fff; }
.dining h2 { color: #fff; }
.dining .kicker { color: var(--aqua); }
.dining .section-head p:last-child { color: rgba(255, 255, 255, .75); }
.dining-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}
.dish-card { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; }
.dish-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.dish-card:hover img { transform: scale(1.06); }
.dish-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 42, 49, .92) 0%, rgba(8, 42, 49, .2) 55%, rgba(8, 42, 49, 0) 100%);
}
.dish-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; z-index: 1; }
.dish-card h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; margin-bottom: 6px; }
.dish-card p { margin: 0; font-size: 15px; opacity: .85; }
.breakfast {
  margin-top: 40px;
  padding: 30px 34px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .14);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
}
.breakfast h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; margin-bottom: 6px; color: var(--gold-light); }
.breakfast p { margin: 0; opacity: .8; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  grid-auto-flow: dense;
  gap: 16px;
}
.g-item {
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--sand-2);
  position: relative;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease, filter .3s ease; }
.g-item:hover img { transform: scale(1.06); filter: brightness(1.05); }
.g-item:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(6, 26, 31, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 80px;
  animation: fadeIn .25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: var(--radius-sm); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: rgba(255, 255, 255, .8); margin-top: 14px; font-size: 15px; text-align: center; }
.lb-close, .lb-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 20px; inset-inline-end: 20px; }
.lb-prev { inset-inline-start: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { inset-inline-end: 16px; top: 50%; transform: translateY(-50%); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- LOTTO ---------- */
.lotto {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(70, 194, 201, .18), transparent 60%),
    linear-gradient(180deg, var(--sea-deep) 0%, #0a1f2a 100%);
  color: #fff;
}
.lotto-glow {
  position: absolute;
  width: 600px; height: 600px;
  right: -200px; bottom: -250px;
  background: radial-gradient(circle, rgba(217, 178, 106, .22), transparent 65%);
  pointer-events: none;
}
.lotto h2 { color: #fff; font-size: clamp(40px, 5.6vw, 66px); }
.gold {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .78em;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 70%, #b98d3f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lotto-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.ticket {
  background: linear-gradient(160deg, #fffaf0, #f6ead2);
  color: var(--ink);
  border-radius: 22px;
  padding: 28px;
  position: relative;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6);
}
/* перфорация билета */
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  top: 92px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #0a2530;
}
.ticket::before { left: -13px; }
.ticket::after { right: -13px; }
.ticket-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 2px dashed rgba(18, 40, 45, .2);
}
.ticket-label { display: block; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--terracotta); font-weight: 700; }
.ticket-title { font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1; }
.ticket-count { font-size: 14px; font-weight: 600; color: var(--ink-soft); background: rgba(18, 40, 45, .06); padding: 6px 12px; border-radius: 999px; }
.ticket-count.full { color: #fff; background: var(--teal); }

.numbers {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.num {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid rgba(18, 40, 45, .18);
  background: rgba(255, 255, 255, .7);
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .2s ease;
}
.num:hover:not(:disabled) { border-color: var(--terracotta); transform: scale(1.06); }
.num:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; }
.num[aria-pressed="true"] {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
  box-shadow: 0 6px 14px -6px rgba(192, 98, 61, .8);
}
.num.hit {
  background: radial-gradient(circle at 35% 30%, #fff6d8, var(--gold) 60%, #a97c2e);
  border-color: #a97c2e;
  color: #3a2a08;
  animation: hitPulse .6s ease;
}
.num:disabled { cursor: default; }
@keyframes hitPulse { 50% { transform: scale(1.22); } }

.ticket-actions { display: flex; gap: 10px; margin-top: 22px; }
.ticket .btn-outline-gold { border-color: var(--terracotta); color: var(--terracotta); }
.ticket .btn-outline-gold:hover { background: rgba(192, 98, 61, .08); }
.ticket .btn-text { color: var(--ink-soft); }
.ticket .btn-text:hover { color: var(--ink); }

.draw {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 0 10px;
}
.drum {
  width: 190px; height: 190px;
  border-radius: 50%;
  position: relative;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .22), rgba(255, 255, 255, .03) 55%),
    rgba(70, 194, 201, .08);
  border: 2px solid rgba(255, 255, 255, .25);
  box-shadow: inset 0 0 40px rgba(70, 194, 201, .25), 0 20px 50px -20px rgba(0, 0, 0, .7);
  overflow: hidden;
}
.drum::after { /* ось */
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(217, 178, 106, .25);
}
.drum-inner { position: absolute; inset: 0; }
.drum.spinning .drum-inner { animation: drumSpin .55s linear infinite; }
@keyframes drumSpin { to { transform: rotate(360deg); } }
.mini-ball {
  position: absolute;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  color: #3a2a08;
  background: radial-gradient(circle at 35% 30%, #fff, var(--gold-light) 45%, var(--gold) 80%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .3);
}
.mini-ball:nth-child(3n) { background: radial-gradient(circle at 35% 30%, #fff, #9ee3e7 45%, var(--aqua) 85%); color: var(--sea-deep); }
.mini-ball:nth-child(4n) { background: radial-gradient(circle at 35% 30%, #fff, #f0a988 45%, var(--terracotta) 85%); color: #fff; }

.tray {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 26px;
  min-height: 58px;
}
.slot {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, .22);
  display: grid;
  place-items: center;
}
.ball {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 19px;
  color: var(--sea-deep);
  background: radial-gradient(circle at 35% 30%, #ffffff, #d7f1f2 45%, #8fd1d6 90%);
  box-shadow: inset -4px -6px 10px rgba(0, 0, 0, .15), 0 8px 18px -6px rgba(0, 0, 0, .6);
  animation: ballDrop .55s cubic-bezier(.3, 1.5, .5, 1) both;
}
.ball.match {
  color: #3a2a08;
  background: radial-gradient(circle at 35% 30%, #fffbe8, var(--gold-light) 40%, var(--gold) 75%, #a97c2e);
  box-shadow: 0 0 0 3px rgba(244, 217, 153, .35), 0 0 26px rgba(244, 217, 153, .7), inset -4px -6px 10px rgba(0, 0, 0, .15);
}
@keyframes ballDrop {
  0% { transform: translateY(-70px) scale(.4) rotate(-180deg); opacity: 0; }
  100% { transform: none; opacity: 1; }
}

.draw-hint { font-size: 14px; color: rgba(255, 255, 255, .6); margin: 14px 0 0; min-height: 1.6em; }

.result:empty { display: none; }
.result {
  width: 100%;
  margin-top: 22px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(244, 217, 153, .35);
  animation: resultIn .5s ease both;
}
.result-matches { font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.result h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; margin: 6px 0 10px; color: #fff; }
.result-prize { font-size: 16px; margin: 0 0 12px; color: rgba(255, 255, 255, .9); }
.result-prize b { color: var(--gold-light); }
.result-ticket { font-size: 12.5px; color: rgba(255, 255, 255, .45); margin: 0; letter-spacing: .06em; }
.result.jackpot { background: linear-gradient(160deg, rgba(244, 217, 153, .2), rgba(217, 178, 106, .06)); border-color: var(--gold); }
@keyframes resultIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.lotto-stats { font-size: 13px; color: rgba(255, 255, 255, .5); margin: 16px 0 0; }
.lotto-stats:empty { display: none; }
.lotto-disclaimer {
  margin: 46px auto 0;
  max-width: 640px;
  text-align: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .55);
}

/* конфетти */
.confetti {
  position: fixed;
  top: -20px;
  width: 10px; height: 14px;
  z-index: 120;
  pointer-events: none;
  border-radius: 2px;
  animation: confettiFall linear forwards;
}
@keyframes confettiFall {
  to { transform: translate3d(var(--dx, 0), 110vh, 0) rotate(var(--rot, 720deg)); opacity: .9; }
}

/* ---------- Reviews ---------- */
.reviews { background: var(--paper); }
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.big-score { display: flex; align-items: baseline; gap: 10px; }
.big-score span { font-family: var(--font-display); font-size: clamp(76px, 10vw, 120px); font-weight: 600; color: var(--sea); line-height: .9; }
.big-score small { font-size: 22px; color: var(--ink-soft); font-weight: 600; }
.score-label { font-weight: 700; margin: 12px 0 18px; }
.reviews-score > p:not(.kicker):not(.score-label) { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 26px; }
.score-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.score-bars li {
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 8px;
  font-weight: 600;
}
.score-bars b { font-family: var(--font-display); font-size: 19px; color: var(--sea); line-height: 1; }
.score-bars i {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 99px;
  background: var(--sand-2);
  position: relative;
  overflow: hidden;
}
.score-bars i::after {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: var(--v);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--aqua));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(.2, .8, .2, 1) .2s;
}
.score-bars.in i::after { transform: scaleX(1); }
[dir="rtl"] .score-bars i::after { transform-origin: right; background: linear-gradient(270deg, var(--teal), var(--aqua)); }

/* ---------- Policies ---------- */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.policy {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-inline-start: 4px solid var(--aqua);
}
.policy-key { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.policy strong { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--sea); line-height: 1.15; }
.policy small { font-size: 14px; color: var(--ink-soft); }

/* ---------- Contacts ---------- */
.contacts { background: var(--sand-2); }
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.contact-list { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list svg { width: 24px; height: 24px; margin-top: 3px; }
.contact-list li > span { display: flex; flex-direction: column; color: var(--ink-soft); }
.contact-list strong { color: var(--ink); }
.map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--sand);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sea-deep); color: rgba(255, 255, 255, .75); padding: 50px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.footer-brand .logo-text { color: #fff; margin-bottom: 10px; }
.footer-brand p { margin: 0; font-size: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { text-decoration: none; font-size: 14.5px; }
.footer-nav a:hover { color: #fff; }
.copyright { width: 100%; margin: 10px 0 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .45); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .header-cta { display: none; }
  .amenity-grid { grid-template-columns: repeat(3, 1fr); }
  .dining-grid { grid-template-columns: 1fr 1fr; }
  .dining-grid .dish-card:first-child { grid-column: 1 / -1; min-height: 380px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 24px 30px;
    background: var(--sand);
    color: var(--ink);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .35s ease, visibility .35s;
  }
  html[dir="rtl"] .nav:not(.open) { transform: translateX(-100%); }
  .nav.open { transform: none; visibility: visible; }
  .header-tools { margin-inline-start: auto; gap: 8px; }
  .nav a:not(.btn) { font-size: 20px; font-family: var(--font-display); font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .nav-lotto { color: var(--terracotta); }
  .nav-cta { display: inline-flex; margin-top: 26px; }
  .site-header.menu-open { background: var(--sand); color: var(--ink); }

  .facts-grid { grid-template-columns: repeat(3, 1fr); }
  .fact:nth-child(3) { border-inline-end: 0; }
  .fact:nth-child(n+4) { border-top: 1px solid rgba(255, 255, 255, .12); }

  .about-grid, .reviews-grid, .contacts-grid { grid-template-columns: 1fr; }
  .rooms-featured { grid-template-columns: 1fr; }
  .rooms-compact { grid-template-columns: 1fr; }
  .in-room, .breakfast { grid-template-columns: 1fr; }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .policy-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .lotto-board { grid-template-columns: 1fr; }
  .draw { padding-top: 10px; }
  .hero-rating { position: static; margin: 0 24px 40px; align-self: flex-start; }
  .hero { flex-direction: column; justify-content: flex-end; align-items: stretch; }
  .hero-content { padding-bottom: 28px; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .logo { gap: 10px; }
  .logo-mark svg { width: 36px; height: 36px; }
  .logo-text strong { font-size: 19px; }
  .logo-text small { font-size: 9.5px; letter-spacing: .2em; }
  .lang-switch button { padding: 7px 10px; }
  .lang-switch button[lang="ar"] { padding: 6px 10px 8px; }
  .hero-rating { margin: 0 16px 32px; }
  .hero-actions .btn { width: 100%; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 20px 10px; }
  .fact:nth-child(3) { border-inline-end: 1px solid rgba(255, 255, 255, .12); }
  .fact:nth-child(2n) { border-inline-end: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .fact:last-child { grid-column: 1 / -1; }
  .fact strong { font-size: 19px; }
  .about-badge { inset-inline-end: 0; }
  .about-stats { gap: 26px; }
  .amenity-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .amenity { padding: 20px 16px; }
  .dining-grid { grid-template-columns: 1fr; }
  .dish-card { min-height: 340px; }
  .policy-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-auto-rows: 150px; gap: 10px; }
  .in-room { padding: 24px 20px; }
  .breakfast { padding: 24px 20px; }
  .ticket { padding: 22px 16px; }
  .ticket::before, .ticket::after { top: 84px; }
  .numbers { gap: 7px; }
  .num { font-size: 14px; }
  .ball, .slot { width: 44px; height: 44px; font-size: 16px; }
  .tray { gap: 8px; }
  .lightbox { padding: 60px 12px; }
  .lb-nav { top: auto; bottom: 16px; transform: none; }
  .lb-prev { inset-inline-start: calc(50% - 64px); }
  .lb-next { inset-inline-end: calc(50% - 64px); }
}

/* =========================================================
   Арабская версия (RTL)
   ========================================================= */
html[lang="ar"] body { line-height: 1.85; }
/* разрядка ломает связное арабское письмо */
html[lang="ar"] :is(.eyebrow, .kicker, .ticket-label, .result-matches, .policy-key,
  .about-badge span, .about-stats span, .result-ticket, h1, h2, h3, .gold, .stars) { letter-spacing: 0; }
html[lang="ar"] .hero h1 em { font-style: normal; font-weight: 600; font-size: .5em; margin-top: 14px; }
html[lang="ar"] .hero h1 { line-height: 1.05; }
html[lang="ar"] h2 { line-height: 1.45; }
html[lang="ar"] .room-card h3,
html[lang="ar"] .room-mini h3,
html[lang="ar"] .dish-card h3,
html[lang="ar"] .result h3 { line-height: 1.5; }
html[lang="ar"] .kicker,
html[lang="ar"] .eyebrow { font-size: 14px; }
html[lang="ar"] .hero-lead,
html[lang="ar"] .about-text p,
html[lang="ar"] .section-head p:last-child { font-size: 18px; }
html[lang="ar"] .gold { font-size: .9em; }
html[dir="rtl"] .big-score { justify-content: flex-end; }
/* арабский шрифт при том же кегле выглядит мельче — немного увеличиваем */
html[lang="ar"] .nav a:not(.btn) { font-size: 16px; }
html[lang="ar"] .btn { font-size: 16px; }
html[lang="ar"] .btn-sm { font-size: 15px; }
html[lang="ar"] .btn-lg { font-size: 17px; }
html[lang="ar"] .amenity h3 { font-size: 18px; }
html[lang="ar"] :is(.amenity p, .room-specs li, .dish-card p, .policy small, .draw-hint, .lotto-disclaimer) { font-size: 15.5px; }
html[lang="ar"] :is(.room-body p, .contact-list li > span, .result-prize) { font-size: 17px; }
html[lang="ar"] :is(.chips li, .fact span, .ticket-count, .footer-brand p) { font-size: 15px; }
html[lang="ar"] :is(.about-stats span, .about-badge span, .policy-key, .room-tag, .rating-text small, .lotto-stats) { font-size: 14px; }
html[lang="ar"] .footer-nav a { font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-img { transform: none; }
}
