/* ============================================================
   REVALUAR — Page & section styles
   ============================================================ */

/* route fade */
.route-fade { animation: routein .5s var(--ease) both; }
@keyframes routein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---- Arabic display headings: comfortable leading so marks/descenders never clip ---- */
[dir="rtl"] .sec-title,
[dir="rtl"] .scope-title,
[dir="rtl"] .service-row-name,
[dir="rtl"] .service-mid-title,
[dir="rtl"] .footer-tagline,
[dir="rtl"] .contact-sent-msg,
[dir="rtl"] .values-item { line-height: 1.3; }
[dir="rtl"] .values-item .display { display: inline-block; padding-block: 0.04em; }

/* shared section title */
.sec-title { font-size: clamp(30px, 4.4vw, 56px); font-weight: 500; max-width: 18ch; letter-spacing: -0.02em; }
.sec-title.wide { max-width: 22ch; }
.lead {
  font-size: clamp(18px, 2vw, 22px); line-height: 1.5; max-width: 52ch;
  margin-top: 22px; color: var(--ink-soft);
}
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; margin-bottom: clamp(40px, 6vw, 72px); flex-wrap: wrap;
}
.sec-head .sec-title { margin-top: 18px; }
.sec-head-link { padding-bottom: 8px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(120px, 17vh, 190px); }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(34px, 5vw, 80px); align-items: start;
}
.hero-title {
  font-size: clamp(40px, 6.6vw, 96px); font-weight: 500;
  margin: 26px 0 0; letter-spacing: -0.03em; line-height: 1.05;
}
.hero-line { display: block; overflow: hidden; }
[dir="rtl"] .hero-title { line-height: 1.32; font-weight: 700; }
/* Arabic letterforms have tall marks + deep descenders — don't clip them */
[dir="rtl"] .hero-line { overflow: visible; padding-block: 0.04em; }
.dot-orange { color: var(--orange); }
.hero-body {
  font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; max-width: 46ch;
  margin-top: 30px; color: var(--ink-soft);
}
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-note {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 26px;
  font-size: 12.5px; letter-spacing: 0.05em; opacity: 0.7;
}
.hero-note .tick {
  width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%;
  background: var(--sage); color: var(--ink); font-size: 11px;
}
.hero-media { position: relative; align-self: start; margin-top: 30px; overflow: hidden; }
.hero-img { width: 100%; height: min(58vh, 560px); box-shadow: 0 40px 80px -50px rgba(64,37,48,.6); }
.hero-shape {
  position: absolute; bottom: -30px; left: -34px; z-index: 2;
}
[dir="rtl"] .hero-shape { left: auto; right: -34px; }

/* trusted strip */
.trusted {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: clamp(56px, 8vh, 96px); padding: 26px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.trusted-label { font-size: 12.5px; letter-spacing: 0.12em; opacity: 0.6; text-transform: uppercase; }
.trusted-marks { display: flex; gap: 28px; }
.trusted-chip {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; font-size: 18px;
  color: var(--ink-soft); transition: background .3s var(--ease), color .3s, transform .3s;
}
.trusted-chip:hover { background: var(--ink); color: var(--paper); transform: translateY(-3px); }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-media { max-width: 460px; }
}

/* ============================================================
   SPLIT (about preview)
   ============================================================ */
.split {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 6vw, 84px); align-items: center;
}
.split-copy .sec-title { margin-top: 18px; }
.split-copy .lead { margin-bottom: 26px; }
.split-media .ph { box-shadow: 0 36px 70px -50px rgba(64,37,48,.5); }
@media (max-width: 820px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split-media { max-width: 420px; }
}

