/*
 * OREVIQ Signature — the original v1.3.1 visual language, refined for the
 * current client, request, notification, and analytics features.
 */

.design-signature {
  background: var(--petrol);
  color: var(--ivory);
}

.design-signature :focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.design-signature .site-header {
  position: sticky;
  top: 0;
}

.signature-hero .hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 150px;
}

.signature-hero .hero-support {
  max-width: 48ch;
  margin: 25px 0 0;
  color: #dce7e3;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.75;
}

.signature-hero .hero-rule {
  margin-top: 27px;
}

.signature-trust {
  position: absolute;
  z-index: 3;
  inset-inline: 0;
  bottom: 31px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(760px, 100%);
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.signature-trust li {
  padding-inline: 19px;
  border-inline-start: 1px solid var(--line);
  color: #d5e1dc;
  font: 10px/1.5 OreviqLatin, Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.signature-trust li:first-child {
  padding-inline-start: 0;
  border-inline-start: 0;
}

.project-visual[style] {
  background-position: center;
  background-size: cover;
}

.signature-method .method-grid {
  grid-template-columns: .72fr 1.55fr 1fr;
}

.signature-method .method-grid > p:not(.eyebrow) {
  max-width: 32ch;
}

.signature-journey {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 22px 0 0;
  padding: 17px 0 0;
  border-top: 1px solid rgba(7, 33, 38, .25);
  list-style: none;
}

.signature-journey li {
  min-width: 0;
  padding-inline: 13px;
  border-inline-start: 1px solid rgba(7, 33, 38, .18);
}

.signature-journey li:first-child {
  padding-inline-start: 0;
  border-inline-start: 0;
}

.signature-journey span {
  display: block;
  margin-bottom: 8px;
  color: #c94417;
  font: 10px OreviqLatin, Arial, sans-serif;
  letter-spacing: .08em;
}

.signature-journey b {
  display: block;
  color: var(--petrol);
  font-size: 14px;
  line-height: 1.35;
}

.home-signature .home-testimonial {
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 92, 33, .18), transparent 24%),
    linear-gradient(135deg, #0c3439, #071f23);
}

.home-signature .home-faq {
  color: var(--ivory);
}

.home-signature .home-final-cta {
  padding-top: 12px;
}

.home-signature .home-final-cta > .container {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 92, 33, .35), transparent 22%),
    linear-gradient(125deg, #104046, #082125);
}

.home-signature .home-final-cta .eyebrow {
  margin-bottom: 13px;
  color: #ff9168;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .17em;
}

