:root {
  --bg: #f5fbfc;
  --surface: #ffffff;
  --surface-soft: #e8f5f6;
  --text: #183c42;
  --muted: #4f6c72;
  --brand: #2c7a86;
  --brand-strong: #205965;
  --accent: #4ea085;
  --border: #cde3e6;
  --shadow: 0 14px 34px rgba(24, 60, 66, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1120px;
}

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

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Cairo", "Manrope", sans-serif;
  color: var(--text);
  background: linear-gradient(160deg, #f8fcff 0%, var(--bg) 45%, #eef8f1 100%);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  width: 100%;
  display: block;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

a {
  color: inherit;
}

.container {
  width: min(var(--max), 92%);
  margin-inline: auto;
}

section {
  padding: 2.8rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 251, 252, 0.92);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 0 4%;
}

.nav-wrap {
  max-width: var(--max);
  margin-inline: auto;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--brand-strong);
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
  transition: color 0.15s;
}

.site-nav a:hover {
  color: var(--brand);
}

.site-nav a.active {
  color: var(--brand-strong);
}


.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  padding: 0.15rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
}

.lang-switch button {
  border: 0;
  background: transparent;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.82rem;
}

.lang-switch button.active {
  background: var(--brand);
  color: #fff;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--brand-strong);
}

.menu-toggle svg {
  display: block;
  width: 26px;
  height: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  padding: 0.7rem 1.25rem;
}

.btn-primary {
  background: linear-gradient(120deg, var(--brand), var(--accent));
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.95;
}

.btn-ghost {
  border: 1px solid var(--brand);
  color: var(--brand-strong);
  background: transparent;
}

.hero {
  padding-top: 2.8rem;
}

.hero-grid,
.split {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: 1.2fr 0.9fr;
  align-items: center;
}

h1, h2, h3 {
  margin-top: 0;
}

.hero-copy h1,
.page-hero h1 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  line-height: 1.2;
}

.page-hero p {
  margin-bottom: 0;
}

.eyebrow {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin: 0 0 0.3rem;
  font-size: 0.85rem;
}

.hero-copy p {
  margin: 0 0 0.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.hero-photo {
  display: flex;
  justify-content: center;
  margin: 0;
}

.hero-photo img {
  width: 280px;
  height: 340px;
  border-radius: 999px 999px var(--radius) var(--radius);
  object-position: center 10%;
  border: 3px solid var(--border);
  box-shadow: 0 8px 30px rgba(24, 60, 66, 0.1);
  background: #dceef0;
}

.about-hero {
  padding: 2.4rem 0 1rem;
}

.about-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-hero-inner h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin: 0.6rem 0 0.15rem;
  color: var(--brand-strong);
  line-height: 1.2;
}

.about-tagline {
  font-size: 1rem;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0;
}

.about-portrait {
  margin: 0;
  width: 160px;
  height: 160px;
  flex-shrink: 0;
}

.about-portrait img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 3px solid var(--border);
  box-shadow: 0 6px 24px rgba(24, 60, 66, 0.1);
  min-height: auto;
  background: #dceef0;
}

.about-section {
  padding: 1.8rem 0;
}

.about-alt {
  background: rgba(255, 255, 255, 0.55);
}

.about-prose {
  max-width: 680px;
  margin-inline: auto;
}

.about-prose h2 {
  font-size: 1.25rem;
  color: var(--brand-strong);
  margin: 0 0 0.5rem;
}

.about-prose p {
  color: var(--text);
  line-height: 1.85;
  font-size: 1.01rem;
  margin: 0;
}

.about-creds-section {
  max-width: 680px;
  text-align: center;
}

.about-creds-section h2 {
  margin-bottom: 1.2rem;
}

.about-creds-section .pill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  grid-template-columns: none;
}

.about-creds-section .pill-grid span {
  padding: 0.55rem 1.1rem;
  font-size: 0.92rem;
}

.story-bridge,
.credentials,
.testimonials {
  background: rgba(255, 255, 255, 0.65);
}

.story-bridge .container,
.credentials .container {
  max-width: 780px;
}

