:root {
  --ink: #071923;
  --ink-soft: #17313d;
  --sea: #0d5962;
  --sea-deep: #07333a;
  --paper: #f3efe7;
  --paper-deep: #e9e0d2;
  --white: #fffdf8;
  --copper: #d58a52;
  --copper-light: #f1b383;
  --line-dark: rgba(7, 25, 35, 0.15);
  --line-light: rgba(255, 255, 255, 0.18);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
body[dir="rtl"] { font-family: "Noto Kufi Arabic", system-ui, sans-serif; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }

.site-header {
  position: relative;
  z-index: 20;
  width: min(1280px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 30px;
  align-items: center;
  border-bottom: 1px solid var(--line-light);
}
.brand { display: inline-flex; width: fit-content; gap: 12px; align-items: center; text-decoration: none; }
.brand-mark {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--copper);
  border-radius: 50% 50% 50% 16%;
  font-weight: 800;
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: .78rem; letter-spacing: .13em; }
.brand-copy small { margin-top: 5px; color: rgba(255,255,255,.62); font-family: "Noto Kufi Arabic", sans-serif; font-size: .65rem; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { color: rgba(255,255,255,.76); text-decoration: none; font-size: .91rem; font-weight: 600; }
nav a:hover, nav a:focus-visible { color: var(--white); }
.nav-book { padding-bottom: 4px; border-bottom: 1px solid var(--copper); }
.language-switch {
  min-height: 42px;
  padding: 0 16px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  font: 600 .82rem "Noto Kufi Arabic", sans-serif;
  cursor: pointer;
}
.language-switch:hover, .language-switch:focus-visible { color: var(--ink); background: var(--white); outline: none; }

.hero {
  position: relative;
  min-height: min(880px, calc(100vh - 16px));
  overflow: hidden;
  background:
    radial-gradient(circle at 23% 4%, rgba(23, 116, 123, .32), transparent 32%),
    linear-gradient(125deg, #06151e 0%, #0a2c36 62%, #0d4b50 100%);
}
.hero::after {
  content: "01";
  position: absolute;
  right: -16px;
  bottom: -130px;
  color: rgba(255,255,255,.035);
  font-size: clamp(17rem, 33vw, 33rem);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}
body[dir="rtl"] .hero::after { right: auto; left: -16px; }
.hero > * { position: relative; z-index: 1; }
.hero {
  padding: 76px max(24px, calc((100vw - 1280px) / 2)) 112px;
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(520px, 1fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: center;
}
.hero-copy { max-width: 650px; }
.eyebrow, .section-kicker { margin: 0 0 18px; color: var(--copper-light); font-size: .76rem; font-weight: 700; letter-spacing: .17em; }
h1 { margin: 0; font-size: clamp(3.3rem, 6.25vw, 6.15rem); font-weight: 500; letter-spacing: -.06em; line-height: .95; }
.hero-lede { max-width: 620px; margin: 28px 0 0; color: rgba(255,255,255,.7); font-size: clamp(1rem, 1.45vw, 1.18rem); line-height: 1.75; }
.hero-facts { margin: 34px 0 31px; padding: 0; display: flex; gap: 34px; list-style: none; }
.hero-facts li { display: grid; gap: 1px; }
.hero-facts strong { font-size: 1.6rem; font-weight: 600; }
.hero-facts span { color: rgba(255,255,255,.54); font-size: .78rem; }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.primary-link {
  min-height: 54px;
  padding: 0 18px;
  display: inline-flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  background: var(--copper);
  border-radius: 3px;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 700;
}
.primary-link:hover, .primary-link:focus-visible { background: #e3a06d; outline: 3px solid rgba(255,255,255,.2); }
.text-link { display: inline-flex; gap: 12px; color: var(--white); text-decoration: none; border-bottom: 1px solid var(--copper); font-size: .9rem; font-weight: 600; }
.hero-stage { position: relative; min-height: 680px; }
.hero-image-wrap { position: absolute; inset: 0 0 0 78px; margin: 0; overflow: hidden; border-radius: 160px 4px 4px 4px; }
body[dir="rtl"] .hero-image-wrap { inset: 0 78px 0 0; border-radius: 4px 160px 4px 4px; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-image-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(4,18,25,.8) 100%); }
.hero-image-wrap figcaption { position: absolute; z-index: 2; right: 27px; bottom: 26px; display: grid; text-align: right; }
.hero-image-wrap figcaption span { color: rgba(255,255,255,.62); font-size: .72rem; }
.hero-image-wrap figcaption strong { margin-top: 3px; font-size: .98rem; }
body[dir="rtl"] .hero-image-wrap figcaption { right: auto; left: 27px; text-align: left; }
.booking-card {
  position: absolute;
  z-index: 3;
  width: min(430px, 72%);
  left: 0;
  bottom: 34px;
  padding: 26px;
  color: var(--ink);
  background: rgba(255,253,248,.97);
  border-radius: 22px 5px 22px 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
body[dir="rtl"] .booking-card { left: auto; right: 0; border-radius: 5px 22px 22px 22px; }
.booking-card-head { display: flex; gap: 15px; align-items: end; justify-content: space-between; margin-bottom: 18px; }
.booking-card-head p { margin: 0 0 4px; color: #88705d; font-size: .65rem; font-weight: 700; letter-spacing: .15em; }
.booking-card h2 { margin: 0; font-size: 1.65rem; letter-spacing: -.035em; }
form { display: grid; gap: 13px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
label { display: grid; gap: 6px; color: var(--ink-soft); font-size: .78rem; font-weight: 650; }
input, select { width: 100%; min-height: 47px; padding: 0 11px; color: var(--ink); background: #fff; border: 1px solid #d9d4ca; border-radius: 7px; font-size: .92rem; }
input:focus, select:focus { outline: 3px solid rgba(13,89,98,.18); border-color: var(--sea); }
.primary-button { min-height: 50px; margin-top: 2px; color: #fff; background: var(--sea); border: 0; border-radius: 7px; font-size: .9rem; font-weight: 700; cursor: pointer; }
.primary-button:hover, .primary-button:focus-visible { background: #074a52; outline: 3px solid rgba(13,89,98,.2); }
.booking-note, .form-status { margin: 0; color: #6d756f; font-size: .7rem; line-height: 1.5; }
.form-status:not(:empty) { padding: 9px 11px; color: #164b3d; background: #e2f2e9; border-radius: 7px; }

.trust-strip {
  padding: 0 max(24px, calc((100vw - 1280px) / 2));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: var(--ink);
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line-dark);
}
.trust-strip p { margin: 0; min-height: 116px; padding: 26px 24px; display: grid; align-content: center; border-right: 1px solid var(--line-dark); }
.trust-strip p:first-child { border-left: 1px solid var(--line-dark); }
body[dir="rtl"] .trust-strip p { border-right: 0; border-left: 1px solid var(--line-dark); }
body[dir="rtl"] .trust-strip p:first-child { border-right: 1px solid var(--line-dark); }
.trust-strip strong { font-size: .88rem; }
.trust-strip span { margin-top: 5px; color: #687073; font-size: .76rem; line-height: 1.5; }

.villa-section, .direct-section, .essentials-section { color: var(--ink); background: var(--paper); }
.villa-section { padding: 124px max(24px, calc((100vw - 1280px) / 2)); }
.section-heading { max-width: 860px; }
.section-heading .section-kicker, .direct-intro .section-kicker, .compact-heading .section-kicker { color: #a45c2a; }
.section-heading h2, .direct-intro h2, .compact-heading h2, .final-cta h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 5.1rem); font-weight: 500; letter-spacing: -.055em; line-height: 1; }
.section-heading > p:last-child, .direct-intro > p:not(.section-kicker) { max-width: 680px; margin: 25px 0 0; color: #59666b; font-size: 1.06rem; line-height: 1.75; }
.gallery-grid { margin-top: 70px; display: grid; grid-template-columns: 1.5fr .72fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.gallery-grid figure { position: relative; min-height: 300px; margin: 0; overflow: hidden; background: #d8d4cc; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.gallery-grid figure:hover img { transform: scale(1.018); }
.gallery-grid figure::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(3,13,18,.68)); }
.gallery-grid figcaption { position: absolute; z-index: 1; right: 18px; bottom: 16px; left: 18px; color: #fff; font-size: .78rem; font-weight: 600; }
.gallery-main { grid-row: 1 / 3; min-height: 690px !important; }
.gallery-main img { object-position: center; }
.gallery-living img { object-position: center 62%; }
.gallery-more { margin-top: 16px; columns: 3; column-gap: 16px; }
.gallery-more figure { position: relative; margin: 0 0 16px; overflow: hidden; break-inside: avoid; background: #d8d4cc; }
.gallery-more img { width: 100%; height: auto; display: block; transition: transform .55s ease; }
.gallery-more figure:hover img { transform: scale(1.018); }
.gallery-more figure::after { content: ""; position: absolute; inset: 62% 0 0; background: linear-gradient(transparent, rgba(3,13,18,.7)); pointer-events: none; }
.gallery-more figcaption { position: absolute; z-index: 1; right: 18px; bottom: 16px; left: 18px; color: #fff; font-size: .78rem; font-weight: 600; }
.villa-details { margin-top: 82px; display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(55px, 9vw, 135px); }
.detail-label { margin: 0 0 25px; color: #995323; font-size: .71rem; font-weight: 700; letter-spacing: .17em; }
.room-plan ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.room-plan li { padding: 22px 0; display: grid; grid-template-columns: 50px 1fr; gap: 17px; border-bottom: 1px solid var(--line-dark); }
.room-plan li > span { color: #a45c2a; font-size: .72rem; font-weight: 700; }
.room-plan strong { font-size: 1rem; }
.room-plan li p { margin: 5px 0 0; color: #697377; font-size: .86rem; }
.capacity-note { margin: 21px 0 0; color: #71797b; font-size: .78rem; line-height: 1.7; }
.amenities ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.amenities li { min-height: 52px; display: flex; gap: 15px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-dark); color: #435157; font-size: .86rem; }
.amenities b { color: var(--sea); font-size: .78rem; }
.bathroom-note { margin: 18px 0 0; color: #697377; font-size: .82rem; line-height: 1.7; }
.bathroom-note strong { color: var(--ink); }

.discover-section { padding: 124px max(24px, calc((100vw - 1280px) / 2)); background: linear-gradient(145deg, #062a32, #0d535a); }
.light-heading { color: var(--white); }
.light-heading > p:last-child { color: rgba(255,255,255,.63); }
.destination-route { position: relative; margin-top: 74px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.22); }
.destination-route::before { content: ""; position: absolute; top: -4px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--copper); }
body[dir="rtl"] .destination-route::before { left: auto; right: 0; }
.destination-route article { min-height: 400px; padding: 28px 24px 24px; display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.15); }
.destination-route article:last-child { border-right: 0; }
body[dir="rtl"] .destination-route article { border-right: 0; border-left: 1px solid rgba(255,255,255,.15); }
body[dir="rtl"] .destination-route article:last-child { border-left: 0; }
.route-number { color: rgba(255,255,255,.36); font-size: .77rem; }
.route-tag { margin: 57px 0 12px; color: var(--copper-light); font-size: .67rem; font-weight: 700; letter-spacing: .15em; }
.destination-route h3 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 500; letter-spacing: -.035em; }
.destination-route article > p:not(.route-tag) { margin: 18px 0 26px; color: rgba(255,255,255,.62); font-size: .86rem; line-height: 1.75; }
.destination-route a { margin-top: auto; padding-top: 17px; display: flex; gap: 12px; justify-content: space-between; color: #fff; border-top: 1px solid rgba(255,255,255,.18); text-decoration: none; font-size: .78rem; font-weight: 600; }
.destination-route a:hover span:first-child { text-decoration: underline; text-underline-offset: 5px; }
.destination-route .secondary-route-link { margin-top: 0; border-top-color: rgba(255,255,255,.09); }

.direct-section { padding: 124px max(24px, calc((100vw - 1280px) / 2)); display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(70px, 10vw, 150px); }
.direct-intro { align-self: center; }
.direct-intro h2 { font-size: clamp(2.7rem, 4.7vw, 4.7rem); }
.dark-link { margin-top: 32px; color: #fff; background: var(--sea); }
.dark-link:hover, .dark-link:focus-visible { background: var(--sea-deep); outline-color: rgba(13,89,98,.18); }
.direct-benefit-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.direct-benefit-grid article { min-height: 225px; padding: 27px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.direct-benefit-grid article > span { color: #a45c2a; font-size: .72rem; font-weight: 700; }
.direct-benefit-grid h3 { margin: 48px 0 10px; font-size: 1.04rem; }
.direct-benefit-grid p { margin: 0; color: #6b7477; font-size: .82rem; line-height: 1.65; }

.essentials-section { padding: 0 max(24px, calc((100vw - 1280px) / 2)) 124px; }
.compact-heading { max-width: 780px; margin-bottom: 55px; }
.faq-list { border-top: 1px solid var(--line-dark); }
details { border-bottom: 1px solid var(--line-dark); }
summary { position: relative; padding: 24px 52px 24px 0; list-style: none; cursor: pointer; font-size: 1rem; font-weight: 650; }
body[dir="rtl"] summary { padding: 24px 0 24px 52px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 12px; top: 20px; color: #a45c2a; font-size: 1.45rem; font-weight: 400; }
body[dir="rtl"] summary::after { right: auto; left: 12px; }
details[open] summary::after { content: "−"; }
details p { max-width: 770px; margin: -4px 0 26px; color: #637074; font-size: .9rem; line-height: 1.75; }

.final-cta { padding: 115px max(24px, calc((100vw - 1280px) / 2)); text-align: center; background: radial-gradient(circle at 50% 10%, rgba(30,123,129,.34), transparent 37%), var(--ink); }
.final-cta .section-kicker { color: var(--copper-light); }
.final-cta h2 { max-width: 910px; margin: 0 auto; color: #fff; }
.final-cta > p:not(.section-kicker) { max-width: 620px; margin: 25px auto 31px; color: rgba(255,255,255,.61); font-size: 1rem; line-height: 1.7; }

footer { padding: 52px max(24px, calc((100vw - 1280px) / 2)); display: grid; grid-template-columns: 1fr auto; gap: 38px 70px; color: rgba(255,255,255,.7); background: #041117; border-top: 1px solid rgba(255,255,255,.12); }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand strong { color: #fff; font-size: .92rem; }
.footer-brand p, .footer-contact p, .footer-legal p { margin: 4px 0 0; font-size: .72rem; }
.footer-contact { text-align: right; }
body[dir="rtl"] .footer-contact { text-align: left; }
.footer-contact a { color: #fff; font-size: .88rem; text-underline-offset: 4px; }
.footer-contact .instagram-link { display: block; margin-top: 9px; color: rgba(255,255,255,.72); font-size: .76rem; }
.footer-legal { grid-column: 1 / -1; padding-top: 25px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-legal p { max-width: 720px; color: rgba(255,255,255,.42); line-height: 1.65; }

body[dir="rtl"] h1, body[dir="rtl"] .section-heading h2, body[dir="rtl"] .direct-intro h2, body[dir="rtl"] .final-cta h2 { letter-spacing: -.025em; line-height: 1.28; }
body[dir="rtl"] .eyebrow, body[dir="rtl"] .section-kicker, body[dir="rtl"] .detail-label, body[dir="rtl"] .route-tag, body[dir="rtl"] .booking-card-head p { letter-spacing: 0; }
body[dir="rtl"] input { text-align: right; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr 1fr; gap: 42px; }
  .hero-stage { min-height: 620px; }
  .hero-image-wrap { left: 20px; }
  body[dir="rtl"] .hero-image-wrap { right: 20px; left: 0; }
  .booking-card { width: min(410px, 92%); }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip p:nth-child(3) { border-left: 1px solid var(--line-dark); }
  .villa-details, .direct-section { grid-template-columns: 1fr; }
  .destination-route { grid-template-columns: 1fr 1fr; }
  .destination-route article:nth-child(2) { border-right: 0; }
  .destination-route article { min-height: 345px; border-bottom: 1px solid rgba(255,255,255,.15); }
}

@media (max-width: 780px) {
  .site-header { width: min(100% - 32px, 1280px); min-height: 80px; }
  .hero { min-height: auto; padding: 55px 16px 72px; grid-template-columns: 1fr; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(3rem, 12vw, 4.8rem); }
  .hero-stage { min-height: auto; display: grid; gap: 0; }
  .hero-image-wrap { position: relative; inset: auto; height: min(116vw, 650px); border-radius: 95px 3px 3px 3px; }
  body[dir="rtl"] .hero-image-wrap { inset: auto; border-radius: 3px 95px 3px 3px; }
  .booking-card { position: relative; width: calc(100% - 24px); left: auto; right: auto; bottom: auto; margin: -42px auto 0; }
  body[dir="rtl"] .booking-card { left: auto; right: auto; }
  .trust-strip { padding: 0 16px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .gallery-main { grid-column: 1 / -1; grid-row: auto; min-height: 500px !important; }
  .gallery-side { min-height: 330px !important; }
  .gallery-more { columns: 2; }
  .destination-route { grid-template-columns: 1fr; }
  .destination-route article, .destination-route article:nth-child(2) { min-height: auto; border-right: 0; border-left: 0; }
  body[dir="rtl"] .destination-route article { border-left: 0; }
  .route-tag { margin-top: 35px; }
  .destination-route a { margin-top: 36px; }
  .footer-legal { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .brand-copy strong { max-width: 165px; font-size: .65rem; }
  .brand-copy small { display: none; }
  .language-switch { padding: 0 12px; }
  .hero { padding-top: 44px; }
  .hero-lede { font-size: .95rem; }
  .hero-facts { gap: 22px; }
  .hero-facts strong { font-size: 1.35rem; }
  .hero-facts span { max-width: 80px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 19px; }
  .hero-image-wrap { height: 128vw; max-height: 590px; }
  .booking-card { width: calc(100% - 16px); padding: 22px 17px; }
  .field-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip p, .trust-strip p:first-child, .trust-strip p:nth-child(3) { min-height: 95px; padding: 20px 17px; border-right: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
  .villa-section, .discover-section, .direct-section { padding-top: 90px; padding-bottom: 90px; }
  .section-heading h2, .direct-intro h2, .compact-heading h2, .final-cta h2 { font-size: clamp(2.45rem, 12vw, 3.4rem); }
  .gallery-grid { margin-top: 48px; grid-template-columns: 1fr; }
  .gallery-main { min-height: 390px !important; }
  .gallery-side { min-height: 340px !important; }
  .gallery-more { columns: 1; }
  .villa-details { margin-top: 60px; gap: 60px; }
  .direct-benefit-grid { grid-template-columns: 1fr; }
  .direct-benefit-grid article { min-height: 190px; }
  .direct-benefit-grid h3 { margin-top: 31px; }
  .essentials-section { padding-bottom: 90px; }
  .final-cta { padding-top: 90px; padding-bottom: 90px; }
  footer { grid-template-columns: 1fr; }
  .footer-contact, body[dir="rtl"] .footer-contact { text-align: inherit; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery-grid img, .gallery-more img { transition: none; }
}