/* ============================================================
   SERVICES grid (home)
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.svc-card {
  background: var(--paper); padding: clamp(26px, 3vw, 40px);
  min-height: 250px; display: flex; flex-direction: column;
  position: relative; transition: background .4s var(--ease);
}
.svc-card:hover { background: var(--white); }
.svc-tag { font-size: 12px; opacity: 0.5; letter-spacing: 0.1em; }
.svc-name { font-size: clamp(21px, 2.2vw, 27px); font-weight: 500; margin: 18px 0 12px; }
.svc-body { font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); max-width: 34ch; }
.svc-arrow {
  margin-top: auto; padding-top: 22px; color: var(--orange);
  opacity: 0; transform: translateX(-6px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
[dir="rtl"] .svc-arrow { transform: translateX(6px) scaleX(-1); }
.svc-card:hover .svc-arrow { opacity: 1; transform: none; }
[dir="rtl"] .svc-card:hover .svc-arrow { transform: scaleX(-1); }
@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }

/* ============================================================
   PROCESS
   ============================================================ */
.process-sec { background: var(--sage); }
.process-list { border-top: 1px solid rgba(64,37,48,0.2); }
.process-row {
  display: grid; grid-template-columns: 90px 0.7fr 1.3fr; gap: 24px; align-items: baseline;
  padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid rgba(64,37,48,0.2);
  transition: padding-inline .4s var(--ease);
}
.process-row:hover { padding-inline-start: 14px; }
.process-n { font-size: 14px; opacity: 0.6; }
.process-t { font-size: clamp(20px, 2.3vw, 30px); font-weight: 500; }
.process-b { font-size: 16px; line-height: 1.5; color: var(--ink-soft); max-width: 44ch; }
@media (max-width: 760px) {
  .process-row { grid-template-columns: 50px 1fr; }
  .process-b { grid-column: 2; }
}

/* ============================================================
   SCOPE
   ============================================================ */
.scope-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 70px); }
.scope-title { font-size: clamp(30px, 5vw, 62px); font-weight: 500; margin-top: 18px; letter-spacing: -0.02em; }
.scope-lead { margin-top: 24px; }
.scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 34px); }
.scope-card {
  border-top: 2px solid var(--ink); padding-top: 24px;
  transition: border-color .35s var(--ease);
}
.scope-card:hover { border-color: var(--orange); }
.scope-num { font-size: 13px; opacity: 0.5; }
.scope-card-t { font-size: clamp(20px, 2.1vw, 26px); font-weight: 500; margin: 16px 0 12px; }
.scope-card-b { font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); }
@media (max-width: 820px) { .scope-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .scope-card { border-top: none; border-bottom: 1px solid var(--line); padding: 26px 0; }
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { background: var(--ink); color: var(--paper); padding-block: clamp(60px, 10vh, 170px); position: relative; overflow: hidden; }
@media (max-width: 768px) { .cta-band { padding-block: 60px; } }
.cta-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-shapes { position: absolute; top: -60px; right: 4%; opacity: 0.18; z-index: -1; }
[dir="rtl"] .cta-shapes { right: auto; left: 4%; }
.cta-title { font-size: clamp(40px, 7vw, 96px); font-weight: 500; line-height: 0.98; letter-spacing: -0.02em; }
.cta-line { display: inline; }
[dir="rtl"] .cta-title { line-height: 1.3; padding-block: 0.04em; }
.cta-body { font-size: clamp(17px, 1.8vw, 21px); max-width: 44ch; margin: 26px auto 36px; opacity: 0.82; }
[dir="rtl"] .cta-title { font-weight: 700; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { padding-top: clamp(130px, 18vh, 200px); padding-bottom: clamp(20px, 4vw, 40px); }
.page-hero-title { font-size: clamp(40px, 7vw, 92px); font-weight: 500; margin: 24px 0 0; letter-spacing: -0.03em; line-height: 1.05; max-width: 16ch; }
.ph-line { display: block; }
[dir="rtl"] .page-hero-title { line-height: 1.32; font-weight: 700; padding-block: 0.04em; }
.page-hero-lead { font-size: clamp(18px, 2vw, 23px); line-height: 1.5; max-width: 56ch; margin-top: 30px; color: var(--ink-soft); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 4vw, 56px); }
.about-block { border-top: 2px solid var(--ink); padding-top: 26px; }
.about-block-n { font-size: 13px; opacity: 0.5; }
.about-block-t { font-size: clamp(21px, 2.2vw, 28px); font-weight: 500; margin: 16px 0 14px; }
.about-block-b { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 820px) { .about-blocks { grid-template-columns: minmax(0, 1fr); } }

.about-stats-sec { background: var(--paper-2); }
.about-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 50px); margin-top: 40px; }
.about-stat { display: flex; flex-direction: column; gap: 14px; border-inline-start: 2px solid var(--orange); padding-inline-start: 22px; }
.about-stat-n { font-size: clamp(40px, 6vw, 76px); font-weight: 500; line-height: 1; }
.about-stat-l { font-size: 15px; color: var(--ink-soft); max-width: 26ch; }
@media (max-width: 760px) { .about-stats { grid-template-columns: minmax(0, 1fr); } }

