/* ==========================================================================
   Qafalt Sohar Building Maintenance & Construction
   Main stylesheet — RTL first, LTR supported via logical properties
   ========================================================================== */

:root {
  --brand: #ef7f1a;
  --brand-dark: #d9690a;
  --brand-soft: #fdf1e5;
  --ink: #17191c;
  --ink-2: #23262b;
  --body: #5c6068;
  --line: #e9e3dc;
  --cream: #fdf9f4;
  --white: #ffffff;
  --success: #1f8a5b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 6px 18px rgba(23, 25, 28, .06);
  --shadow: 0 18px 46px rgba(23, 25, 28, .10);
  --container: 1200px;
  --header-h: 82px;
  --font: "Cairo", "Segoe UI", Tahoma, sans-serif;
}

html[dir="ltr"] {
  --font: "Inter", "Cairo", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.32;
  margin: 0 0 .6em;
  letter-spacing: -.2px;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
h2 { font-size: clamp(1.6rem, 2.9vw, 2.35rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--brand-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: clamp(64px, 8vw, 104px); }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: #b9bcc2; }
.section--ink h2, .section--ink h3 { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 26px rgba(239, 127, 26, .28);
}
.btn--primary:hover { background: var(--brand-dark); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(23, 25, 28, .18);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn--light {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .32);
  backdrop-filter: blur(4px);
}
.btn--light:hover { background: #fff; color: var(--ink); }

.btn--block { width: 100%; }
.btn--lg { padding: 17px 34px; font-size: 1.02rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: #b9bcc2;
  font-size: .86rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
  padding-block: 6px;
}
.topbar__contact {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.topbar a {
  color: #e6e7ea;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  direction: ltr;
}
.topbar a:hover { color: var(--brand); }
.topbar svg { width: 15px; height: 15px; opacity: .8; }
.topbar__note { display: inline-flex; align-items: center; gap: 8px; }
.topbar__note b { color: #fff; font-weight: 600; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); display: inline-block; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.header.is-stuck { box-shadow: 0 8px 28px rgba(23, 25, 28, .07); }
.header__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  margin-inline-end: auto;
}
.brand img { height: 50px; width: auto; }
.brand__text { line-height: 1.25; }
.brand__text strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
}
.brand__text span {
  display: block;
  font-size: .68rem;
  letter-spacing: .5px;
  color: #8b8f97;
  text-transform: uppercase;
  direction: ltr;
  text-align: start;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink-2);
  font-weight: 600;
  font-size: .95rem;
}
.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform .25s ease;
  border-radius: 2px;
}
.nav a:hover { color: var(--brand-dark); }
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--ink); }

.header__actions { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: inline-flex;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.lang-switch button {
  border: 0;
  background: transparent;
  padding: 7px 13px;
  font-size: .8rem;
  font-weight: 700;
  color: #6f747c;
  cursor: pointer;
  line-height: 1.4;
}
.lang-switch button.is-active { background: var(--ink); color: #fff; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
}
.drawer.is-open { display: block; }
.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 15, 17, .5);
  opacity: 0;
  transition: opacity .3s ease;
}
.drawer.is-visible .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(330px, 86vw);
  background: #fff;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
}
html[dir="rtl"] .drawer__panel { transform: translateX(-100%); }
.drawer.is-visible .drawer__panel { transform: translateX(0); }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.drawer__head img { height: 42px; }
.drawer__close {
  border: 0;
  background: var(--brand-soft);
  color: var(--brand-dark);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
}
.drawer .btn { margin-top: 18px; }
.drawer__contact { margin-top: 22px; font-size: .92rem; }
.drawer__contact a { display: block; color: var(--ink-2); direction: ltr; text-align: start; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(12, 14, 16, .93) 6%, rgba(12, 14, 16, .78) 45%, rgba(12, 14, 16, .38) 100%);
}
html[dir="rtl"] .hero__bg::after {
  background:
    linear-gradient(260deg, rgba(12, 14, 16, .93) 6%, rgba(12, 14, 16, .78) 45%, rgba(12, 14, 16, .34) 100%);
}
.hero__inner {
  position: relative;
  padding-block: clamp(80px, 11vw, 132px);
  max-width: 720px;
}
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 em {
  font-style: normal;
  color: var(--brand);
}
.hero__lead {
  color: rgba(255, 255, 255, .84);
  font-size: 1.06rem;
  max-width: 58ch;
  margin-bottom: 2em;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 2.4em;
}
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: .9rem;
  color: rgba(255, 255, 255, .82);
}
.hero__chips li { display: flex; align-items: center; gap: 8px; }
.hero__chips svg { width: 17px; height: 17px; color: var(--brand); flex: none; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  padding: 7px 16px 7px 10px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .2px;
  margin-bottom: 22px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  --mask: none;
  flex: none;
}
.kicker--ink {
  background: var(--brand-soft);
  border-color: #f6ddc5;
  color: var(--brand-dark);
}
.kicker--ink::before { background: var(--brand); }

