/* Lotfy's named experience. Scoped to the feature and its existing canonical page. */
.lotfy-feature,
.lotfy-experience-page {
  --lotfy-ink: #143b3c;
  --lotfy-muted: #526665;
  --lotfy-paper: #f6f3ec;
  --lotfy-line: #d8dfd8;
  --lotfy-accent: #245c52;
  color: var(--lotfy-ink);
}
.lotfy-feature {
  background: #edf1ec;
  padding: 32px 0;
}
.lotfy-feature-card {
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  overflow: hidden;
  background: #fffdf9;
  border: 1px solid var(--lotfy-line);
  border-radius: 18px;
}
.lotfy-feature-portrait {
  position: relative;
  margin: 0;
  min-height: 340px;
}
.lotfy-feature-portrait img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}
.lotfy-feature-portrait figcaption {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  width: fit-content;
  padding: 8px 12px;
  background: #123b39e8;
  color: white;
  border-radius: 6px;
  font-size: 0.77rem;
  font-weight: 700;
}
.lotfy-feature-copy {
  padding: clamp(24px, 3vw, 38px);
  align-self: center;
}
.lotfy-kicker {
  margin: 0 0 16px;
  font-size: 0.7rem;
  line-height: 1.5;
  letter-spacing: 0.15em;
  font-weight: 800;
  color: var(--lotfy-accent);
  text-transform: uppercase;
}

