/* ==========================================================================
   Life at Daleel (/life-at-daleel)
   Styled through tokens.css only. Calm and photographic: real stills from the
   company film, white sections alternating with the quiet surface, one deep
   blue hero and one deep blue close. Gold marks rules and icons.
   ========================================================================== */

.lfx { color: var(--d-text); font-family: var(--d-body); }
.lfx, .lfx * { box-sizing: border-box; transition: none; }
.lfx h1, .lfx h2, .lfx h3 { font-family: var(--d-display); color: var(--d-ink); text-wrap: balance; }
.lfx a:focus-visible { outline: none; box-shadow: var(--d-focus); border-radius: var(--d-radius); }

.lfx-eyebrow {
  display: inline-block; margin-bottom: 14px;
  font: 600 12px/1.3 var(--d-display); letter-spacing: .22em; text-transform: uppercase; color: var(--d-gold);
}
.lfx-eyebrow--ink { color: var(--d-gold-ink); }
[dir="rtl"] .lfx-eyebrow { letter-spacing: 0; }

.lfx-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px;
  font: 600 13px/1 var(--d-display); letter-spacing: .06em; text-transform: uppercase;
  border-radius: 2px; text-decoration: none;
}
.lfx-btn--gold { background: var(--d-gold); color: var(--d-on-gold); }
.lfx-btn--gold:hover { background: #e2b51d; color: var(--d-on-gold); text-decoration: none; }
.lfx-btn i { transition: transform .2s ease; }
.lfx-btn:hover i { transform: translateX(3px); }
[dir="rtl"] .lfx-btn i { transform: scaleX(-1); }

/* --- Hero ---------------------------------------------------------------- */

.lfx-hero {
  position: relative; overflow: hidden; color: var(--d-on-blue);
  padding: 190px 0 96px;
  background: radial-gradient(110% 100% at 100% 0%, #0a6ea6 0%, var(--d-blue) 40%, var(--d-blue-night) 100%);
}
.lfx-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at 0% 110%, transparent 0 34px, rgba(241, 196, 43, .07) 34px 35px);
}
.lfx-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.lfx-hero h1 { color: var(--d-on-blue); font-size: 54px; font-weight: 600; line-height: 1.08; margin: 0; }
.lfx-hero h1::after { content: ""; display: block; width: 60px; height: 4px; background: var(--d-gold); border-radius: 3px; margin-top: 20px; }
.lfx-hero__copy p { margin: 22px 0 0; max-width: 46ch; font-size: 18px; font-weight: 300; line-height: 1.7; color: rgba(255, 255, 255, .88); }
.lfx-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 34px; }
.lfx-link { font: 600 13px/1 var(--d-display); color: var(--d-on-blue); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .4); padding-bottom: 5px; }
.lfx-link:hover { color: var(--d-gold); border-color: var(--d-gold); text-decoration: none; }

.lfx-hero__media { position: relative; padding-bottom: 46px; padding-inline-start: 0; }
.lfx-hero__main { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.lfx-hero__inset {
  position: absolute; inset-inline-start: -40px; bottom: 0; width: 42%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 6px; border: 5px solid var(--d-blue-night); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
}

/* --- Sections ------------------------------------------------------------ */

.lfx-section { padding: 104px 0; background: var(--d-bg); }
.lfx-section--surface { background: var(--d-surface); }
.lfx-head { max-width: 720px; margin-bottom: 52px; }
.lfx-head h2 { font-size: 36px; font-weight: 600; line-height: 1.2; margin: 0; }
.lfx-head h2::after { content: ""; display: block; width: 48px; height: 3px; background: var(--d-gold); margin-top: 16px; }
.lfx-head p { margin: 20px 0 0; font-size: 17px; line-height: 1.75; }

/* Values */
.lfx-values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--d-line); }
.lfx-values li { padding: 34px 30px 8px 0; }
.lfx-values li + li { padding-inline-start: 30px; border-inline-start: 1px solid var(--d-line); }
.lfx-values__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--d-surface); color: var(--d-blue); font-size: 24px; margin-bottom: 22px; }
.lfx-values li:hover .lfx-values__icon { background: var(--d-gold); color: var(--d-on-gold); transition: background .25s, color .25s; }
.lfx-values h3 { font-size: 19px; font-weight: 600; margin: 0 0 10px; }
.lfx-values p { margin: 0; font-size: 15px; line-height: 1.65; }