/* Floating quick call card */
.hero__aside {
  position: absolute;
  inset-inline-end: 24px;
  bottom: 36px;
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 300px;
}
.hero__aside .icon-round {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  flex: none;
}
.hero__aside strong { display: block; font-size: .95rem; line-height: 1.4; }
.hero__aside a { font-size: .9rem; font-weight: 700; direction: ltr; color: var(--ink-2); }

/* ---------- Section heading ---------- */
.sec-head { max-width: 700px; margin-bottom: clamp(34px, 4vw, 52px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head p { font-size: 1.02rem; margin-bottom: 0; }
.sec-head .kicker { color: var(--brand-dark); }

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform .3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: #f2e3d3;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: .35em; font-size: 1.14rem; }
.service-card p { font-size: .93rem; margin-bottom: 1em; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: .88rem;
  color: var(--brand-dark);
}
.service-card__link svg { width: 15px; height: 15px; transition: transform .2s ease; }
html[dir="rtl"] .service-card__link svg { transform: scaleX(-1); }
.service-card:hover .service-card__link svg { transform: translateX(3px); }
html[dir="rtl"] .service-card:hover .service-card__link svg { transform: scaleX(-1) translateX(3px); }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}
.about__media { position: relative; }
.about__media-main {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 4.4;
}
.about__media-main img { width: 100%; height: 100%; object-fit: cover; }
.about__media-small {
  position: absolute;
  inset-inline-start: -22px;
  bottom: -28px;
  width: 47%;
  border-radius: 16px;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: var(--shadow);
}
.about__media-small img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.about__badge {
  position: absolute;
  inset-inline-end: 18px;
  top: 18px;
  background: var(--brand);
  color: #fff;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 800;
  font-size: .85rem;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}
.about__badge span { display: block; font-size: 1.4rem; font-weight: 800; }
.about h2 { margin-bottom: .5em; }
.about p { font-size: 1rem; }
.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin: 26px 0 32px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .93rem;
  color: var(--ink-2);
  font-weight: 600;
  line-height: 1.6;
}
.checklist svg { width: 19px; height: 19px; color: var(--success); flex: none; margin-top: 4px; }