.values-sec { background: var(--ink); color: var(--paper); }
.values-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(34px, 6vw, 80px); align-items: start; }
.values-sec .eyebrow { color: var(--paper); }
.values-sec .eyebrow::before { background: var(--paper); }
.values-shape { margin-top: 30px; opacity: 0.85; }
.values-shape .shape-bar, .values-shape .shape-circle, .values-shape .shape-trap { background: var(--sage) !important; }
.values-list { border-top: 1px solid rgba(244,241,234,0.18); }
.values-item {
  padding: clamp(20px, 3vw, 32px) 0; border-bottom: 1px solid rgba(244,241,234,0.18);
  font-size: clamp(26px, 4vw, 50px); transition: padding-inline .4s var(--ease), color .3s;
}
.values-item .display { font-weight: 500; }
.values-item:hover { padding-inline-start: 16px; color: var(--yellow); }
@media (max-width: 820px) {
  .values-grid { grid-template-columns: minmax(0, 1fr); }
  .values-shape { display: none; }
}

/* ============================================================
   SERVICES page
   ============================================================ */
.services-list { display: flex; flex-direction: column; gap: clamp(40px, 7vw, 90px); }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.service-row:nth-child(even) .service-row-media { order: 2; }
[dir="rtl"] .service-row:nth-child(even) .service-row-media { order: 0; }
.service-row-tag { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.55; }
.service-row-name { font-size: clamp(28px, 3.6vw, 48px); font-weight: 500; margin: 14px 0 18px; letter-spacing: -0.02em; }
.service-row-body { font-size: clamp(16px, 1.7vw, 19px); line-height: 1.55; color: var(--ink-soft); max-width: 46ch; }
.service-row-media .ph { box-shadow: 0 36px 70px -54px rgba(64,37,48,.5); }
@media (max-width: 800px) {
  .service-row { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .service-row:nth-child(even) .service-row-media { order: 0; }
}

.service-mid { background: var(--yellow); }
.service-mid-inner { text-align: center; display: flex; flex-direction: column; align-items: center; max-width: 760px; margin: 0 auto; }
.service-mid-title { font-size: clamp(34px, 5.5vw, 72px); font-weight: 500; letter-spacing: -0.02em; }
.service-mid-body { font-size: clamp(17px, 1.9vw, 21px); line-height: 1.5; margin: 22px 0 34px; max-width: 48ch; }

/* ============================================================
   WORK
   ============================================================ */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 54px); }
.work-card.wide { grid-column: span 2; }
.work-card-media { position: relative; overflow: hidden; border-radius: var(--radius); }
.work-card-media .ph { border-radius: var(--radius); transition: transform .7s var(--ease); }
.work-card:hover .work-card-media .ph { transform: scale(1.03); }
.work-card-tag {
  position: absolute; top: 16px; inset-inline-start: 16px; z-index: 2;
  font-size: 11.5px; letter-spacing: 0.08em; padding: 7px 12px; border-radius: 999px;
  white-space: nowrap;
  background: rgba(244,241,234,0.92); color: var(--ink); backdrop-filter: blur(4px);
}
.work-card-name { font-size: clamp(22px, 2.6vw, 32px); font-weight: 500; margin: 20px 0 10px; }
.work-card-body { font-size: 16px; line-height: 1.55; color: var(--ink-soft); max-width: 50ch; }
@media (max-width: 760px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .work-card.wide { grid-column: span 1; }
}