/* Preserve the creator's deliberately lowercase professional name. */
.lotfy-kicker[data-i18n="lotfyCore.videoKicker"] {
  text-transform: none;
}
.lotfy-feature h2 {
  max-width: 22ch;
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 2.6vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.lotfy-feature-copy > p:not(.lotfy-kicker) {
  margin: 12px 0;
  max-width: 66ch;
  line-height: 1.6;
  font-size: 0.91rem;
  color: var(--lotfy-muted);
}
.lotfy-feature-copy .lotfy-feature-roles {
  color: var(--lotfy-ink);
  font-size: 0.76rem;
  font-weight: 800;
}
.lotfy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  margin-top: 23px;
}
.lotfy-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 13px 21px;
  border: 1px solid var(--lotfy-accent);
  border-radius: 7px;
  color: #fff;
  background: var(--lotfy-accent);
  font: inherit;
  font-weight: 800;
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s;
}
.lotfy-button:hover {
  background: #16453d;
  color: #fff;
}
.lotfy-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--lotfy-ink);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.lotfy-feature .lotfy-micro,
.lotfy-experience-page .lotfy-micro {
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--lotfy-muted);
}
.lotfy-feature a:focus-visible,
.lotfy-experience-page a:focus-visible,
.lotfy-experience-page video:focus-visible {
  outline: 3px solid #d69543;
  outline-offset: 5px;
}
.lotfy-experience-page {
  background: var(--lotfy-paper);
}
.lotfy-experience-page .site-header {
  background: #fffdf9;
}
.lotfy-experience-page .site-header .brand,
.lotfy-experience-page .site-nav > a {
  color: var(--lotfy-ink);
}
.lotfy-main {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}
.lotfy-main h1,
.lotfy-main h2,
.lotfy-main h3 {
  color: inherit;
  letter-spacing: -0.035em;
}
.lotfy-main h1 {
  font-size: clamp(2.3rem, 4.7vw, 4.4rem);
  line-height: 1.06;
  margin: 0 0 25px;
  max-width: 13ch;
}
.lotfy-main h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15;
  margin: 0 0 22px;
  max-width: 23ch;
}
.lotfy-main h3 {
  font-size: 1.32rem;
  line-height: 1.3;
  margin: 0 0 13px;
}
.lotfy-main p {
  line-height: 1.75;
}
.lotfy-breadcrumb {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 25px 0;
  font-size: 0.78rem;
  color: var(--lotfy-muted);
}
.lotfy-breadcrumb a {
  color: inherit;
}
.lotfy-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 560px;
  border-radius: 20px;
  overflow: hidden;
  background: #153e3b;
  color: #fffdf6;
}
.lotfy-hero-copy {
  padding: clamp(28px, 4vw, 58px);
  align-self: center;
}
.lotfy-hero .lotfy-kicker {
  color: #c4d4bb;
}
.lotfy-hero .lotfy-lead {
  color: #e0e7dc;
  font-size: 1rem;
  margin: 0 0 18px;
}
.lotfy-hero-note {
  color: #fffdf6;
  font-size: 0.91rem;
}
.lotfy-hero .lotfy-button {
  background: #eee6cf;
  border-color: #eee6cf;
  color: #143b3c;
}
.lotfy-hero .lotfy-button:hover {
  background: #fffdf6;
}
.lotfy-hero .lotfy-text-link {
  color: #fff;
}
.lotfy-hero .lotfy-micro {
  color: #c4d4bb;
  margin-bottom: 0;
}
.lotfy-hero-portrait {
  margin: 0;
  position: relative;
  min-height: 560px;
}
.lotfy-hero-portrait > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.lotfy-hero-portrait figcaption {
  position: absolute;
  inset: auto 0 0;
  background: linear-gradient(transparent, #0e2528ee);
  padding: 75px 28px 25px;
}
.lotfy-hero-portrait figcaption strong {
  display: block;
  font-size: 1.6rem;
}
.lotfy-hero-portrait figcaption span {
  font-size: 0.76rem;
}
.lotfy-section {
  padding: 68px 0;
  border-bottom: 1px solid var(--lotfy-line);
}
.lotfy-meet {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
}
.lotfy-meet > div > p {
  color: var(--lotfy-muted);
  margin-top: 0;
}
.lotfy-guide-note {
  border-left: 3px solid #9aa98c;
  padding: 4px 0 4px 18px;
  font-size: 0.87rem;
}
.lotfy-section-heading {
  max-width: 700px;
  margin-bottom: 30px;
}
.lotfy-section-heading > p:last-child {
  color: var(--lotfy-muted);
}
.lotfy-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.lotfy-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fffdf9;
  padding: 32px;
  border: 1px solid var(--lotfy-line);
  border-radius: 12px;
}
.lotfy-choice-film {
  background: #e8eee3;
  border-color: #bdccb8;
}
.lotfy-number {
  width: fit-content;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--lotfy-accent);
  border-bottom: 2px solid #a1ae90;
  padding-bottom: 8px;
  margin-bottom: 24px;
}
.lotfy-choice h3 {
  font-size: 1.7rem;
}
.lotfy-choice p {
  margin-top: 0;
  color: var(--lotfy-muted);
}
.lotfy-choice ul {
  margin: 2px 0 24px;
  padding-left: 20px;
  line-height: 1.6;
}
.lotfy-choice li + li {
  margin-top: 11px;
}
.lotfy-choice .lotfy-choice-note {
  margin-top: auto;
  font-size: 0.82rem;
  padding-top: 10px;
}
.lotfy-choice .lotfy-button {
  align-self: flex-start;
}
.lotfy-places {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.lotfy-place {
  overflow: hidden;
  background: #fffdf9;
  border: 1px solid var(--lotfy-line);
  border-radius: 12px;
}
.lotfy-cairo-pair {
  height: 340px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.lotfy-cairo-pair img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.lotfy-cairo-pair img:last-child {
  object-position: center;
}
.lotfy-place-copy {
  padding: 28px;
}
.lotfy-place-copy p {
  color: var(--lotfy-muted);
  font-size: 0.92rem;
}
.lotfy-place-sharm figure {
  margin: 0;
  background: #193e3c;
  color: #e6ede1;
}
.lotfy-place video {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: contain;
  background: #14312f;
}
.lotfy-place figcaption {
  padding: 12px 24px;
  font-size: 0.72rem;
  line-height: 1.5;
}
.lotfy-film {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.lotfy-film p {
  color: var(--lotfy-muted);
}
.lotfy-proof-note {
  border: 1px solid var(--lotfy-line);
  border-radius: 10px;
  padding: 22px;
  margin: 26px 0;
  background: #eeeee5;
}
.lotfy-proof-note h3 {
  font-size: 1rem;
}
.lotfy-proof-note p {
  font-size: 0.84rem;
  margin-bottom: 0;
}
.lotfy-process ol {
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.lotfy-process li > span {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 0.78rem;
  color: var(--lotfy-muted);
}
.lotfy-process h3 {
  font-size: 1.1rem;
}
.lotfy-process li p {
  font-size: 0.86rem;
  color: var(--lotfy-muted);
}
.lotfy-final {
  margin: 48px 0 0;
  padding: 38px;
  border: 1px solid #cbd9c5;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  background: #e5ecdf;
}
.lotfy-final p {
  font-size: 0.91rem;
  color: var(--lotfy-muted);
}
.lotfy-final-action {
  align-self: center;
}
.lotfy-final .lotfy-quote {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--lotfy-ink);
}
.lotfy-final .lotfy-button {
  width: 100%;
}
.lotfy-related {
  display: flex;
  gap: 12px 28px;
  flex-wrap: wrap;
  padding: 34px 0 45px;
}
.lotfy-related a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--lotfy-accent);
  font-size: 0.86rem;
  text-underline-offset: 4px;
}
@media (max-width: 1024px) {
  .lotfy-hero {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .lotfy-meet,
  .lotfy-film {
    gap: 36px;
  }
  .lotfy-feature-card {
    grid-template-columns: 0.32fr 0.68fr;
  }
  .lotfy-feature-copy {
    padding: 26px;
  }
  .lotfy-process ol {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .lotfy-experience-page .site-header .nav-toggle {
    color: var(--navy);
  }
}
@media (max-width: 780px) {
  .lotfy-main {
    width: calc(100% - 40px);
  }
  .lotfy-hero {
    grid-template-columns: 1fr;
  }
  .lotfy-main h1 {
    max-width: 20ch;
    font-size: 2.8rem;
  }
  .lotfy-hero-portrait {
    min-height: 360px;
  }
  .lotfy-hero-portrait > img {
    object-position: center 23%;
  }
  .lotfy-meet,
  .lotfy-film,
  .lotfy-final {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .lotfy-choices,
  .lotfy-places {
    gap: 16px;
  }
  .lotfy-choice {
    padding: 24px;
  }
  .lotfy-choice h3 {
    font-size: 1.5rem;
  }
  .lotfy-cairo-pair,
  .lotfy-cairo-pair img,
  .lotfy-place video {
    height: 270px;
  }
  .lotfy-feature-portrait {
    min-height: 390px;
  }
  .lotfy-feature .lotfy-actions {
    gap: 6px;
  }
  .lotfy-feature .lotfy-text-link {
    padding: 6px 0;
  }
}
@media (max-width: 600px) {
  .lotfy-feature {
    padding: 24px 0;
  }
  .lotfy-feature-card {
    grid-template-columns: 1fr;
  }
  .lotfy-feature-portrait {
    min-height: 190px;
  }
  .lotfy-feature-portrait img {
    object-position: center 24%;
  }
  .lotfy-feature-copy {
    padding: 23px;
  }
  .lotfy-feature h2 {
    font-size: 1.85rem;
  }
  .lotfy-feature-copy > p:not(.lotfy-kicker) {
    font-size: 0.85rem;
  }
  .lotfy-feature .lotfy-button {
    width: 100%;
  }
  .lotfy-feature .lotfy-text-link {
    width: 100%;
    justify-content: center;
  }
  .lotfy-main {
    width: calc(100% - 32px);
  }
  .lotfy-breadcrumb {
    padding: 18px 0;
  }
  .lotfy-main h1 {
    font-size: 2.45rem;
  }
  .lotfy-main h2 {
    font-size: 1.9rem;
  }
  .lotfy-hero-copy {
    padding: 29px 24px;
  }
  .lotfy-hero .lotfy-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }
  .lotfy-hero .lotfy-text-link {
    justify-content: center;
  }
  .lotfy-hero-portrait {
    min-height: 310px;
  }
  .lotfy-section {
    padding: 42px 0;
  }
  .lotfy-choices,
  .lotfy-places,
  .lotfy-process ol {
    grid-template-columns: 1fr;
  }
  .lotfy-choice .lotfy-button {
    width: 100%;
  }
  .lotfy-process ol {
    gap: 18px;
  }
  .lotfy-process li {
    padding: 16px 0;
    border-bottom: 1px solid var(--lotfy-line);
  }
  .lotfy-process li > span {
    margin-bottom: 9px;
  }
  .lotfy-final {
    margin-top: 28px;
    padding: 25px;
  }
  .lotfy-related {
    gap: 4px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lotfy-button {
    transition: none;
  }
}