/* ---------- Feature strip ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature {
  background: var(--ink);
  padding: 32px 24px;
  text-align: center;
}
.feature__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(239, 127, 26, .14);
  color: var(--brand);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1rem; margin-bottom: .3em; color: #fff; }
.feature p { font-size: .86rem; margin: 0; color: #9ba0a8; }

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.step__num {
  counter-increment: step;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-dark);
  background: var(--brand-soft);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.step__num::before { content: "0" counter(step); }
.step h3 { font-size: 1rem; margin-bottom: .35em; }
.step p { font-size: .88rem; margin: 0; }

/* ---------- Gallery ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.filters button {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  padding: 9px 20px;
  border-radius: 999px;
  font-size: .87rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}
.filters button:hover { border-color: var(--brand); color: var(--brand-dark); }
.filters button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  background: #eee;
  border: 0;
  padding: 0;
  display: block;
  width: 100%;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 12, 14, .82), rgba(10, 12, 14, .05) 55%, transparent);
  opacity: .85;
  transition: opacity .3s ease;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }
.gallery__cap {
  position: absolute;
  inset-inline: 20px;
  bottom: 18px;
  z-index: 2;
  text-align: start;
  color: #fff;
  transform: translateY(4px);
  transition: transform .3s ease;
}
.gallery__item:hover .gallery__cap { transform: translateY(0); }
.gallery__cap strong { display: block; font-size: .98rem; font-weight: 700; }
.gallery__cap span { font-size: .78rem; color: rgba(255, 255, 255, .75); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(8, 9, 10, .93);
  display: none;
  place-items: center;
  padding: 4vh 4vw;
}
.lightbox.is-open { display: grid; }
.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
}
.lightbox__close {
  position: absolute;
  inset-block-start: 18px;
  inset-inline-end: 22px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.lightbox__caption {
  position: absolute;
  bottom: 16px;
  inset-inline: 0;
  text-align: center;
  color: rgba(255, 255, 255, .8);
  font-size: .9rem;
}

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(36px, 5vw, 60px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(12, 14, 16, .94), rgba(12, 14, 16, .72));
}
.cta h2 { color: #fff; margin-bottom: .25em; font-size: clamp(1.45rem, 2.6vw, 2rem); }
.cta p { margin: 0; color: rgba(255, 255, 255, .8); max-width: 60ch; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: #101215; color: #a3a8b0; font-size: .92rem; }
.footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-block: 64px 48px;
}
.footer h4 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: 1.2em;
  position: relative;
  padding-bottom: .7em;
}
.footer h4::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  background: var(--brand);
}
.footer__brand img { height: 56px; margin-bottom: 18px; }
.footer__brand p { line-height: 1.9; color: #9298a1; margin-bottom: 20px; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { color: #a3a8b0; }
.footer__links a:hover { color: var(--brand); }
.footer__contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.footer__contact svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 5px; }
.footer__contact a { color: #d3d6db; }
.footer__contact span { direction: ltr; display: block; text-align: start; }
.socials { display: flex; gap: 10px; margin-top: 6px; }
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .07);
  color: #d3d6db;
  transition: all .2s ease;
}
.socials a:hover { background: var(--brand); color: #fff; }
.socials svg { width: 17px; height: 17px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding-block: 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: #7d828b;
}

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed;
  inset-inline-end: 22px;
  bottom: 22px;
  z-index: 70;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 211, 102, .38);
  transition: transform .2s ease;
}
.float-wa:hover { transform: scale(1.07); color: #fff; }
.float-wa svg { width: 29px; height: 29px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(52px, 7vw, 86px);
  isolation: isolate;
  color: #fff;
  overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 14, 16, .92), rgba(12, 14, 16, .66));
}
html[dir="rtl"] .page-hero__bg::after {
  background: linear-gradient(270deg, rgba(12, 14, 16, .92), rgba(12, 14, 16, .66));
}
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: rgba(255, 255, 255, .82); max-width: 64ch; margin: 0; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .62);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.breadcrumb span { opacity: .5; }

/* ---------- Detailed service rows ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(30px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 0; }
.service-row:nth-child(even) .service-row__media { order: 2; }
html[dir="rtl"] .service-row:nth-child(even) .service-row__media { order: 2; }
.service-row__media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
}
.service-row__media img { width: 100%; height: 100%; object-fit: cover; }
.service-row__body h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: .5em;
  font-size: 1.35rem;
}
.service-row__body .num {
  font-size: .8rem;
  font-weight: 800;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-radius: 8px;
  padding: 4px 10px;
  flex: none;
}
.service-row__body > p { font-size: .96rem; }
.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin: 18px 0 24px;
}
.service-list li {
  position: relative;
  padding-inline-start: 20px;
  font-size: .89rem;
  color: var(--ink-2);
  line-height: 1.7;
}
.service-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--brand);
  opacity: .85;
}

/* ---------- Booking page ---------- */
.booking-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(26px, 3.5vw, 44px);
  align-items: start;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(24px, 3vw, 38px);
}
.card h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-bottom: .4em; }
.card--sticky { position: sticky; top: calc(var(--header-h) + 20px); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  margin-top: 26px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: .87rem;
  font-weight: 700;
  color: var(--ink-2);
}
.field label .req { color: var(--brand); }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: #fcfbfa;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  line-height: 1.6;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 124px; }
.field select { appearance: none; cursor: pointer; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(239, 127, 26, .12);
}
.field input::placeholder,
.field textarea::placeholder { color: #a9adb4; }
.field__hint { font-size: .78rem; color: #9095a0; }
.field--error input,
.field--error select,
.field--error textarea { border-color: #d64545; }
.field--error .field__hint { color: #d64545; }

.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: .86rem;
  font-weight: 600;
  cursor: pointer;
  background: #fcfbfa;
  transition: all .2s ease;
}
.radio-row input { accent-color: var(--brand); width: 15px; height: 15px; }
.radio-row label:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .84rem;
  color: var(--body);
  line-height: 1.7;
}
.consent input { margin-top: 5px; accent-color: var(--brand); width: 16px; height: 16px; flex: none; }

.hp { position: absolute; inset-inline-start: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .8rem;
  color: #8b9099;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: 18px;
  line-height: 1.7;
}
.form-note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--brand-dark); }

