/* POZO marketing landing — from Figma 473:7935 */
:root {
  --green: #005324;
  --green-dark: #003e1b;
  --green-light: #e6eee9;
  --green-soft: #d9e5de;
  --green-active: #b0cabb;
  --orange: #ee8035;
  --orange-light: #fdf2eb;
  --text: #222222;
  --text-dark: #101828;
  --text-muted: #595959;
  --grey: #868686;
  --border: #e9e9e9;
  --white: #ffffff;
  --bg: #ffffff;
  --footer-bg: #e6eee9;
  --radius: 12px;
  --container: min(1272px, calc(100% - 2.5rem));
  --font: 'Cairo', system-ui, sans-serif;
  --hero-bg: url('./landing/hero.jpg');
  --about-customer-bg: url('./landing/about-customer.png');
  --about-provider-bg: url('./landing/about-provider.png');
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Nav */
.site-header {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 40;
  padding: 1rem 0;
}
.nav {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  transition: color 0.15s ease;
}
.nav-links a:hover,
.nav-links a.is-active {
  color: #fff;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 8px;
  padding: 16px 40px;
  min-height: 56px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: 0.15s ease;
}
.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover { background: var(--green-dark); }
.btn-nav {
  width: 171px;
  padding: 16px 0;
  min-height: auto;
  font-size: 16px;
}
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 8px;
  background: rgba(0,0,0,0.2);
  color: #fff;
}

/* Hero — full bleed, content pinned to the physical right (Figma x:660) */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(270deg, rgba(0, 83, 36, 0.45) 0%, rgba(0, 83, 36, 0) 55%),
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    var(--hero-bg) center / cover no-repeat;
}
.hero-inner {
  width: min(700px, calc(100% - 5rem));
  /* Physical right edge — ignores RTL flex mirroring */
  margin-left: auto;
  margin-right: max(5rem, calc((100vw - 1440px) / 2 + 80px));
  padding: 8rem 0 5rem;
  display: grid;
  justify-items: right; /* physical right of the text block */
  gap: 2.5rem;
  text-align: right;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1.5px solid #fff;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.hero h1 {
  margin: 0;
  width: 100%;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.4;
  text-align: right;
}
.hero p {
  margin: 0;
  max-width: 52ch;
  width: 100%;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  text-align: right;
}
.hero .btn {
  justify-self: right;
}

/* Sections common */
.section {
  padding: 5.5rem 0;
}
.section-head {
  text-align: center;
  display: grid;
  gap: 1rem;
  justify-items: center;
  margin-bottom: 3.5rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  background: var(--green-light);
  color: var(--green);
  font-size: 1rem;
  font-weight: 600;
}
.eyebrow-outline {
  background: var(--green-light);
  border: 1px solid var(--green-active);
  color: var(--green);
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.2;
}
.section-head p {
  margin: 0;
  max-width: 698px;
  width: 100%;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.625;
}