/* ============================================================
   WORK — & more
   ============================================================ */
.work-more-sec {
  border-top: 1px solid var(--line);
  padding-block: clamp(60px, 9vh, 110px);
}
.work-more-inner {
  display: flex; align-items: baseline; gap: clamp(30px, 6vw, 90px);
  flex-wrap: wrap;
}
.work-more-amp {
  font-size: clamp(64px, 11vw, 150px); font-weight: 500;
  letter-spacing: -0.04em; line-height: 0.9;
  color: var(--ink); opacity: 0.13;
  flex-shrink: 0; user-select: none;
  transition: opacity .5s var(--ease);
}
.work-more-sec:hover .work-more-amp { opacity: 0.22; }
[dir="rtl"] .work-more-amp { font-family: var(--arabic-display); opacity: 0.15; }
.work-more-copy { display: flex; flex-direction: column; gap: 18px; max-width: 44ch; }
.work-more-body { font-size: clamp(17px, 1.9vw, 22px); line-height: 1.5; color: var(--ink-soft); }
@media (max-width: 600px) {
  .work-more-inner { flex-direction: column; gap: 20px; }
  .work-more-amp { font-size: clamp(64px, 18vw, 100px); }
}
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 84px); align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field-label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; }
.field-input {
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: transparent; border: none; border-bottom: 1.5px solid var(--line);
  padding: 11px 2px; transition: border-color .3s var(--ease);
}
[dir="rtl"] .field-input { font-family: var(--arabic-sans); }
.field-input:focus { outline: none; border-color: var(--orange); }
textarea.field-input { resize: vertical; min-height: 120px; }
.contact-submit { align-self: flex-start; margin-top: 8px; margin-bottom: 16px; }
.contact-sent { display: flex; flex-direction: column; gap: 26px; padding: 30px 0; }
.contact-sent-msg { font-size: clamp(26px, 3.4vw, 40px); font-weight: 500; max-width: 18ch; }

.contact-details { background: var(--paper-2); border-radius: var(--radius-lg); padding: clamp(28px, 3.5vw, 44px); }
.contact-details-h { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.5; margin-bottom: 28px; }
.contact-detail { padding: 20px 0; border-top: 1px solid var(--line); }
.contact-detail:first-of-type { border-top: none; padding-top: 0; }
.contact-detail-l { display: block; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.55; margin-bottom: 10px; }
.contact-detail-v { font-size: clamp(20px, 2.2vw, 26px); font-weight: 500; transition: color .25s; }
a.contact-detail-v:hover { color: var(--orange); }
.contact-detail-p { font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); margin-bottom: 12px; }
.contact-studio { margin-top: 22px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
}

/* ---- book a phone call (Calendly embed) ---- */
.contact-book-sec { background: var(--sage); scroll-margin-top: 90px; }
.contact-book-head { max-width: 60ch; margin-bottom: clamp(30px, 4vw, 52px); }
.contact-book-title { font-size: clamp(30px, 4.2vw, 52px); font-weight: 500; margin-top: 18px; line-height: 1.05; }
.contact-book-lead { font-size: clamp(17px, 1.9vw, 21px); line-height: 1.5; color: var(--ink-soft); margin-top: 22px; max-width: 52ch; }
[dir="rtl"] .contact-book-title { line-height: 1.32; }

.calendly-frame {
  position: relative;
  min-height: 700px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #b5bfaa; /* matches widget bg so it blends seamlessly during load */
  box-shadow: 0 18px 50px -28px rgba(64, 37, 48, 0.45);
}
.calendly-target { width: 100%; min-width: 320px; height: 700px; }
.calendly-loading {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.calendly-loading .mono {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); opacity: 0.7;
  animation: calendly-pulse 1.6s var(--ease) infinite;
}
@keyframes calendly-pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.8; } }
@media (prefers-reduced-motion: reduce) {
  .calendly-loading .mono { animation: none; }
}