.home-signature .home-final-cta p:not(.eyebrow) {
  font-size: clamp(2.2rem, 4.5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.lang-ar .home-signature .home-final-cta p:not(.eyebrow) {
  line-height: 1.15;
  letter-spacing: 0;
}

.package-card-plain {
  min-height: 590px;
}

.package-card-plain .package-card-body {
  position: relative;
  overflow: hidden;
}

.package-card-plain .package-card-body::before {
  position: absolute;
  top: -120px;
  inset-inline-end: -90px;
  width: 235px;
  height: 235px;
  border: 1px solid rgba(244, 240, 232, .1);
  border-radius: 50%;
  content: "";
}

.package-card-plain .package-top,
.package-card-plain h2,
.package-card-plain p,
.package-card-plain .package-price,
.package-card-plain .package-includes,
.package-card-plain .package-addons,
.package-card-plain .button {
  position: relative;
  z-index: 1;
}

.package-card-image .package-card-body {
  min-height: 430px;
}

@media (max-width: 900px) {
  .signature-method .method-grid {
    grid-template-columns: 1fr 1.4fr;
  }

  .signature-method .method-grid > p:not(.eyebrow) {
    grid-column: 2;
  }

  .signature-journey {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .signature-journey li {
    padding-block: 12px;
  }
}

@media (max-width: 680px) {
  .design-signature .header-inner {
    gap: 8px;
  }

  .design-signature .brand {
    width: 108px;
  }

  .design-signature .header-actions {
    order: 2;
    margin-inline-start: auto;
  }

  .design-signature .menu-toggle {
    order: 3;
    margin-inline-start: 0;
  }

  .signature-hero .hero-content {
    min-height: calc(100svh - 68px);
    justify-content: center;
    padding: 68px 0 154px;
  }

  .signature-hero h1 {
    max-width: 10ch;
    font-size: clamp(2.7rem, 12.5vw, 4.2rem);
    line-height: 1.04;
  }

  .lang-ar .signature-hero h1 {
    max-width: 11ch;
    line-height: 1.18;
  }

  .signature-hero .hero-support {
    max-width: 34ch;
    font-size: .98rem;
    line-height: 1.65;
  }

  .signature-hero .hero-rule {
    margin-block: 23px 20px;
  }

  .signature-hero .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    width: min(100%, 300px);
  }

  .signature-hero .button-quiet {
    justify-content: flex-start;
  }

  .signature-trust {
    bottom: 20px;
    width: 100%;
    padding-top: 13px;
  }

  .signature-trust li {
    padding-inline: 9px;
    font-size: 8px;
    line-height: 1.45;
    letter-spacing: .04em;
  }

  .signature-method .method-grid {
    display: block;
  }

  .signature-method .method-grid > p:not(.eyebrow) {
    margin: 25px 0 35px;
  }

  .signature-journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }

  .signature-journey li {
    min-height: 82px;
    padding: 13px 9px;
    border-bottom: 1px solid rgba(7, 33, 38, .15);
  }

  .signature-journey li:nth-child(odd) {
    padding-inline-start: 0;
    border-inline-start: 0;
  }

  .signature-journey b {
    font-size: 15px;
  }

  .home-signature .home-faq {
    padding-block: 82px;
  }

  .package-card-plain,
  .package-card-image .package-card-body {
    min-height: 0;
  }
}

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

/* v2.2 — useful interaction, kept inside the Signature visual system. */
.availability-badge {
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(244, 240, 232, .2);
  border-radius: 999px;
  background: rgba(7, 33, 38, .42);
  color: #e9f0ec;
  font-size: 12px;
  line-height: 1.3;
  text-decoration: none;
  backdrop-filter: blur(12px);
}

.availability-badge > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 92, 33, .12);
}

.availability-badge.is-busy > span {
  background: #b8c4c0;
  box-shadow: 0 0 0 5px rgba(184, 196, 192, .1);
}

.signature-grading {
  padding-block: clamp(72px, 9vw, 132px);
}

.signature-grading .section-heading {
  margin-bottom: 28px;
}

.grading-comparison {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  border: 1px solid rgba(244, 240, 232, .16);
  background: #031417;
  touch-action: pan-y;
}

.grading-comparison img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grading-before-layer {
  position: absolute;
  z-index: 2;
  inset: 0;
  clip-path: inset(0 50% 0 0);
}

.grading-divider {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(244, 240, 232, .92);
  pointer-events: none;
}

.grading-divider::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(244, 240, 232, .85);
  border-radius: 50%;
  background: rgba(7, 33, 38, .82);
  color: var(--ivory);
  content: "↔";
  font: 18px/1 Arial, sans-serif;
  place-items: center;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(8px);
}

.grading-comparison input[type="range"] {
  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: ew-resize;
  opacity: 0;
}

.grading-label {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  padding: 8px 10px;
  background: rgba(7, 33, 38, .78);
  color: var(--ivory);
  font: 10px/1 OreviqLatin, Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.grading-label-before {
  left: 18px;
}

.grading-label-after {
  right: 18px;
}

.project-play {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border: 1px solid rgba(244, 240, 232, .5);
  border-radius: 999px;
  background: rgba(7, 33, 38, .72);
  color: var(--ivory);
  font: inherit;
  cursor: pointer;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
}

.project-play span {
  color: var(--orange);
}

.booking-estimate {
  margin: 22px 0 26px;
  padding: 20px;
  border: 1px solid rgba(244, 240, 232, .13);
  background: rgba(244, 240, 232, .035);
}

.booking-estimate-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(244, 240, 232, .12);
}

.booking-estimate h3 {
  margin: 0;
  font-size: 1rem;
}

