@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  --ink: #16313a;
  --muted: #5f706f;
  --paper: #fbf8f1;
  --white: #fffdf8;
  --sand: #e7d7bd;
  --sand-deep: #c9a77e;
  --sea: #1f7c7d;
  --sea-dark: #123f4c;
  --sunset: #c87555;
  --line: rgba(22, 49, 58, .14);
  --shadow: 0 22px 70px rgba(18, 63, 76, .14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--sunset);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; font-family: "DM Serif Display", serif; font-weight: 400; line-height: 1.08; }
h1 { max-width: 780px; margin-bottom: 22px; color: #fff; font-size: clamp(3.1rem, 7.3vw, 6.7rem); letter-spacing: -.035em; }
h2 { margin-bottom: 20px; font-size: clamp(2.25rem, 4.3vw, 4rem); letter-spacing: -.025em; }
h3 { margin-bottom: 12px; font-size: 1.6rem; }
p { margin: 0 0 18px; }
.lead { max-width: 720px; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.28rem); }
.section { padding: 112px 0; }
.section-soft { background: #f1eadf; }
.section-dark { color: #fff; background: var(--sea-dark); }
.section-dark .eyebrow { color: #eaa183; }
.section-dark .lead { color: rgba(255,255,255,.72); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 50px; }
.section-heading > div:first-child { max-width: 760px; }
.section-note { max-width: 330px; color: var(--muted); font-size: .92rem; }

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s, color .25s;
  color: #fff;
}
.site-header.scrolled { color: var(--ink); background: rgba(251,248,241,.93); border-color: var(--line); backdrop-filter: blur(16px); }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: "DM Serif Display", serif; font-size: 1.15rem; }
.nav-links { display: flex; align-items: center; gap: 27px; }
.nav-links a { color: inherit; text-decoration: none; font-size: .9rem; font-weight: 600; }
.nav-links a:not(.btn):hover { opacity: .7; }
.lang-link { border-left: 1px solid currentColor; padding-left: 22px; opacity: .78; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid currentColor; border-radius: 50%; color: inherit; background: transparent; }

.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 21px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 700; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--sunset); }
.btn-primary:hover { background: #b86649; }
.btn-secondary { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.btn-light { color: var(--sea-dark); background: #fff; }
.btn-sm { min-height: 42px; padding: 9px 17px; font-size: .88rem; }
.btn-block { width: 100%; }

.hero { position: relative; min-height: 830px; display: flex; align-items: end; overflow: hidden; background: var(--sea-dark); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,36,43,.82) 0%, rgba(8,36,43,.45) 50%, rgba(8,36,43,.08) 100%), url('hero-dahab.svg') center/cover no-repeat; transform: scale(1.01); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, rgba(8,36,43,.42)); }
.hero-content { position: relative; z-index: 2; width: 100%; padding: 170px 0 170px; }
.hero .eyebrow { color: #f0b494; }
.hero-copy { max-width: 620px; margin-bottom: 32px; color: rgba(255,255,255,.83); font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.visual-disclaimer { position: absolute; z-index: 3; right: 28px; bottom: 28px; max-width: 360px; margin: 0; padding: 9px 13px; border-radius: 10px; color: rgba(255,255,255,.74); background: rgba(8,36,43,.48); font-size: .72rem; backdrop-filter: blur(8px); }

.quick-facts { position: relative; z-index: 5; margin-top: -72px; }
.quick-facts-grid { display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.fact { min-height: 142px; display: flex; flex-direction: column; justify-content: center; padding: 27px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong { font-family: "DM Serif Display", serif; font-size: 1.72rem; font-weight: 400; line-height: 1.1; }
.fact span { margin-top: 5px; color: var(--muted); font-size: .84rem; }

.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 90px; }
.story-card { position: relative; min-height: 520px; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(145deg, #d7aa7d 0%, #d8c3a6 42%, #2c7779 43%, #123f4c 100%); box-shadow: var(--shadow); }
.story-card::before { content: ""; position: absolute; width: 440px; height: 440px; right: -110px; top: -110px; border: 1px solid rgba(255,255,255,.36); border-radius: 50%; box-shadow: 0 0 0 48px rgba(255,255,255,.07), 0 0 0 98px rgba(255,255,255,.045); }
.story-card blockquote { position: absolute; left: 42px; right: 42px; bottom: 34px; margin: 0; color: #fff; font-family: "DM Serif Display", serif; font-size: clamp(2rem, 3.5vw, 3.15rem); line-height: 1.05; }
.story-card small { display: block; margin-top: 18px; font-family: "DM Sans", sans-serif; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin: 30px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 26px; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 0; top: .58em; width: 10px; height: 10px; border-radius: 50%; background: var(--sea); box-shadow: 0 0 0 4px rgba(31,124,125,.12); }

.rooms-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; grid-auto-rows: 310px; gap: 18px; }
.room-card { position: relative; display: flex; align-items: end; overflow: hidden; padding: 28px; border-radius: var(--radius-md); color: #fff; background: var(--sea-dark); }
.room-card::before { content: ""; position: absolute; inset: 0; opacity: .95; transition: transform .5s; }
.room-card:hover::before { transform: scale(1.04); }
.room-card:nth-child(1)::before { background: linear-gradient(135deg, #1c6570, #092e38); }
.room-card:nth-child(2)::before { background: linear-gradient(135deg, #d1916e, #8f4f3b); }
.room-card:nth-child(3)::before { background: linear-gradient(135deg, #c9ab7f, #78654c); }
.room-card:nth-child(4)::before { background: linear-gradient(135deg, #427e73, #173e3d); }
.room-card:nth-child(4) { grid-column: 2 / 4; }
.room-card::after { content: ""; position: absolute; width: 170px; height: 170px; right: -38px; top: -45px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; box-shadow: 0 0 0 30px rgba(255,255,255,.06); }
.room-content { position: relative; z-index: 2; }
.room-content span { color: rgba(255,255,255,.72); font-size: .86rem; }

.amenities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.amenity { min-height: 150px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.48); }
.amenity-index { display: block; margin-bottom: 24px; color: var(--sunset); font-size: .74rem; font-weight: 700; letter-spacing: .14em; }
.amenity strong { display: block; margin-bottom: 5px; }
.amenity span { color: var(--muted); font-size: .88rem; }

.location-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.map-card { position: relative; min-height: 500px; overflow: hidden; border-radius: var(--radius-lg); background: #d8cbb8; }
.map-card::before { content: ""; position: absolute; inset: 0; opacity: .72; background-image: linear-gradient(34deg, transparent 45%, rgba(255,255,255,.58) 46%, rgba(255,255,255,.58) 49%, transparent 50%), linear-gradient(112deg, transparent 45%, rgba(18,63,76,.14) 46%, rgba(18,63,76,.14) 48%, transparent 49%); background-size: 110px 95px, 150px 140px; }
.map-sea { position: absolute; right: -90px; top: -30px; width: 44%; height: 115%; border-radius: 48% 0 0 52%; background: var(--sea); }
.map-pin { position: absolute; left: 46%; top: 45%; width: 76px; height: 76px; display: grid; place-items: center; border: 8px solid rgba(255,255,255,.72); border-radius: 50% 50% 50% 4px; color: #fff; background: var(--sunset); box-shadow: var(--shadow); transform: rotate(-45deg); }
.map-pin span { transform: rotate(45deg); font-weight: 700; }
.map-label { position: absolute; left: 28px; bottom: 25px; max-width: 270px; padding: 13px 16px; border-radius: 12px; background: rgba(255,253,248,.9); font-size: .82rem; backdrop-filter: blur(10px); }
.distance-list { margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.16); }
.distance-list li { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.distance-list strong { color: #f2b091; }

.coming-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.coming-card { min-height: 260px; display: flex; flex-direction: column; justify-content: end; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.coming-card span { color: var(--sunset); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.coming-card p { margin-bottom: 0; color: var(--muted); font-size: .92rem; }

.booking-shell { display: grid; grid-template-columns: .83fr 1.17fr; overflow: hidden; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.booking-copy { padding: 58px; color: #fff; background: var(--sea-dark); }
.booking-copy h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
.booking-copy p { color: rgba(255,255,255,.72); }
.booking-steps { margin: 38px 0 0; padding: 0; list-style: none; counter-reset: step; }
.booking-steps li { position: relative; min-height: 50px; padding: 9px 0 22px 52px; counter-increment: step; }
.booking-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #f1b095; }
.booking-form { padding: 58px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; }
.field input, .field select { width: 100%; min-height: 54px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; }
.field input:focus, .field select:focus { outline: 3px solid rgba(31,124,125,.15); border-color: var(--sea); }
.booking-summary { min-height: 78px; margin: 26px 0 18px; padding: 17px 19px; border-radius: 14px; background: #f2ede3; }
.booking-summary strong { display: block; }
.booking-summary span { color: var(--muted); font-size: .87rem; }
.form-note { margin-top: 12px; color: var(--muted); font-size: .76rem; }

.faq-list { max-width: 850px; margin: 46px auto 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; border: 0; color: var(--ink); background: transparent; text-align: left; font-weight: 700; }
.faq-question span:last-child { font-size: 1.5rem; font-weight: 400; transition: transform .2s; }
.faq-item.open .faq-question span:last-child { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; color: var(--muted); transition: max-height .3s ease; }
.faq-answer p { padding: 0 0 24px; }

.site-footer { padding: 76px 0 28px; color: rgba(255,255,255,.78); background: #0d303a; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 55px; }
.site-footer .brand { color: #fff; }
.footer-intro { max-width: 390px; margin-top: 22px; }
.footer-title { color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; margin-top: 18px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 65px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }

.mobile-book { display: none; }
.modal { position: fixed; z-index: 100; inset: 0; display: none; align-items: center; justify-content: center; padding: 22px; background: rgba(7,28,34,.74); backdrop-filter: blur(7px); }
.modal.open { display: flex; }
.modal-card { width: min(100%, 620px); max-height: calc(100vh - 44px); overflow: auto; padding: 35px; border-radius: 24px; background: var(--white); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.modal-head { display: flex; justify-content: space-between; align-items: start; gap: 25px; margin-bottom: 25px; }
.modal-head h3 { font-size: 2.2rem; }
.modal-close { width: 40px; height: 40px; flex: 0 0 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; font-size: 1.3rem; }
.status-box { margin: 20px 0; padding: 17px; border-left: 4px solid var(--sunset); border-radius: 10px; background: #f1eadf; color: var(--muted); font-size: .88rem; }
.modal-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 25px; }
.is-hidden { display: none !important; }
.toast { position: fixed; z-index: 110; left: 50%; bottom: 28px; max-width: calc(100% - 32px); padding: 13px 18px; border-radius: 999px; color: #fff; background: var(--sea-dark); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .nav-links { position: fixed; inset: 82px 16px auto; display: none; flex-direction: column; align-items: stretch; padding: 24px; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); background: var(--paper); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .lang-link { border-left: 0; padding-left: 0; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .quick-facts-grid { grid-template-columns: repeat(3, 1fr); }
  .fact:nth-child(3) { border-right: 0; }
  .fact:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .fact:nth-child(4) { grid-column: span 1; }
  .fact:nth-child(5) { grid-column: span 2; }
  .intro-grid, .location-grid { grid-template-columns: 1fr; gap: 55px; }
  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .room-card:nth-child(4) { grid-column: 1 / 3; }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .booking-shell { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 80px 0; }
  .section-heading { display: block; margin-bottom: 35px; }
  .section-note { margin-top: 20px; }
  .hero { min-height: 760px; }
  .hero::before { background: linear-gradient(0deg, rgba(8,36,43,.83) 0%, rgba(8,36,43,.4) 78%), url('hero-dahab.svg') 59% center/cover no-repeat; }
  .hero-content { padding: 130px 0 150px; }
  h1 { font-size: clamp(3rem, 16vw, 4.8rem); }
  .visual-disclaimer { left: 14px; right: 14px; bottom: 18px; max-width: none; }
  .quick-facts { margin-top: -55px; }
  .quick-facts-grid { grid-template-columns: 1fr 1fr; }
  .fact { min-height: 118px; padding: 20px; border-bottom: 1px solid var(--line); }
  .fact:nth-child(2n) { border-right: 0; }
  .fact:nth-child(3) { border-right: 1px solid var(--line); }
  .fact:nth-child(4) { grid-column: auto; }
  .fact:nth-child(5) { grid-column: 1 / 3; border-bottom: 0; }
  .story-card { min-height: 410px; }
  .story-card blockquote { left: 25px; right: 25px; bottom: 25px; }
  .checks { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .room-card:nth-child(4) { grid-column: auto; }
  .amenities, .coming-grid { grid-template-columns: 1fr; }
  .map-card { min-height: 400px; }
  .booking-copy, .booking-form { padding: 35px 24px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; }
  .mobile-book { position: fixed; z-index: 35; left: 14px; right: 14px; bottom: 13px; display: flex; }
  .modal-card { padding: 26px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
