@import url("https://fonts.googleapis.com/css2?family=Lalezar&display=swap");

/* Rimal & Mawj — warm sand, night-sea blue, turquoise and sunset orange; poster type, photo-led blocks. */
body[data-demo="qatours"] {
  --bg: #f5ecdc; --ink: #10222f; --muted: #5d6670; --card: #fffaf1; --line: #e8d9bd;
  --accent: #0e9f9e; --accent-ink: #fff; --accent2: #f08a3c; --night: #0b2233; --radius: 20px;
  --font: "Readex Pro", system-ui, sans-serif; --display: "Lalezar", "Bricolage Grotesque", sans-serif;
  font: 15.5px/1.75 var(--font);
}
html[lang="en"] body[data-demo="qatours"] { --display: "Bricolage Grotesque", sans-serif; }
body[data-demo="qatours"] h1, body[data-demo="qatours"] h2, body[data-demo="qatours"] h3 { font-weight: 400; }
html[lang="en"] body[data-demo="qatours"] :is(h1, h2, h3) { font-weight: 800; letter-spacing: -.5px; }
.rm-dune { display: block; width: 100%; height: clamp(34px, 5vw, 80px); fill: var(--bg); position: absolute; inset-inline: 0; bottom: -1px; }
.rm-dune.top { position: absolute; top: calc(-1 * clamp(34px, 5vw, 80px) + 1px); bottom: auto; }