/* Figures */
.lfx-figures { background: var(--d-blue-night); padding: 64px 0; }
.lfx-figures__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.lfx-figures__row > div { display: flex; flex-direction: column-reverse; gap: 10px; padding: 0 32px; }
.lfx-figures__row > div + div { border-inline-start: 1px solid rgba(255, 255, 255, .15); }
.lfx-figures dd { margin: 0; font: 700 64px/1 var(--d-display); color: var(--d-on-blue); font-variant-numeric: tabular-nums; }
.lfx-figures dd span { color: var(--d-gold); font-size: .6em; margin-inline-start: 2px; }
.lfx-figures dt { font: 600 12px/1.4 var(--d-display); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
[dir="rtl"] .lfx-figures dt { letter-spacing: 0; }

/* Office and field */
.lfx-places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.lfx-place { display: flex; flex-direction: column; min-width: 0; }
.lfx-place__media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: var(--d-blue-night); }
.lfx-place__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.lfx-place:hover .lfx-place__media img { transform: scale(1.04); }
.lfx-place__body { padding: 28px 8px 0 0; }
.lfx-place h3 { font-size: 22px; font-weight: 600; margin: 0 0 12px; }
.lfx-place p { margin: 0; font-size: 16px; line-height: 1.75; max-width: 52ch; }

/* Facilities: two photo tiles lead, four icon tiles follow. */
.lfx-facilities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.lfx-fac {
  position: relative; display: flex; flex-direction: column; gap: 16px; min-width: 0;
  padding: 28px 26px; background: var(--d-card); border: 1px solid var(--d-line); border-radius: 6px;
}
.lfx-fac__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--d-surface); color: var(--d-blue); font-size: 21px; }
.lfx-fac h3 { font-size: 17px; font-weight: 600; margin: 0 0 8px; }
.lfx-fac p { margin: 0; font-size: 14.5px; line-height: 1.6; }

.lfx-fac--photo { grid-column: span 2; min-height: 340px; justify-content: flex-end; padding: 30px; border: 0; overflow: hidden; color: rgba(255, 255, 255, .88); isolation: isolate; }
.lfx-fac--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.lfx-fac--photo:hover img { transform: scale(1.04); }
.lfx-fac--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1, 30, 48, 0) 35%, rgba(1, 30, 48, .82) 100%); }
.lfx-fac--photo .lfx-fac__icon { position: absolute; top: 24px; inset-inline-start: 24px; background: var(--d-gold); color: var(--d-on-gold); }
.lfx-fac--photo h3 { color: var(--d-on-blue); font-size: 22px; }
.lfx-fac--photo p { font-size: 15px; max-width: 40ch; }

/* Voices */
.lfx-voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.lfx-voice {
  position: relative; margin: 0; display: flex; flex-direction: column; gap: 22px;
  padding: 36px 32px 30px; background: var(--d-surface); border-radius: 6px; border-top: 3px solid var(--d-gold);
}
.lfx-voice__flag {
  position: absolute; top: 14px; inset-inline-end: 14px; padding: 4px 9px; border-radius: 99px;
  border: 1px dashed var(--d-gold-ink); color: var(--d-gold-ink); font: 600 10.5px/1 var(--d-display); letter-spacing: .08em; text-transform: uppercase;
}
.lfx-voice__mark { font-size: 26px; color: var(--d-gold); }
.lfx-voice blockquote { margin: 0; padding: 0; border: 0; flex: 1; font-size: 17px; line-height: 1.7; color: var(--d-ink); font-style: italic; }
.lfx-voice figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--d-line); font-size: 13.5px; color: var(--d-muted); }
.lfx-voice figcaption strong { display: block; font: 600 15px/1.3 var(--d-display); color: var(--d-ink); }
.lfx-voice__avatar { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--d-line); color: var(--d-muted); font-size: 18px; }