.form-alert {
  display: none;
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: .88rem;
  font-weight: 600;
  margin-top: 18px;
}
.form-alert.is-error {
  display: block;
  background: #fdeeee;
  color: #b32d2d;
  border: 1px solid #f7d3d3;
}
.form-alert.is-success {
  display: block;
  background: #eaf8f1;
  color: #16704a;
  border: 1px solid #c8ecdb;
}

/* Contact list card */
.contact-list { display: grid; gap: 4px; margin-top: 8px; }
.contact-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
  align-items: flex-start;
}
.contact-item:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  flex: none;
}
.contact-item__icon svg { width: 19px; height: 19px; }
.contact-item strong {
  display: block;
  font-size: .82rem;
  color: #8b9099;
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-item a,
.contact-item p {
  color: var(--ink);
  font-weight: 700;
  font-size: .96rem;
  margin: 0;
  line-height: 1.6;
}
.contact-item a[dir="ltr"] { direction: ltr; display: inline-block; }

.hours { margin-top: 22px; background: var(--cream); border-radius: var(--radius-sm); padding: 16px 18px; }
.hours strong { display: block; font-size: .88rem; color: var(--ink); margin-bottom: 6px; }
.hours p { margin: 0; font-size: .85rem; }
.hours .open {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--success);
  font-weight: 700;
  font-size: .82rem;
  margin-top: 8px;
}