/* About dual panel */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  direction: ltr; /* match Figma: green/customer on the left */
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #f3f4f6;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
  min-height: 520px;
}
.about-pane {
  direction: rtl;
  position: relative;
  min-height: 480px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.about-pane::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.8;
  z-index: 0;
}
.about-pane--customer {
  background: #032e15;
}
.about-pane--customer::before {
  background-image: var(--about-customer-bg);
}
.about-pane--customer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 83, 36, 0.55), rgba(0, 83, 36, 0.82));
  z-index: 1;
}
.about-pane--provider {
  background: #f9fafb;
}
.about-pane--provider::before {
  background-image: var(--about-provider-bg);
  opacity: 0.35;
}
.about-pane--provider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
  z-index: 1;
}
.about-pane > * { position: relative; z-index: 2; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.pill-green {
  background: var(--green-light);
  color: var(--green);
  border: 1px solid var(--green-active);
}
.pill-orange {
  background: var(--orange-light);
  color: var(--orange);
  border: 1px solid #fad8c0;
}
.about-copy h3 {
  margin: 0.65rem 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 900;
}
.about-pane--customer .about-copy h3,
.about-pane--customer .about-copy p { color: #fff; }
.about-pane--provider .about-copy h3 { color: var(--text-dark); }
.about-pane--provider .about-copy p { color: #6a7282; }
.about-copy p { margin: 0; font-size: 0.9rem; }
.glass-card {
  border-radius: 16px;
  padding: 1rem;
  backdrop-filter: blur(8px);
}
.glass-card--dark {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}
.glass-card--light {
  background: #fff;
  border: 1px solid #f3f4f6;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.08);
}
.glass-card-top {
  display: flex;
  direction: ltr; /* Figma: badge left, title right */
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.glass-card h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}
.meta-row {
  display: flex;
  direction: ltr; /* Figma physical order: date → guests → budget */
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  opacity: 0.9;
}
.tag-row {
  display: grid;
  direction: ltr; /* Figma: تصوير | ديكور | ضيافة */
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.tag-row span {
  text-align: center;
  padding: 0.4rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  font-size: 0.7rem;
  font-weight: 700;
}
.earn-value {
  margin: 0.25rem 0 0.75rem;
  color: var(--orange);
  font-size: 1.5rem;
  font-weight: 900;
  text-align: right;
}
.bars {
  display: flex;
  direction: ltr; /* Figma: short left → orange tall right */
  align-items: flex-end;
  gap: 0.35rem;
  height: 40px;
  margin-bottom: 0.75rem;
}
.bars i {
  flex: 1;
  display: block;
  border-radius: 6px;
  background: rgba(0, 83, 36, 0.13);
}
.bars i:nth-child(1) { height: 35%; }
.bars i:nth-child(2) { height: 55%; }
.bars i:nth-child(3) { height: 40%; }
.bars i:nth-child(4) { height: 75%; }
.bars i:nth-child(5) { height: 65%; }
.bars i:nth-child(6) { height: 90%; }
.bars i:nth-child(7) { height: 100%; background: var(--orange); }
.earn-foot {
  display: flex;
  direction: ltr; /* Figma: contracts left, % right */
  justify-content: space-between;
  font-size: 0.75rem;
  color: #6a7282;
}
.earn-foot strong { color: var(--orange); }

/* Services — Figma rows are LTR; keep card text RTL */
.services-grid {
  display: grid;
  direction: ltr;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.service-card {
  direction: rtl;
  display: grid;
  gap: 1rem;
  padding: 24px 32px;
  border-radius: 12px;
  background: linear-gradient(224deg, #e6eee9 6%, #f6f9f7 65%);
  border: 1px solid var(--green-soft);
  text-align: right;
}
.service-card img {
  width: 100%;
  max-height: 280px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 12px;
  background: transparent;
  justify-self: center;
}
.service-card h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #1a1a1a;
}
.service-card p {
  margin: 0;
  color: var(--text);
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 500;
}
.services-extra {
  display: grid;
  direction: ltr;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.service-banner {
  direction: rtl;
  display: grid;
  gap: 1rem;
  padding: 24px 32px;
  border-radius: 12px;
  background: linear-gradient(224deg, #e6eee9 6%, #f6f9f7 65%);
  border: 1px solid var(--green-soft);
  text-align: right;
}
.service-banner img {
  width: 100%;
  max-height: 280px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 12px;
  justify-self: center;
}
.service-banner h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #1a1a1a;
}
.service-banner p {
  margin: 0;
  color: var(--text);
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 500;
}

/* Download CTA */
.download {
  position: relative;
  padding: 4.5rem 0;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url('./landing/hero.jpg') center 60% / cover no-repeat;
}
.download-inner {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}
.brand-mark {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.25));
}
.download h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
  max-width: 28ch;
}
.download p {
  margin: 0;
  max-width: 48ch;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
}
.store-row {
  display: flex;
  direction: ltr;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.store-btn {
  display: inline-flex;
  width: 200px;
  height: 55px;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
  min-width: 0;
}
.store-btn img {
  width: 200px;
  height: 55px;
  object-fit: contain;
}

/* Testimonials — Figma 473:8145 */
.testimonials {
  background-color: #D9E5DE;
}
.testimonials-slider {
  width: 100%;
}
.testimonials-viewport {
  overflow: hidden;
  width: 100%;
}
.testimonials-track {
  display: flex;
  direction: ltr;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.testimonial {
  direction: rtl;
  position: relative;
  flex: 0 0 calc((100% - 48px) / 3);
  min-height: 280px;
  background: #fff;
  border-radius: 20px;
  padding: 28px 28px 108px;
  box-shadow: 0 10px 30px rgba(0, 40, 20, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.testimonial-quote {
  position: absolute;
  top: 24px;
  left: 28px;
  width: 36px;
  height: auto;
  display: block;
  object-fit: contain;
}
.testimonial p {
  margin: 40px 0 0;
  color: #3d3d3d;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.75;
  text-align: center;
  max-width: 34ch;
}
.testimonial-foot {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #e5ede9;
  border-radius: 20px 0 20px 0;
  min-width: 58%;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  color: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #fff;
}
.testimonial-avatar svg {
  width: 22px;
  height: 22px;
}
.testimonial-meta {
  display: grid;
  gap: 2px;
  text-align: right;
}
.testimonial-meta strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
}
.stars {
  color: var(--orange);
  letter-spacing: 2px;
  font-size: 0.85rem;
  line-height: 1;
}
.dots {
  display: flex;
  direction: ltr;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
}
.dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--green-active);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.dots button.is-active {
  width: 28px;
  background: var(--green);
}
.dots button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* Contact */
.contact-grid {
  display: grid;
  direction: ltr;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: stretch;
}
.contact-form {
  direction: rtl;
  display: grid;
  gap: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.field {
  display: grid;
  gap: 0.5rem;
}
.field label {
  font-weight: 700;
  color: #222;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  background: #fff;
  outline: none;
}
.field input:focus,
.field textarea:focus {
  border-color: color-mix(in srgb, var(--green) 45%, #e7e7e7);
}
.field input::placeholder,
.field textarea::placeholder {
  color: #b0b0b0;
}
.btn-submit {
  width: fit-content;
  min-width: 120px;
  min-height: 48px;
  padding: 12px 28px;
  font-size: 16px;
  justify-self: start;
}
.contact-visual {
  border-radius: 8px;
  overflow: hidden;
  min-height: 420px;
}
.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

/* Footer — Figma 473:8295 */
.site-footer {
  background: #e6eee9;
  padding: 2rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  direction: rtl; /* Figma: brand starts at far right */
  grid-template-columns: 1.1fr 1fr 1fr 1.15fr;
  gap: 2rem;
  align-items: start;
  padding: 0.5rem 0 1.75rem;
}
.footer-col {
  direction: rtl;
}
.footer-col h4 {
  margin: 0 0 1.25rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.footer-col a,
.footer-col li {
  color: #1a1a1a;
  font-weight: 500;
  font-size: 1rem;
}
.footer-col a:hover {
  color: var(--green);
}
.contact-lines {
  display: grid;
  gap: 0.85rem;
}
.contact-lines li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  direction: rtl;
}
.ltr-num {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
  display: inline-block;
}
.field input[type='tel'] {
  direction: ltr;
  text-align: left;
  unicode-bidi: plaintext;
}
.footer-ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.socials {
  display: flex;
  direction: ltr;
  align-items: center;
  justify-content: flex-end; /* يمين عمود التواصل */
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.socials a {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: transparent;
  border-radius: 0;
}
.socials a img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}
.social-sep {
  width: 1px;
  height: 16px;
  background: rgba(0, 83, 36, 0.35);
  flex-shrink: 0;
}
.footer-col--brand {
  display: flex;
  justify-content: flex-start; /* with RTL grid = physical right */
  align-items: flex-start;
}
.footer-brand {
  width: min(220px, 100%);
  height: auto;
  margin: 0;
}
.footer-bottom {
  margin-top: 0;
  padding-top: 1.35rem;
  border-top: 1px solid #202020;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-credit {
  display: flex;
  direction: ltr;
  align-items: center;
  gap: 14px;
}
.footer-credit-text {
  display: grid;
  gap: 4px;
  text-align: right;
  color: var(--green);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}
.footer-credit-text a {
  color: var(--green);
  font-weight: 600;
}
.footer-credit-text a:hover {
  text-decoration: underline;
}
.footer-credit-logo {
  width: 42px;
  height: auto;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.form-success {
  display: none;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: var(--green-light);
  color: var(--green);
  font-weight: 600;
}
.form-success.is-visible { display: block; }
.form-error {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: #fde8e8;
  color: #b42318;
  font-weight: 600;
}
.form-error[hidden] { display: none !important; }
.contact-form .btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

@media (max-width: 1024px) {
  .about-split,
  .services-grid,
  .services-extra,
  .contact-grid,
  .footer-grid,
  .form-row,
  .service-banner {
    grid-template-columns: 1fr;
  }
  .testimonial {
    flex: 0 0 calc((100% - 24px) / 2);
  }
  .hero-inner {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    width: calc(100% - 2.5rem);
    justify-items: center;
    text-align: center;
  }
  .hero h1,
  .hero p {
    text-align: center;
  }
  .hero .btn {
    justify-self: center;
  }
  .nav-links, .nav .btn { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    inset-inline: 1.25rem;
    top: 5.5rem;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 12px;
    background: rgba(0, 40, 20, 0.95);
  }
  .nav.is-open .nav .btn {
    display: none;
  }
}
/* Legal pages — modal overlay */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.legal-modal[hidden] {
  display: none !important;
}
.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 14, 0.55);
  backdrop-filter: blur(4px);
}
.legal-modal__panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(85vh, 900px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 40, 20, 0.18);
  overflow: hidden;
}
.legal-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border, #e3e8e4);
  background: #f7f9f8;
}
.legal-modal__head h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--primary, #005324);
  line-height: 1.4;
}
.legal-modal__close {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: #e8f3ec;
  color: var(--primary, #005324);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.legal-modal__close:hover {
  background: #d9e5de;
}
.legal-modal__body {
  padding: 1.25rem 1.5rem 1.75rem;
  overflow-y: auto;
  line-height: 1.75;
  color: #122017;
}
.legal-modal__body p {
  margin: 0 0 1rem;
}
.legal-modal__body h3 {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.05rem;
  color: var(--primary, #005324);
}
.legal-modal__body .legal-modal__error {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #fef2f2;
  color: #991b1b;
}
body.legal-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .hero { min-height: 92vh; }
  .section { padding: 3.5rem 0; }
  .about-pane { min-height: 420px; }
  .testimonial {
    flex: 0 0 100%;
  }
}
