:root {
  --ink: #121017;
  --muted: #696574;
  --paper: #fbfaf8;
  --soft: #f2eef2;
  --line: rgba(18, 16, 23, 0.12);
  --red: #e62f4b;
  --purple: #6d3df5;
  --black: #0c0b10;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(18, 16, 23, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body[dir="rtl"] { font-family: Tahoma, Arial, sans-serif; }

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(251, 250, 248, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  font-size: 1.1rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: linear-gradient(135deg, var(--black), var(--red) 48%, var(--purple));
  border-radius: 8px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a { color: rgba(18, 16, 23, 0.78); }
.main-nav a:hover { color: var(--red); }

.lang-toggle, .nav-toggle, button {
  font: inherit;
}

.lang-toggle {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 14px;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 11, 16, 0.76), rgba(12, 11, 16, 0.34) 58%, rgba(109, 61, 245, 0.2));
  z-index: -1;
}

.hero-content {
  width: min(760px, calc(100% - 36px));
  margin-inline: clamp(18px, 8vw, 112px);
  padding-block: 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow { color: #ffb4c0; }

h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: 0; }

h1 { font-size: clamp(2.55rem, 7vw, 6.3rem); max-width: 11ch; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.22rem; }

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions, .card-grid, .portfolio-grid, .article-grid, .booking-page-grid, .contact-grid, .section-grid {
  display: grid;
  gap: 18px;
}

.hero-actions {
  grid-template-columns: repeat(2, max-content);
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--red); color: var(--white); box-shadow: 0 14px 32px rgba(230, 47, 75, 0.28); }
.btn.secondary { background: rgba(255, 255, 255, 0.92); color: var(--ink); }
.btn.ghost { background: var(--white); border-color: var(--line); color: var(--ink); margin: 28px auto 0; }

.section {
  padding: clamp(64px, 8vw, 118px) clamp(18px, 5vw, 74px);
}

.section-heading {
  width: min(800px, 100%);
  margin-bottom: 30px;
}

.section-copy p, .section-heading + p, .page-title p, .story-card p, .wide-service p, .contact-card p {
  color: var(--muted);
}

.section-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  align-items: center;
}

.about-band { background: var(--white); }

.milestones {
  display: grid;
  gap: 14px;
}

.milestones div {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.milestones strong { color: var(--purple); font-size: 1.25rem; }

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card, .story-card, .wide-service, .contact-card, .article-card, .booking-widget, .contact-form, .unit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 36px rgba(18, 16, 23, 0.06);
}

.service-card {
  min-height: 260px;
  padding: 28px;
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--black);
  border-radius: 8px;
  font-size: 1.35rem;
}

.service-card:nth-child(2) .icon, .wide-service:nth-child(3) .icon { background: var(--purple); }
.service-card:nth-child(3) .icon, .wide-service:nth-child(2) .icon { background: var(--red); }

.portfolio-section { background: var(--black); color: var(--white); }
.portfolio-section .eyebrow { color: #ff8ea0; }
.portfolio-section .section-heading { color: var(--white); }

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.property-card {
  overflow: hidden;
  min-height: 380px;
  background: #201c28;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.property-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.property-card div { padding: 22px; }
.property-card p { color: rgba(255, 255, 255, 0.74); }

.is-extra { display: none; }
.portfolio-grid.is-expanded .is-extra { display: block; }

.blog-preview { background: var(--soft); }

.blog-carousel {
  position: relative;
  min-height: 250px;
  padding: 20px 72px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.blog-slide { display: none; }
.blog-slide.is-active { display: block; animation: fadeSlide 420ms ease both; }
.blog-slide span, .article-card span { color: var(--purple); font-weight: 850; font-size: 0.8rem; text-transform: uppercase; }

.carousel-btn {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
  font-size: 1.8rem;
}

[data-carousel-prev] { left: 16px; }
[data-carousel-next] { right: 16px; }

.centered { display: table; margin: 22px auto 0; }
.text-link { color: var(--red); font-weight: 850; }

.booking-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1fr);
  align-items: center;
  gap: 26px;
  background: linear-gradient(135deg, #fff, #f6f1ff 48%, #fff0f2);
}

.booking-widget, .contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

label { display: grid; gap: 7px; font-weight: 800; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.confirmation {
  display: none;
  margin: 0;
  color: #157347;
  font-weight: 800;
}

.confirmation.is-visible { display: block; animation: fadeSlide 300ms ease both; }

.page-hero {
  position: relative;
  min-height: 62svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 11, 16, 0.82), rgba(12, 11, 16, 0.18));
  z-index: -1;
}

.page-hero-copy {
  width: min(900px, calc(100% - 36px));
  padding: 70px clamp(18px, 6vw, 80px);
}

.page-title {
  padding: clamp(74px, 10vw, 132px) clamp(18px, 5vw, 74px) 34px;
  max-width: 980px;
}

.story-layout, .service-list {
  display: grid;
  gap: 18px;
}

.story-layout { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-card { padding: 26px; }

.innovation-strip {
  background: var(--black);
  color: var(--white);
}

.innovation-strip p { max-width: 900px; color: rgba(255, 255, 255, 0.74); }

.wide-service {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 26px;
  align-items: start;
}

.category-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 clamp(18px, 5vw, 74px) 8px;
}

.category-bar button {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--white);
  font-weight: 800;
}

.article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-card { overflow: hidden; }
.article-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.article-card span, .article-card h2, .article-card p { margin-inline: 20px; }
.article-card span { display: block; margin-top: 20px; }
.article-card p { margin-bottom: 22px; color: var(--muted); }
.article-card h2 { margin-top: 10px; font-size: 1.45rem; }

.booking-page-grid, .contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  align-items: start;
}

.unit-list { display: grid; gap: 16px; }
.unit-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  overflow: hidden;
}
.unit-card img { width: 100%; height: 100%; object-fit: cover; }
.unit-card div { padding: 20px; }
.unit-card p { color: var(--muted); }

.contact-card {
  display: grid;
  gap: 14px;
  padding: 26px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr;
  gap: 28px;
  padding: 42px clamp(18px, 5vw, 74px);
  background: #15121b;
  color: var(--white);
}

.site-footer p, .site-footer address, .site-footer a { color: rgba(255, 255, 255, 0.75); }
.site-footer nav, .site-footer address { display: grid; gap: 10px; font-style: normal; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeSlide 640ms ease forwards;
}

@keyframes fadeSlide {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; scroll-behavior: auto !important; }
  .hero-video { display: none; }
  .motion-hero { background: url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1800&q=72") center / cover; }
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 76px;
    left: 14px;
    right: 14px;
    display: none;
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: grid; }
  .section-grid, .card-grid, .portfolio-grid, .story-layout, .article-grid, .booking-panel, .booking-page-grid, .contact-grid, .site-footer {
    grid-template-columns: 1fr;
  }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-content { margin-inline: 18px; }
  h1 { max-width: 12ch; }
}

@media (max-width: 620px) {
  .site-header { min-height: 68px; }
  .main-nav { top: 68px; }
  .hero { min-height: calc(100svh - 68px); }
  .hero-content { width: calc(100% - 36px); }
  h1 { font-size: 2.55rem; }
  h2 { font-size: 2rem; }
  .blog-carousel { padding: 18px; }
  .carousel-btn { position: static; transform: none; margin: 8px 6px 0 0; }
  .unit-card { grid-template-columns: 1fr; }
  .unit-card img { aspect-ratio: 4 / 3; }
}