.map-wrap {
  margin-top: 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-wrap iframe { width: 100%; height: 230px; border: 0; display: block; }

/* ---------- Thank-you / result page ---------- */
.result {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 24px;
  background: var(--cream);
}
.result__card {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: clamp(30px, 5vw, 54px);
  max-width: 620px;
  width: 100%;
  text-align: center;
}
.result__icon {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
}
.result__icon svg { width: 40px; height: 40px; }
.result__icon--ok { background: #eaf8f1; color: var(--success); }
.result__icon--err { background: #fdeeee; color: #c0392b; }
.result__card h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.result__card p { font-size: .98rem; }
.result__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.result__ref {
  display: inline-block;
  background: var(--cream);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: .82rem;
  color: var(--ink-2);
  margin-top: 8px;
  direction: ltr;
}
.result__meta {
  text-align: start;
  margin: 26px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: .9rem;
}
.result__meta div { display: flex; gap: 10px; padding: 7px 0; }
.result__meta dt { color: #8b9099; min-width: 120px; font-weight: 600; }
.result__meta dd { margin: 0; color: var(--ink); font-weight: 600; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header__inner { gap: 14px; }
  .header__actions .btn { display: none; }
  .hero__aside { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: 1fr 1fr; gap: 34px; }
  .booking-layout { grid-template-columns: 1fr; }
  .card--sticky { position: static; }
}

@media (max-width: 800px) {
  .topbar__note { display: none; }
  .topbar__inner { justify-content: center; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; margin-inline: auto; }
  .about__media-small { inset-inline-start: 0; width: 42%; bottom: -20px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 1fr; gap: 22px; }
  .service-row:nth-child(even) .service-row__media { order: 0; }
  .cta { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .brand img { height: 42px; }
  .brand__text strong { font-size: .92rem; }
  .brand__text span { font-size: .6rem; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .services-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .brand__text { display: none; }
  .topbar__contact { gap: 14px; font-size: .8rem; }
  .section { padding-block: 56px; }
  .card { padding: 22px 18px; }
  .result__meta dt { min-width: 96px; }
  .float-wa { width: 50px; height: 50px; inset-inline-end: 14px; bottom: 14px; }
}

/* ---------- Print ---------- */
@media print {
  .header, .topbar, .footer, .float-wa, .cta, .hero__aside { display: none !important; }
  body { color: #000; }
}

/* ==========================================================================
   Refinements — hero v2, stronger icon system, responsive fixes
   ========================================================================== */

/* ---------- Kicker: real icon-free pill, no stray dot ---------- */
.kicker::before { display: none; }
.kicker { padding: 8px 18px; }

/* ---------- Hero v2 ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 520px at 80% 6%, rgba(239, 127, 26, .30), transparent 62%),
    radial-gradient(760px 460px at 0% 100%, rgba(239, 127, 26, .12), transparent 68%),
    linear-gradient(160deg, #15181c 0%, #101214 62%, #15181c 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 70px 70px;
  -webkit-mask-image: radial-gradient(70% 65% at 55% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(70% 65% at 55% 40%, #000 30%, transparent 100%);
}
.hero .hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin-inline: auto;
  padding-block: clamp(54px, 6.5vw, 88px);
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(32px, 4.5vw, 66px);
  align-items: center;
}
.hero h1 { font-size: clamp(2.05rem, 3.6vw, 3.35rem); margin-bottom: .38em; }
.hero__lead { font-size: 1.03rem; max-width: 54ch; margin-bottom: 1.9em; }

.hero__media {
  position: relative;
  margin-inline-start: 6px;
}
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 36px 70px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset-block-start: -14px;
  inset-inline-end: -14px;
  width: 128px;
  height: 128px;
  border: 2px solid rgba(239, 127, 26, .55);
  border-radius: 26px;
  z-index: -1;
}
.hero__card {
  position: absolute;
  inset-block-end: 24px;
  inset-inline-start: -20px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .28);
}
.hero__card .icon-round {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  flex: none;
}
.hero__card strong { display: block; font-size: .92rem; line-height: 1.4; }
.hero__card a { font-size: .9rem; font-weight: 800; direction: ltr; color: var(--ink); }
.hero__card a:hover { color: var(--brand-dark); }

/* ---------- Service icon tiles ---------- */
.service-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(140deg, #fff3e6, #ffe2c4);
  color: var(--brand-dark);
  box-shadow: inset 0 0 0 1px rgba(239, 127, 26, .16);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.service-card__icon svg { width: 29px; height: 29px; }
.service-card:hover .service-card__icon {
  background: linear-gradient(140deg, var(--brand), #e06a08);
  color: #fff;
  box-shadow: 0 12px 24px rgba(239, 127, 26, .32);
  transform: translateY(-2px);
}

/* ---------- Responsive: hero + header ---------- */
@media (max-width: 1080px) {
  .header__actions .btn {
    display: inline-flex;
    padding: 10px 16px;
    font-size: .82rem;
    box-shadow: none;
  }
}
@media (max-width: 980px) {
  .hero .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__media { order: 2; }
  .hero__media img { aspect-ratio: 16 / 10; }
  .hero__lead { max-width: 62ch; }
}
@media (max-width: 700px) {
  .topbar__contact a[href^="mailto"] { display: none; }
  .topbar__inner { justify-content: center; }
  .hero__card { inset-inline-start: 16px; inset-block-end: 16px; padding: 12px 14px; }
}
@media (max-width: 560px) {
  .header__actions .btn { display: none; }
  .hero__card { display: none; }
  .hero .hero__inner { padding-block: 40px 48px; }
  .hero__media::after { display: none; }
  .hero__media { margin-inline-start: 0; }
}

/* Keep the hero within a comfortable viewport height on desktop */
@media (min-width: 981px) {
  .hero__media img { aspect-ratio: auto; height: clamp(430px, 52vw, 560px); }
}

/* ==========================================================================
   Page transitions (enter / leave)
   ========================================================================== */
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

main {
  animation: pageEnter .52s cubic-bezier(.22, .61, .36, 1) both;
}

/* Leaving: freeze the enter animation, then fade the content away */
body.is-leaving main {
  animation: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .24s ease, transform .24s ease;
}

/* Thin brand progress bar at the top of the viewport while navigating */
body::after {
  content: "";
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--brand), #ffb066);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  pointer-events: none;
  z-index: 200;
}
html[dir="rtl"] body::after { transform-origin: right center; }
body.is-leaving::after {
  opacity: 1;
  transform: scaleX(1);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1), opacity .12s ease;
}

@media (prefers-reduced-motion: reduce) {
  main { animation: none; }
  body.is-leaving main { transition: none; opacity: 1; transform: none; }
  body::after { display: none; }
}

/* ==========================================================================
   Branded page transition — layered curtain with logo
   ========================================================================== */
body::after { display: none; }          /* old thin progress bar is superseded */
main { animation-duration: .42s; }      /* content settles as the curtain lifts */

.pt {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  overflow: hidden;
}

.pt__panel {
  position: absolute;
  inset: 0;
  will-change: transform;
  transform: translateY(0);
  animation: ptReveal .84s cubic-bezier(.76, 0, .24, 1) forwards;
}
.pt__panel--orange {
  background: linear-gradient(150deg, #f59331, #df6c06);
}
.pt__panel--dark {
  background: #101316;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 83%);
  animation-delay: .07s;
}
.pt__panel--stripe {
  inset-inline-end: auto;
  width: 54%;
  inset-inline-start: 10%;
  background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .22));
  clip-path: polygon(0 100%, 27% 0, 45% 0, 18% 100%);
  animation-delay: .13s;
}

.pt__brand {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  animation: ptBrandOut .55s ease .2s forwards;
}
.pt__brand-inner { display: grid; justify-items: center; text-align: center; }
.pt__brand img {
  height: 66px;
  width: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .38));
}
.pt__name {
  margin-top: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .3px;
}
.pt__line {
  display: block;
  margin-top: 14px;
  width: 86px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .62);
  transform: scaleX(0);
}

@keyframes ptReveal {
  from { transform: translateY(0); }
  to   { transform: translateY(-103%); }
}
@keyframes ptBrandOut {
  from { opacity: 1; transform: none; }
  to   { opacity: 0; transform: translateY(-16px); }
}

/* Covering the screen when a link is clicked */
.pt.is-leaving .pt__panel {
  animation: ptCover .5s cubic-bezier(.76, 0, .24, 1) forwards;
}
.pt.is-leaving .pt__panel--dark { animation-delay: .05s; }
.pt.is-leaving .pt__panel--stripe { animation-delay: .09s; }

.pt.is-leaving .pt__brand {
  animation: ptBrandIn .34s ease .2s forwards;
}
.pt.is-leaving .pt__line {
  animation: ptLine .44s ease .26s forwards;
}

@keyframes ptCover {
  from { transform: translateY(103%); }
  to   { transform: translateY(0); }
}
@keyframes ptBrandIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes ptLine {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .pt { display: none; }
  main { animation: none; }
}