/* Gallery strip: film stills edge to edge */
.lfx-gallery { background: var(--d-bg); padding: 0; } /* the theme pads every <section> by 100px */
.lfx-gallery__strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.lfx-gallery__strip a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--d-blue-night); }
.lfx-gallery__strip img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2, .7, .2, 1), opacity .3s; }
.lfx-gallery__strip a:hover img { transform: scale(1.05); }

/* Grow with us */
.lfx-grow { background: var(--d-blue); color: rgba(255, 255, 255, .85); padding: 96px 0; }
.lfx-grow__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.lfx-grow h2 { color: var(--d-on-blue); font-size: 36px; font-weight: 600; line-height: 1.2; margin: 0; }
.lfx-grow h2::after { content: ""; display: block; width: 48px; height: 3px; background: var(--d-gold); margin-top: 16px; }
.lfx-grow__intro p { margin: 20px 0 0; font-size: 17px; line-height: 1.7; max-width: 44ch; }
.lfx-grow__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lfx-grow__links a {
  display: flex; align-items: center; gap: 18px; padding: 20px 22px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px;
  color: rgba(255, 255, 255, .78); font-size: 14px; text-decoration: none;
  transition: background .2s, border-color .2s;
}
.lfx-grow__links a:hover { background: rgba(255, 255, 255, .13); border-color: var(--d-gold); text-decoration: none; color: rgba(255, 255, 255, .9); }
.lfx-grow__links a > i:first-child { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--d-gold); color: var(--d-on-gold); font-size: 18px; }
.lfx-grow__links span { flex: 1; min-width: 0; }
.lfx-grow__links strong { display: block; font: 600 16px/1.3 var(--d-display); color: var(--d-on-blue); margin-bottom: 3px; }
.lfx-grow__go { color: var(--d-gold); transition: transform .2s; }
.lfx-grow__links a:hover .lfx-grow__go { transform: translateX(4px); }
[dir="rtl"] .lfx-grow__go { transform: scaleX(-1); }

/* --- Smaller screens ----------------------------------------------------- */

@media (max-width: 1199px) {
  .lfx-hero h1 { font-size: 46px; }
  .lfx-hero__inner { gap: 48px; }
}
@media (max-width: 991px) {
  .lfx-hero { padding: 150px 0 72px; }
  .lfx-hero__inner { grid-template-columns: 1fr; }
  .lfx-hero__inset { inset-inline-start: auto; inset-inline-end: 16px; width: 38%; }
  .lfx-section { padding: 76px 0; }
  .lfx-head h2, .lfx-grow h2 { font-size: 30px; }
  .lfx-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lfx-values li:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .lfx-values li:nth-child(n+3) { border-top: 1px solid var(--d-line); margin-top: 24px; }
  .lfx-facilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lfx-fac--photo { min-height: 280px; }
  .lfx-voices { grid-template-columns: 1fr; }
  .lfx-gallery__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lfx-grow__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 575px) {
  .lfx-hero { padding: 130px 0 56px; }
  .lfx-hero h1 { font-size: 36px; }
  .lfx-hero__copy p { font-size: 16px; }
  .lfx-hero__inset { display: none; }
  .lfx-hero__media { padding-bottom: 0; }
  .lfx-values { grid-template-columns: 1fr; }
  .lfx-values li, .lfx-values li + li { padding: 26px 0 4px; border-inline-start: 0; }
  .lfx-values li + li { border-top: 1px solid var(--d-line); margin-top: 0; }
  .lfx-figures__row { grid-template-columns: 1fr; gap: 28px; }
  .lfx-figures__row > div { padding: 0; }
  .lfx-figures__row > div + div { border-inline-start: 0; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 28px; }
  .lfx-figures dd { font-size: 52px; }
  .lfx-places { grid-template-columns: 1fr; gap: 40px; }
  .lfx-facilities { grid-template-columns: 1fr; }
  .lfx-fac--photo { grid-column: auto; min-height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  .lfx-place__media img, .lfx-fac--photo img, .lfx-gallery__strip img, .lfx-btn i, .lfx-grow__go { transition: none; }
  .lfx-place:hover .lfx-place__media img, .lfx-fac--photo:hover img, .lfx-gallery__strip a:hover img { transform: none; }
}