.booking-estimate-head strong {
  color: var(--orange);
  font: 700 clamp(1.1rem, 2vw, 1.45rem) OreviqLatin, Arial, sans-serif;
  white-space: nowrap;
}

.booking-estimate > p {
  margin: 15px 0 0;
  color: #aebfba;
  font-size: .78rem;
  line-height: 1.6;
}

.booking-estimate-addons {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.booking-estimate-label {
  color: #b7c6c1;
  font-size: .76rem;
}

.booking-estimate-addons label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(244, 240, 232, .1);
  cursor: pointer;
}

.booking-estimate-addons input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--orange);
}

.booking-estimate-addons b {
  color: #dce7e3;
  font: 600 .78rem OreviqLatin, Arial, sans-serif;
}

.contact-widget {
  position: fixed;
  z-index: 80;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: grid;
  justify-items: end;
  gap: 10px;
}

[dir="rtl"] .contact-widget {
  right: auto;
  left: max(20px, env(safe-area-inset-left));
  justify-items: start;
}

.contact-widget-toggle {
  position: relative;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(244, 240, 232, .24);
  border-radius: 50%;
  background: var(--orange);
  color: var(--petrol);
  cursor: pointer;
  box-shadow: 0 16px 45px rgba(0, 0, 0, .3);
}

.contact-widget-toggle span {
  position: absolute;
  top: 26px;
  left: 17px;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform .22s ease;
}

.contact-widget-toggle span:last-child {
  transform: rotate(90deg);
}

.contact-widget.is-open .contact-widget-toggle span:first-child {
  transform: rotate(45deg);
}

.contact-widget.is-open .contact-widget-toggle span:last-child {
  transform: rotate(-45deg);
}

.contact-widget-menu {
  display: grid;
  min-width: 230px;
  border: 1px solid rgba(244, 240, 232, .14);
  background: rgba(7, 33, 38, .96);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .32);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
  backdrop-filter: blur(18px);
}

.contact-widget.is-open .contact-widget-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.contact-widget-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(244, 240, 232, .1);
  color: var(--ivory);
  font-size: .88rem;
  text-decoration: none;
}

.contact-widget-menu a:last-child {
  border-bottom: 0;
}

.contact-widget-menu a:hover {
  background: rgba(255, 92, 33, .1);
}

.contact-widget-menu span {
  color: var(--orange);
}

.lightbox-open {
  overflow: hidden;
}

.video-lightbox {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  padding: clamp(18px, 4vw, 64px);
  background: rgba(2, 13, 15, .92);
  place-items: center;
  backdrop-filter: blur(16px);
}

.video-lightbox[hidden] {
  display: none;
}

.video-lightbox-panel {
  position: relative;
  width: min(1120px, 100%);
}

.video-lightbox-media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-lightbox-media video,
.video-lightbox-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-lightbox-close {
  position: absolute;
  z-index: 2;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(244, 240, 232, .25);
  border-radius: 50%;
  background: transparent;
  color: var(--ivory);
  font-size: 24px;
  cursor: pointer;
}

[dir="rtl"] .video-lightbox-close {
  right: auto;
  left: 0;
}

@media (max-width: 720px) {
  .availability-badge {
    margin-bottom: 15px;
    font-size: 10px;
  }

  .signature-grading {
    padding-block: 72px;
  }

  .grading-comparison {
    aspect-ratio: 4 / 5;
    min-height: 0;
  }

  .grading-label {
    bottom: 12px;
  }

  .grading-label-before {
    left: 12px;
  }

  .grading-label-after {
    right: 12px;
  }

  .booking-estimate {
    padding: 16px;
  }

  .booking-estimate-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .booking-estimate-addons label {
    grid-template-columns: auto 1fr;
  }

  .booking-estimate-addons b {
    grid-column: 2;
  }

  .contact-widget {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  [dir="rtl"] .contact-widget {
    right: auto;
    left: max(14px, env(safe-area-inset-left));
  }

  .contact-widget-menu {
    min-width: min(238px, calc(100vw - 28px));
  }

  .video-lightbox {
    padding: 58px 12px 12px;
  }
}