.story-bridge h2,
.credentials h2 {
  margin-bottom: 0.5rem;
}

.story-bridge p,
.story-bridge ul {
  margin-top: 0;
  margin-bottom: 0;
}

.pill-grid,
.card-grid,
.gallery-grid,
.timeline-grid {
  display: grid;
  gap: 1rem;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.pill-grid span {
  display: block;
  border: 1px solid var(--border);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
  font-size: 0.92rem;
}

.credentials .container {
  text-align: center;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card h2, .card h3 {
  margin-bottom: 0.4rem;
}

.card p {
  margin: 0;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(24, 60, 66, 0.13);
}

.quote {
  margin: 0;
  font-style: italic;
  color: var(--muted);
  line-height: 1.8;
  position: relative;
  padding: 1.8rem 1.25rem 1.25rem;
}

.quote::before {
  content: "\201C";
  position: absolute;
  top: 0.6rem;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.4;
}

html[dir="rtl"] .quote::before {
  right: 0.8rem;
}

html[dir="ltr"] .quote::before {
  left: 0.8rem;
}

.section-title-wrap {
  margin-bottom: 1rem;
}

.section-title-wrap h2 {
  margin-bottom: 0.2rem;
}

.tag {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.services-preview h2,
.testimonials h2 {
  margin-bottom: 0.8rem;
}

.inline-link {
  margin-top: 0.8rem;
  display: inline-block;
  color: var(--brand-strong);
  font-weight: 700;
}

.cta-band {
  background: linear-gradient(140deg, #d8ecef, #d7eee3);
}

.cta-wrap {
  text-align: center;
}

.cta-wrap h2 {
  margin-bottom: 0.4rem;
}

.cta-wrap p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #eff7f9;
}

.footer-wrap {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.footer-wrap p {
  margin: 0;
}

.page-main {
  min-height: calc(100vh - 162px);
}

.page-hero {
  padding-top: 2.2rem;
  padding-bottom: 0.5rem;
}

.align-center {
  align-items: center;
}

.timeline-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.timeline-card {
  border-left: 4px solid var(--accent);
  background: #fff;
  padding: 1rem;
  border-radius: var(--radius-sm);
}

html[dir="rtl"] .timeline-card {
  border-left: 0;
  border-right: 4px solid var(--accent);
}

.clean-list {
  margin: 0;
  padding-inline-start: 1.2rem;
  line-height: 2;
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.gallery-item {
  margin: 0;
  padding: 0.6rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.gallery-item img {
  min-height: 170px;
  background: #dceef0;
}

.gallery-item figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-centered {
  max-width: 580px;
  margin-inline: auto;
  padding-top: 0;
}

[data-page="contact"] .page-hero + section,
[data-page="book"] .page-hero + section {
  padding-top: 0.5rem;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.contact-booking-prompt {
  text-align: center;
  margin-top: 1.5rem;
}

.contact-booking-prompt p {
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.contact-form label {
  display: block;
  margin-top: 0.75rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(44, 122, 134, 0.12);
}

.contact-form button {
  margin-top: 1rem;
  width: 100%;
}

.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.note {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0.4rem 0 0;
}

.hidden-field {
  position: absolute;
  left: -10000px;
}

.centered {
  text-align: center;
}

@media (max-width: 960px) {
  .menu-toggle {
    display: block;
    order: -1;
  }

  .site-header {
    position: relative;
  }

  .header-actions .btn {
    display: none;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    background: #f5fbfc;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 4% 0.8rem;
    gap: 0;
    box-shadow: 0 8px 20px rgba(24, 60, 66, 0.07);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.98rem;
  }

  .site-nav a:last-of-type {
    border-bottom: 0;
  }

  .pill-grid {
    flex-direction: column;
    align-items: center;
  }

  .pill-grid span {
    width: 100%;
    max-width: 320px;
    text-align: center;
    border-radius: var(--radius-sm);
  }
}

@media (max-width: 820px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-photo img {
    width: 220px;
    height: 270px;
  }
}