/* ---------- header: transparent over the photo, solid on scroll ---------- */
body[data-demo="qatours"] #top { position: fixed; inset-inline: 0; top: 0; background: transparent; border: 0; backdrop-filter: none; color: #fff; padding: 14px clamp(16px, 4vw, 48px); transition: background .3s, padding .3s, box-shadow .3s; }
body[data-demo="qatours"] #top.solid { background: rgba(11, 34, 51, .92); backdrop-filter: blur(10px); padding-block: 8px; box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); }
.rm-brand { display: flex; align-items: center; gap: 10px; }
.rm-brand img { width: 44px; height: 44px; border-radius: 50%; background: #fff; object-fit: contain; padding: 2px; }
.rm-brand b { display: block; font-family: var(--display); font-size: 24px; line-height: 1.1; }
.rm-brand small { display: block; font-size: 12px; opacity: .8; }
.rm-nav { display: flex; gap: 6px; margin-inline: auto; }
.rm-nav a { padding: 6px 16px; border-radius: 999px; font-weight: 600; }
.rm-nav a:hover { background: rgba(255,255,255,.15); }
.rm-end { display: flex; align-items: center; gap: 8px; }
.rm-ghost { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 600; }
.rm-go { display: inline-flex; align-items: center; gap: 10px; background: var(--accent2); color: #fff; border: 0; border-radius: 999px; padding: 10px 22px; font-weight: 700; font-size: 15px; box-shadow: 0 10px 24px -10px rgba(240, 138, 60, .8); transition: transform .2s, background .2s; }
.rm-go:hover { background: #e2762a; transform: translateY(-2px); }
.rm-go.big { padding: 16px 30px; font-size: 17px; }
.rm-go i { font-style: normal; }

/* ---------- hero: full-bleed poster ---------- */
body[data-demo="qatours"] #hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; max-width: none; min-height: max(640px, 100svh); padding: 120px clamp(16px, 4vw, 48px) clamp(70px, 9vw, 130px); color: #fff; overflow: hidden; isolation: isolate; }
.rm-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
#hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,34,51,.55) 0%, rgba(11,34,51,0) 28%, rgba(11,34,51,.15) 50%, rgba(11,34,51,.8) 100%); }
.rm-hero-in { max-width: 1240px; width: 100%; margin: 0 auto; }
.rm-places { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.rm-places li { font-size: 13px; font-weight: 600; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); padding: 4px 14px 4px 12px; border-radius: 999px; display: flex; align-items: center; gap: 7px; }
.rm-places li::before { content: ""; width: 8px; height: 8px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--accent2); }
#hero .rm-hero-in h1 { font-family: var(--display); font-size: clamp(54px, 8.6vw, 128px); line-height: 1.02; max-width: 1000px; margin: 0 0 16px; text-shadow: 0 6px 30px rgba(0,0,0,.35); }
.rm-lead { font-size: clamp(16px, 1.5vw, 19px); max-width: 620px; margin: 0 0 26px; color: rgba(255,255,255,.9); }
.rm-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.rm-glass { display: inline-flex; align-items: center; padding: 16px 28px; border-radius: 999px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(8px); font-weight: 700; font-size: 17px; }
.rm-glass:hover { background: rgba(255,255,255,.28); }
.rm-stats { list-style: none; padding: 0; margin: 40px auto 0; max-width: 1240px; width: 100%; display: flex; gap: clamp(22px, 5vw, 70px); border-top: 1px solid rgba(255,255,255,.3); padding-top: 18px; }
.rm-stats li { display: flex; align-items: baseline; gap: 10px; }
.rm-stats b { font-family: var(--display); font-size: clamp(36px, 4vw, 54px); line-height: 1; color: #ffd29e; }
.rm-stats span { font-size: 14px; color: rgba(255,255,255,.85); }

/* ---------- section heads ---------- */
.rm-sec { max-width: 1320px; padding-inline: clamp(16px, 4vw, 48px); }
.rm-head { display: flex; justify-content: space-between; align-items: end; gap: 10px 30px; flex-wrap: wrap; margin-bottom: 28px; }
.rm-head h2 { font-family: var(--display); font-size: clamp(44px, 6vw, 80px); line-height: 1; color: var(--night); }
.rm-head p { margin: 0; color: var(--muted); max-width: 420px; }
.rm-head.light h2 { color: #fff; } .rm-head.light p { color: #a9c3d2; }

/* ---------- trips: magazine grid ---------- */
.rm-trips { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; gap: 16px; }
.rm-trip { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; cursor: pointer; isolation: isolate; display: flex; align-items: flex-end; animation: kitpop .45s both; }
.rm-trip.big { grid-column: span 2; grid-row: span 2; }
.rm-trip > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s; }
.rm-trip::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,34,51,0) 35%, rgba(11,34,51,.88)); }
.rm-trip:hover > img { transform: scale(1.06); }
.rm-trip-in { padding: 20px 22px; width: 100%; }
.rm-trip h3 { font-family: var(--display); font-size: 30px; line-height: 1.15; }
.rm-trip.big h3 { font-size: clamp(36px, 4vw, 58px); }
.rm-trip p { margin: 4px 0 0; font-size: 14px; color: rgba(255,255,255,.85); }
.rm-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.rm-meta span { font-size: 12.5px; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); border-radius: 999px; padding: 2px 10px; }
.rm-price { position: absolute; top: 14px; inset-inline-end: 14px; background: #fff; color: var(--night); font-weight: 700; font-size: 14px; border-radius: 999px; padding: 6px 14px; box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); }
.rm-badge { position: absolute; top: 14px; inset-inline-start: 14px; background: var(--accent2); color: #fff; font-weight: 700; font-size: 12.5px; border-radius: 999px; padding: 5px 13px; }
.rm-book { margin-top: 12px; display: inline-flex; gap: 8px; align-items: center; background: none; border: 0; color: #fff; padding: 0 0 2px; font-weight: 700; border-bottom: 2px solid var(--accent2); }
.rm-book i { font-style: normal; transition: transform .2s; }
.rm-trip:hover .rm-book i { transform: translateX(-4px); } [dir=ltr] .rm-trip:hover .rm-book i { transform: translateX(4px); }

/* ---------- yachts: night-sea band, spec sheets ---------- */
.rm-sea { position: relative; background: radial-gradient(ellipse at 20% 45%, #134a63, var(--night) 65%); color: #fff; margin-top: clamp(80px, 10vw, 140px); }
.rm-sea .rm-dune { fill: var(--night); }
.rm-sea-in { max-width: 1320px; margin: 0 auto; padding: clamp(40px, 6vw, 70px) clamp(16px, 4vw, 48px) clamp(60px, 8vw, 100px); }
.rm-yachts { display: grid; gap: 18px; }
.rm-yacht { display: grid; grid-template-columns: 1.2fr 1fr; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: background .25s; }
.rm-yacht:nth-child(even) { grid-template-columns: 1fr 1.2fr; }
.rm-yacht:nth-child(even) .rm-y-ph { order: 2; }
.rm-yacht:hover { background: rgba(255,255,255,.1); }
.rm-y-ph { position: relative; min-height: 280px; }
.rm-y-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rm-y-in { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.rm-y-in h3 { font-family: var(--display); font-size: clamp(34px, 3.4vw, 48px); line-height: 1.05; }
.rm-y-in p { margin: 0; color: #a9c3d2; }
.rm-y-in dl { margin: 10px 0 16px; display: grid; grid-template-columns: repeat(3, auto); gap: 10px; }
.rm-y-in dl div { border-inline-start: 2px solid var(--accent); padding-inline-start: 12px; }
.rm-y-in dt { font-size: 12px; color: #86a6b8; }
.rm-y-in dd { margin: 0; font-weight: 600; font-size: 16px; }
.rm-y-price { color: #ffd29e; font-size: 20px !important; }
.rm-y-in .rm-go { align-self: flex-start; }

/* ---------- reviews over a photo ---------- */
.rm-reviews { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.rm-reviews::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,34,51,.85), rgba(11,34,51,.45)); }
.rm-rev-in { max-width: 1320px; margin: 0 auto; padding: clamp(60px, 9vw, 120px) clamp(16px, 4vw, 48px); }
.rm-rev-in h2 { font-family: var(--display); font-size: clamp(40px, 5vw, 66px); margin-bottom: 26px; }
.rm-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rm-quotes blockquote { margin: 0; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); border-radius: var(--radius); padding: 26px; }
.rm-q { display: block; font-family: Georgia, serif; font-size: 70px; line-height: .6; color: var(--accent2); height: 30px; }
.rm-quotes p { margin: 0 0 14px; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.6; font-weight: 300; }
.rm-quotes cite { font-style: normal; font-weight: 700; color: #ffd29e; font-size: 14px; }

/* ---------- faq ---------- */
.rm-faq .faq { max-width: none; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
body[data-demo="qatours"] .faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; }
body[data-demo="qatours"] .faq summary { font-size: 16.5px; color: var(--night); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
body[data-demo="qatours"] .faq summary::-webkit-details-marker { display: none; }
body[data-demo="qatours"] .faq summary::after { content: "+"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 400; transition: transform .25s; }
body[data-demo="qatours"] .faq details[open] summary::after { transform: rotate(45deg); background: var(--accent2); }

/* ---------- footer ---------- */
body[data-demo="qatours"] #foot { position: relative; margin-top: clamp(80px, 10vw, 140px); background: var(--night); color: #cfe0ea; border: 0; padding: 30px 16px 110px; }
body[data-demo="qatours"] #foot .rm-dune { fill: var(--night); }
.rm-foot { display: grid; gap: 6px; justify-items: center; }
.rm-foot-name { font-family: var(--display); font-size: clamp(48px, 8vw, 96px); line-height: 1.1; color: #ffd29e; }
.rm-foot p { margin: 0; color: #a9c3d2; }
.rm-foot nav { display: flex; gap: 18px; margin: 8px 0; font-weight: 600; color: #fff; }
body[data-demo="qatours"] #foot .photo-note { color: #7f9db0; }

/* ---------- forms ---------- */
body[data-demo="qatours"] .kit-layer.center { border-radius: 24px; }
body[data-demo="qatours"] .form-sheet h3, body[data-demo="qatours"] .done h3 { font-family: var(--display); font-size: 32px; font-weight: 400; color: var(--night); }
html[lang="en"] body[data-demo="qatours"] .form-sheet h3 { font-weight: 800; font-size: 26px; }
body[data-demo="qatours"] .btn.big.wide { background: var(--accent2); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .rm-nav { display: none; }
  .rm-end .rm-go { display: none; }
  .rm-brand small { display: none; }
  .rm-brand b { font-size: 21px; }
  body[data-demo="qatours"] #hero { min-height: max(600px, 92svh); padding-bottom: 70px; }
  #hero .rm-hero-in h1 { font-size: clamp(50px, 14vw, 72px); }
  .rm-stats { gap: 18px; margin-top: 28px; }
  .rm-stats li { flex-direction: column; gap: 2px; }
  .rm-stats b { font-size: 34px; } .rm-stats span { font-size: 12px; line-height: 1.4; }
  .rm-trips { grid-template-columns: 1fr; grid-auto-rows: minmax(340px, auto); }
  .rm-trip.big { grid-column: auto; grid-row: span 1; }
  .rm-trip.big { min-height: 440px; }
  .rm-yacht, .rm-yacht:nth-child(even) { grid-template-columns: 1fr; }
  .rm-yacht:nth-child(even) .rm-y-ph { order: 0; }
  .rm-y-ph { min-height: 220px; }
  .rm-y-in dl { grid-template-columns: 1fr 1fr; }
  .rm-y-in dl div:last-child { grid-column: 1 / -1; }
  .rm-quotes { grid-template-columns: 1fr; }
  .rm-faq .faq { grid-template-columns: 1fr; }
}
body[data-demo="qatours"] #top .rm-nav { color: #fff; }
@media (min-width: 901px) { .rm-trips > .rm-trip:nth-child(5):last-child { grid-column: span 2; } }
@media (max-width: 900px) { #hero::before { background: linear-gradient(180deg, rgba(11,34,51,.6) 0%, rgba(11,34,51,.1) 25%, rgba(11,34,51,.55) 55%, rgba(11,34,51,.9) 100%); } }
