/* AFC Holidays UAE Landing Page | One stylesheet, section-labelled */
/* ========== SOURCE: site.css ========== */
#afc-uae-page,#afc-uae-page *,#afc-uae-page *::before,#afc-uae-page *::after{box-sizing:border-box}#afc-uae-page{width:100%;overflow:clip}#afc-uae-page .afc04{color:#fff}#afc-uae-page .afc04 h1{font-family:Poppins,sans-serif}#afc-uae-page .afc-blur-section{font-family:Poppins,sans-serif;position: relative;}#afc-uae-landmarks{min-height:100vh} @media(prefers-reduced-motion:reduce){#afc-uae-landmarks .gallery__item{visibility:visible!important}#afc-uae-landmarks .webgl{display:none!important}}


/* ========== SOURCE: section01-hero.css ========== */
 .scroll-sequence{height:320vh;position:relative}.stage{position:sticky;top:0;height:100svh;overflow:hidden;background:#090909;isolation:isolate}.destination{position:absolute;inset:0;z-index:1;background-image:url('../img/uae-holiday-packages/hero-back.webp');background-size:cover;background-repeat:no-repeat;background-position:center center;transform:none!important}.portal-foreground{position:absolute;inset:0;z-index:2;background-image:url('../img/uae-holiday-packages/child-bk.webp');background-size:cover;background-repeat:no-repeat;background-position:center center;transform-origin:50% 50%;transform:scale(1);will-change:transform;pointer-events:none}.words{position:absolute;inset:0;z-index:3;pointer-events:none;font-family:Poppins,Arial,sans-serif}.words-left,.words-right{position:absolute;display:flex;flex-direction:column;line-height:.85;text-shadow:0 2px 15px #0008}.words-left{left:7%;top:30%}.words-right{right:7%;top:60%}.words span{font-size:clamp(1.8rem,3.5vw,4.5rem);font-weight:bold}.words strong{font-size:clamp(3.8rem,8vw,10rem);letter-spacing:-.075em}.hint,.progress{position:absolute;z-index:4;font-size:11px;letter-spacing:.16em}.hint{bottom:30px;left:50%;transform:translateX(-50%);white-space:nowrap}.progress{right:24px;bottom:30px}.afc-hero-next-unused{min-height:100svh;background:#f0e6d6;color:#17252b;display:grid;place-items:center;padding:10vw}.afc-hero-next-unused>div{max-width:900px}.afc-hero-next-unused p:first-child{font-size:12px;letter-spacing:.24em}.afc-hero-next-unused h1{font-family:Georgia,serif;font-size:clamp(3rem,8vw,8rem);letter-spacing:-.06em;line-height:1}.afc-hero-next-unused button{background:#17252b;color:#fff;border:0;border-radius:30px;padding:15px 24px;cursor:pointer}@media(max-width:700px){.scroll-sequence{height:280vh}.words-left{left:4%;top:30%}.words-right{right:4%;top:66%}.words strong{font-size:clamp(2.5rem,12vw,5rem)}}@media(prefers-reduced-motion:reduce){.scroll-sequence{height:120vh}.portal-foreground{transform:none!important}}

/* ========== SOURCE: section02-blur.css ========== */
.afc-blur-section{--afc-gold:#b68d56;--afc-ink:#16282d;--afc-paper:#f9f6f0;background:var(--afc-paper);color:var(--afc-ink)}

.demo-spacer{height:85vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;font-size:12px;letter-spacing:.2em;color:#847c72}
.demo-spacer>span+span{font-size:32px}.demo-end{height:65vh}
.demo-end button{border:1px solid #aa9882;background:transparent;border-radius:999px;padding:12px 20px;font:500 13px Poppins,sans-serif;color:var(--afc-ink);cursor:pointer}
.afc-blur-section{min-height:100vh;display:grid;place-items:center;padding:120px clamp(22px,7vw,110px);overflow:hidden}
.afc-blur-inner{max-width:1190px;margin:auto}
.afc-blur-eyebrow{font-size:12px;font-weight:600;letter-spacing:.26em;color:#98764d;margin:0 0 40px}
.afc-blur-text{font-size:clamp(30px,4.6vw,64px);font-weight:600;letter-spacing:-.055em;line-height:1.32;margin:0}
/* The whole paragraph starts blurred and partially transparent */
.afc-blur-text{filter:blur(8px);opacity:.30;transform:translateY(18px);transition:filter .8s cubic-bezier(.2,.7,.2,1),opacity .8s ease,transform .8s ease}
.afc-blur-text.afc-visible{filter:blur(0);opacity:1;transform:translateY(0)}
/* Keep highlighted fragments inline so text wraps naturally. Box-decoration-break paints separate wraps. */
.afc-highlight{position:relative;isolation:isolate;box-decoration-break:clone;-webkit-box-decoration-break:clone;padding:0 .07em;border-radius:5px;background-clip:padding-box;color:inherit;background-image:linear-gradient(90deg,var(--afc-gold),var(--afc-gold));background-size:0% 86%;background-position:left 65%;background-repeat:no-repeat;transition:background-size 1s cubic-bezier(.22,1,.36,1),color .35s ease;transition-delay:0s}
.afc-visible .afc-highlight{background-size:100% 86%;color:#fff}
.afc-visible .afc-highlight:nth-of-type(1){transition-delay:.48s,.6s}
.afc-visible .afc-highlight:nth-of-type(2){transition-delay:.80s,.9s}
.afc-visible .afc-highlight:nth-of-type(3){transition-delay:1.12s,1.2s}
.afc-blur-sub{font-size:clamp(14px,1.25vw,18px);color:#687475;margin:40px 0 0;max-width:640px;line-height:1.8}
@media(max-width:680px){.afc-blur-section{padding:90px 22px}.afc-blur-eyebrow{margin-bottom:24px}.afc-blur-text{font-size:clamp(27px,7vw,39px);line-height:1.38}.afc-blur-sub{margin-top:25px}}
@media(prefers-reduced-motion:reduce){.afc-blur-text{filter:none;opacity:1;transform:none;transition:none}.afc-highlight{background-size:100% 86%;color:#fff;transition:none}}



/* ========== SOURCE: section03-paper-roll.css ========== */
#afc-uae-landmarks{--page-padding:1.5rem;--color-text:#ffffffea;--color-bg:#120c09;--color-link:rgb(206,128,92);--item-br:0px;--item-ar:14 / 9;--item-width:560px;--color-marquee:rgb(206,128,92);--font-size-marquee:clamp(2rem,16vw,8rem);--blend-mode:plus-lighter;--color-shadow-in:rgba(0,0,0,.2);--color-shadow-out:rgba(0,0,0,.8);color:var(--color-text);background:var(--color-bg);font-family:Poppins,sans-serif;position:relative;isolation:isolate;overflow:clip;padding:1px 0;}
#afc-uae-landmarks{--color-bg: #120c09;
  --color-link: rgb(206, 128, 92);
  --item-ar: 14 / 9;
  --item-width: 560px;
  --color-marquee: rgb(206, 128, 92);
  --blend-mode: plus-lighter;}
#afc-uae-landmarks .frame{font-weight: bold;
  padding: var(--page-padding);
  display: grid;
  z-index: 10000;
  position: relative;
  gap: 1rem;
  pointer-events: none;
  justify-items: start;
  grid-template-columns: 100%;
  grid-template-areas:
    "title"
    "links"
    "demos"
    "tags"
    "sponsor";

  #cdawrap {
    justify-self: start;
    grid-area: sponsor;
  }

  a,
  button {
    pointer-events: auto;
  }

  .frame__title {
    grid-area: title;
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
  }

  .frame__tags {
    grid-area: tags;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .frame__links {
    grid-area: links;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .frame__demos {
    grid-area: demos;
    display: grid;
    grid-template-columns: auto repeat(5, auto);
    gap: 0.5rem 1.4rem;
    font-variant-numeric: tabular-nums;
  }

  .frame__demos-label {
    grid-column: 1;
    grid-row: 1;
    margin-right: 0.4rem;
    color: var(--color-link);
  }

  .frame__demo:nth-child(5n + 2) {
    grid-column-start: 2;
  }

  .frame__demo--current {
    color: var(--color-text);
  }

  @media screen and (min-width: 53em) {
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    gap: 3rem;
    grid-template-columns: auto auto 1fr;
    grid-template-rows: auto auto;
    align-content: space-between;
    grid-template-areas:
      "title links demos"
      "tags tags sponsor";

    .frame__tags {
      align-self: end;
    }

    .frame__demos,
    #cdawrap {
      justify-self: end;
      text-align: right;
    }
  }}
#afc-uae-landmarks .mark{position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 100vw;
  left: 0;
  z-index: 1;
  overflow: hidden;
  mix-blend-mode: var(--blend-mode);}
#afc-uae-landmarks .mark__inner{display: flex;
  gap: 3rem;
  width: max-content;
  position: relative;
  will-change: transform;}
#afc-uae-landmarks .mark__inner span{white-space: nowrap;
  text-transform: uppercase;
  color: var(--color-marquee);
  font-size: var(--font-size-marquee);
  line-height: 1;}
#afc-uae-landmarks .font-1{font-family: "scale-variable", sans-serif;
  font-variation-settings:
    "wght" 772,
    "wdth" 60;}
#afc-uae-landmarks .font-2{font-family: "totalblack-variable", sans-serif;
  font-variation-settings: "wght" 800;}
#afc-uae-landmarks .font-3{font-family: "brillante-vf", sans-serif;
  font-variation-settings:
    "wght" 827,
    "wdth" 125;}
#afc-uae-landmarks .font-4{font-family: swiss-721-bt-extended, sans-serif;
  font-weight: 700;}
#afc-uae-landmarks .gallery{position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 25vh;
  margin-bottom: 35vh;}
#afc-uae-landmarks .gallery__item-wrap{width: 100%;
  max-width: var(--item-width);
  perspective: 900px;
  margin-bottom: -5rem;}
#afc-uae-landmarks .gallery__item-wrap{margin-bottom: 14rem;}
#afc-uae-landmarks .gallery__item{width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  border-radius: var(--item-br);
  aspect-ratio: var(--item-ar);}
#afc-uae-landmarks .webgl{position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;}
#afc-uae-landmarks .gallery--webgl .gallery__item{visibility: hidden;
  will-change: auto;}
#afc-uae-landmarks .mark{font-family:"Poppins",sans-serif;}
#afc-uae-landmarks .mark__inner{font-family:"Poppins",sans-serif;font-weight:700;}
#afc-uae-landmarks .gallery{margin-top:25vh;margin-bottom:35vh} #afc-uae-landmarks .mark,#afc-uae-landmarks .webgl{opacity:0;transition:opacity .15s linear}#afc-uae-landmarks.afc-s03-visible .mark,#afc-uae-landmarks.afc-s03-visible .webgl{opacity:1} #afc-uae-landmarks .webgl{z-index:2}#afc-uae-landmarks .mark{z-index:3;pointer-events:none}
#afc-uae-landmarks .gallery__item{background-color:#f5f1e9}



/* ========== SOURCE: section04-parallax.css ========== */
/* Scoped Section 04 styling. Closely follows Osmo's demo structure and layer geometry. */
*{box-sizing:border-box}
.afc04{position:relative;overflow:hidden;background:#000;color:#fff}
.afc04__header{position:relative;display:flex;justify-content:center;align-items:center;min-height:100svh;z-index:2;}
.afc04__visuals{position:absolute;top:0;left:0;width:100%;height:120%;overflow:hidden}
.afc04__layers{position:absolute;inset:0;height:100%;width:100%;overflow:hidden}
.afc04__image{position:absolute;top:-17.5%;left:0;width:100%;height:117.5%;max-width:none;object-fit:cover;pointer-events:none}
.afc04__title-layer{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;width:100%;height:100svh}
.afc04__title{position:relative;text-align:center;font:800 clamp(58px,8.6vw,172px)/.99 Poppins,Arial,sans-serif;letter-spacing:-.07em;margin:0 .04em .1em;color:#fff;text-wrap:balance;text-shadow:0 2px 20px rgba(0,0,0,.12)}
.afc04__fade{z-index:30;pointer-events:none;position:absolute;bottom:0;left:0;width:100%;height:20%;background:linear-gradient(to top,rgba(0,0,0,1) 0%,rgba(0,0,0,.738) 19%,rgba(0,0,0,.541) 34%,rgba(0,0,0,.382) 47%,rgba(0,0,0,.278) 56.5%,rgba(0,0,0,.194) 65%,rgba(0,0,0,.126) 73%,rgba(0,0,0,.075) 80.2%,rgba(0,0,0,.042) 86.1%,rgba(0,0,0,.021) 91%,rgba(0,0,0,.008) 95.2%,transparent 100%)}
.afc04__seam{position:absolute;z-index:31;bottom:-1px;height:2px;width:100%;background:#000}
.afc04__content{position:relative;min-height:100svh;padding:12vh 7vw;display:flex;align-items:center;justify-content:center;z-index:1;background: url('../img/uae-holiday-packages/dolphin-bg.webp');background-size: 100% auto;}
.afc04__content::before {content: "";position: absolute;right: 0;bottom: 0;width: min(33vw, 550px);height: 100%;background: url(../img/uae-holiday-packages/dolphin.webp) right bottom / contain no-repeat;pointer-events: none;}
.afc04__content-inner{width:min(100%,1020px)}.afc04__eyebrow{font-size:11px;letter-spacing:.3em;color:#d4ab75;font-weight:700}
.afc04__content h2{font-size:clamp(42px,7vw,110px);letter-spacing:-.065em;line-height:1.08;font-weight:700;margin:28px 0}.afc04__content h2 em{color:#d4ab75;font-style:normal}.afc04__content p{font-size:clamp(15px,1.3vw,19px);line-height:1.9;color:#bbc4c7;max-width:690px}.afc04__link{display:inline-block;margin-top:24px;border:1px solid #d4ab75;color:#fff;border-radius:50px;padding:13px 22px;text-decoration:none;font-size:13px}
@media(max-width:680px){.afc04__title{font-size:clamp(49px,11vw,90px);max-width:95%;}.afc04__content{padding:14vh 7vw}.afc04__image{object-position:center center}}
@media(prefers-reduced-motion:reduce){.afc04__title{font-size:clamp(45px,9vw,100px)}}



/* ========== SOURCE: section05-passage.css ========== */
.afc5-section,.afc5-section *{box-sizing:border-box}.afc5-section{background:#09141a;color:#fafafa;font-family:Poppins,Arial,sans-serif;max-width:none}
.afc5-section{padding:30px clamp(14px,3vw,50px) 36px;max-width:1920px;margin:auto}
.afc5-head{text-align:center;margin:0 auto 25px}.afc5-kicker{font-size:10px;font-weight:600;letter-spacing:.23em;color:#c5a072}
.afc5-head h1{font-size:clamp(32px,4.2vw,70px);letter-spacing:-.055em;line-height:1.1;margin:8px 0}
.afc5-head p{color:#aab7c1;font-size:14px;margin:0}
.afc5-tunnel{position:relative;height:min(79vh,850px);min-height:470px;overflow:hidden;background:#030305;isolation:isolate;border-radius:4px}
.afc5-camera{position:absolute;inset:0;perspective:780px;perspective-origin:50% 50%;overflow:hidden}
.afc5-scene{position:absolute;inset:0;transform-style:preserve-3d}
.afc5-panel{position:absolute;left:50%;top:50%;transform-style:preserve-3d;backface-visibility:visible;
  background:#050609;border:1px solid rgba(239,242,249,.29);will-change:transform;padding:clamp(11px,1.35vw,30px)}
.afc5-panel-inset{width:100%;height:100%;overflow:hidden;border-radius:10px;background:#08090e}
.afc5-panel img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;
  aspect-ratio:1456 / 816;user-select:none;pointer-events:none}
.afc5-panel-inset.is-empty{background:#060609}
.afc5-vignette{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at center,transparent 60%,rgba(0,0,0,.16) 100%)}
.afc5-bottom{position:absolute;z-index:3;bottom:17px;left:22px;right:22px;display:flex;align-items:center;
  justify-content:space-between;pointer-events:none;font-size:10px;font-weight:600;letter-spacing:.12em;text-shadow:0 1px 5px #000}
.afc5-bottom i{display:inline-block;width:7px;height:7px;background:#d3aa73;border-radius:50%;margin-right:7px}
.afc5-bottom button{pointer-events:auto;background:#061219c4;border:1px solid #ffffff8a;color:#fff;
  border-radius:22px;padding:10px 16px;font:500 11px Poppins,Arial,sans-serif;cursor:pointer}
@media(max-width:740px){.afc5-tunnel{height:65vh;min-height:420px}.afc5-camera{perspective:680px}
  .afc5-head h1{font-size:clamp(30px,7.2vw,54px)}.afc5-bottom{left:10px;right:10px;bottom:10px}.afc5-bottom span{font-size:8px}}
@media(prefers-reduced-motion:reduce){.afc5-panel{will-change:auto}}



/* ========== SOURCE: section06-packages.css ========== */
.afc6{--ink:#101f25;--muted:#657178;--gold:#bb9460;--cream:#f6f3ee;--night:#0c1b21}.afc6,.afc6-dialog{font-family:Poppins,Arial,sans-serif;color:var(--ink)}.afc6 button,.afc6-dialog button{font:inherit;cursor:pointer}.intro-spacer{height:32vh;background:var(--night);color:white;display:grid;place-items:center;text-align:center;padding:25px}.intro-spacer p{font-size:clamp(16px,2vw,23px);margin:15px 0 0}.afc6 .eyebrow,.afc6-dialog .eyebrow{font-size:11px!important;font-style:normal!important;letter-spacing:.24em!important;font-weight:700!important;color:var(--gold)!important;text-transform:uppercase}.afc6{background:var(--cream);overflow:clip}.afc6-header{padding:100px 6vw 20px;max-width:1300px;margin:auto}.afc6-header h1{font-weight:700;letter-spacing:-.055em;line-height:1.11;max-width:1010px;font-size:clamp(42px,6.3vw,91px);margin:24px 0}.afc6-header em{font-style:normal;color:var(--gold)}.afc6-header>p:last-child{color:var(--muted);max-width:650px;font-size:16px;line-height:1.85}.afc6-filters{display:flex;flex-wrap:wrap;gap:9px;padding:24px 6vw 10px;max-width:1300px;margin:auto}.afc6-filter{border:1px solid #d5d4d0;border-radius:100px;padding:12px 21px;color:var(--ink);background:transparent;font-size:12px;font-weight:600;transition:background .2s,color .2s,border-color .2s}.afc6-filter span{opacity:.65;padding-left:8px}.afc6-filter.is-active,.afc6-filter:hover{background:var(--ink);color:#fff;border-color:var(--ink)}.afc6-journey{height:520vh;position:relative}.afc6-sticky{height:100vh;position:sticky;top:0;display:flex;flex-direction:column;justify-content:center;padding:18px 5vw 30px}.afc6-stage{height:min(73vh,690px);width:100%;max-width:1350px;position:relative;margin:0 auto;perspective:1400px}.afc6-card{position:absolute;inset:0;isolation:isolate;border-radius:26px;overflow:hidden;box-shadow:0 24px 72px #0d26293b;will-change:transform;transform-origin:center top;background:#10252b;color:white;display:grid;grid-template-columns:52% 48%;visibility:hidden;backface-visibility:hidden}.afc6-card.active{visibility:visible}.afc6-photo{position:relative;min-height:0;overflow:hidden}.afc6-photo img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.94)}.afc6-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent 55%,#10252b 100%)}.afc6-number{position:absolute;left:36px;top:32px;font-size:11px;letter-spacing:.18em;color:#fff;border:1px solid #fffc;border-radius:80px;padding:9px 13px}.afc6-card-body{padding:clamp(26px,4vw,66px);display:flex;flex-direction:column;justify-content:center;position:relative;background:linear-gradient(160deg,#132830,#0b171d)}.afc6-duration{color:#d3b88e;font-size:12px;letter-spacing:.2em;font-weight:600}.afc6-card h2{font-size:clamp(31px,4.1vw,65px);line-height:1.1;letter-spacing:-.055em;margin:20px 0}.afc6-summary{max-width:460px;color:#c0ccd1;font-size:clamp(13px,1.14vw,16px);line-height:1.85}.afc6-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:20px}.afc6-tags span{border:1px solid #ffffff40;border-radius:100px;padding:7px 11px;color:#e4e4e0;font-size:10px}.afc6-card-bottom{display:flex;align-items:flex-end;gap:20px;justify-content:space-between;margin-top:28px}.afc6-price small{display:block;font-size:12px;color:#b8bec1;margin-bottom:4px}.afc6-price strong{font-size:clamp(24px,2.6vw,38px);letter-spacing:-.035em}.afc6-action{background:#f8f4eb;color:var(--ink);border:0;padding:14px 19px;border-radius:100px;font-size:12px;font-weight:700;white-space:nowrap}.afc6-action:hover{background:#dcbf94}.afc6-progress{display:flex;align-items:center;justify-content:center;gap:16px;padding-top:20px;font-size:11px;font-weight:700;letter-spacing:.13em}.afc6-track{height:3px;background:#d4d5d1;width:clamp(110px,25vw,280px);border-radius:5px;overflow:hidden}.afc6-track>div{width:0%;height:100%;background:var(--gold)}.afc6-scrollhint{color:#738188}.afc6-outro{background:var(--cream);text-align:center;padding:95px 22px 120px}.afc6-outro h2{font-size:clamp(32px,5vw,62px);letter-spacing:-.055em;line-height:1.1;margin:24px auto}.afc6-outro p{max-width:768px;margin:16px auto;line-height:1.8;color:var(--muted)}.afc6-outro .afc6-disclaimer{font-size:12px;max-width:820px}.afc6-dialog{border:0;border-radius:20px;width:min(800px,calc(100vw - 28px));max-height:min(86vh,900px);padding:0;color:var(--ink);box-shadow:0 30px 100px #0008}.afc6-dialog::backdrop{background:#061115bf;backdrop-filter:blur(5px)}.afc6-dialog-wrap{padding:clamp(24px,4vw,46px)}.afc6-dialog-top{display:flex;justify-content:space-between;align-items:center}.afc6-close{border:0;border-radius:50%;background:#edf0ee;width:40px;height:40px}.afc6-dialog h2{font-size:clamp(28px,4vw,48px);letter-spacing:-.05em;line-height:1.1;margin:20px 0}.afc6-dialog .summary{line-height:1.7;color:var(--muted)}.afc6-dialog .facts{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 25px}.afc6-dialog .facts span{background:#f1f0ed;padding:9px 14px;border-radius:20px;font-size:12px}.afc6-dialog h3{font-size:16px;margin:30px 0 10px}.afc6-days{list-style:none;padding:0;margin:0}.afc6-days li{padding:14px 0;border-bottom:1px solid #e1e2df;display:flex;gap:18px;font-size:13px;line-height:1.6}.afc6-days strong{white-space:nowrap;color:#b28a55;min-width:52px}.afc6-dialog .note{color:#697379;font-size:12px;line-height:1.8;margin-top:22px}.afc6-dialog .copy{margin-top:20px;background:var(--ink);color:#fff;border:0;border-radius:50px;padding:13px 20px;font-size:12px;font-weight:600}@media(max-width:800px){.afc6-header{padding-top:70px}.afc6-journey{height:490vh}.afc6-sticky{padding:18px 15px}.afc6-stage{height:78vh}.afc6-card{grid-template-columns:1fr;grid-template-rows:42% 58%;border-radius:20px}.afc6-photo:after{background:linear-gradient(180deg,transparent 55%,#10252b 100%)}.afc6-card-body{padding:20px 25px}.afc6-card h2{font-size:clamp(29px,7vw,45px);margin:9px 0}.afc6-summary{font-size:12px;line-height:1.5}.afc6-tags{margin-top:9px}.afc6-tags span{font-size:9px;padding:5px 8px}.afc6-card-bottom{margin-top:12px;align-items:center}.afc6-price strong{font-size:23px}.afc6-action{padding:12px 14px;font-size:11px}.afc6-number{top:18px;left:20px}.afc6-scrollhint{display:none}}@media(max-width:380px){.afc6-card{grid-template-rows:37% 63%}.afc6-card-body{padding:16px 18px}.afc6-tags span:nth-child(n+3){display:none}}@media(prefers-reduced-motion:reduce){.afc6-journey{height:auto!important}.afc6-sticky{position:relative;height:auto;display:block}.afc6-stage{height:auto;display:grid;gap:18px}.afc6-card{position:relative!important;visibility:visible!important;transform:none!important;min-height:560px}.afc6-progress{display:none}}

/* V2: day-by-day accordion, photo fan, and premium essentials */
.afc6-dialog{width:min(900px,calc(100vw - 28px));max-height:min(92dvh,980px);overflow:auto;overscroll-behavior:contain;}
.afc6-dialog-wrap{padding-bottom:28px;}
.afc6-dialog .facts{gap:9px}
.afc6-dialog .facts span{border-radius:999px;background:#f4f2ee;border:1px solid #e8e4de;}
.afc6-details-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:30px;margin-bottom:18px}
.afc6-details-heading h3,.afc6-essentials-header h3{font-size:clamp(20px,3vw,27px);letter-spacing:-.04em;margin:8px 0 0}
.afc6-day-help{font-size:11px;color:var(--muted)}
.afc6-days{display:grid;gap:10px}
.afc6-day{background:#faf9f7;border:1px solid #e7e4de;border-radius:15px;overflow:hidden;transition:border-color .25s,box-shadow .25s}
.afc6-day[open]{border-color:#cdb896;box-shadow:0 12px 36px #b59a741c;background:white}
.afc6-day>summary{padding:20px 22px;display:flex;align-items:center;gap:22px;cursor:pointer;list-style:none}
.afc6-day>summary::-webkit-details-marker{display:none}
.afc6-day-count{font-weight:700;letter-spacing:.07em;color:#b78c55;font-size:12px;flex:0 0 60px}
.afc6-day-title{font-weight:650;flex:1;font-size:13px}
.afc6-day-chevron{display:grid;place-items:center;border:1px solid #dedad2;border-radius:50%;height:29px;width:29px;transition:transform .25s;background:white;font-size:18px}
.afc6-day[open] .afc6-day-chevron{transform:rotate(45deg)}
.afc6-day-detail{padding:2px 22px 22px 104px;animation:afc6-reveal .35s ease both}
@keyframes afc6-reveal{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
.afc6-day-detail>p:first-child{line-height:1.85;color:#576870;font-size:13px;margin:0 0 20px}
.afc6-bounce{height:238px;position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;perspective:900px;overflow:hidden;padding:20px 10px}
.afc6-bounce-card{position:absolute;width:42%;height:155px;border:5px solid white;border-radius:15px;box-shadow:0 15px 30px #0c1b2133;overflow:hidden;background:#ddd;transition:transform .6s cubic-bezier(.2,.85,.2,1),box-shadow .4s;transform:translateX(calc((var(--card-index) - 1.5) * 24%)) translateY(calc((var(--card-index) - 1.5) * 3px)) rotate(calc((var(--card-index) - 1.5) * 9deg));z-index:calc(4 - var(--card-index));}
.afc6-bounce-card img{width:100%;height:100%;object-fit:cover;display:block}
.afc6-day[open] .afc6-bounce-card{transform:translateX(calc((var(--card-index) - 1.5) * 43%)) translateY(0px) rotate(calc((var(--card-index) - 1.5) * 7deg));}
.afc6-bounce:hover .afc6-bounce-card{transform:translateX(calc((var(--card-index) - 1.5) * 48%)) rotate(calc((var(--card-index) - 1.5) * 4deg)) translateY(-5px);box-shadow:0 22px 38px #0c1b2144}
.afc6-bounce-card:hover{z-index:10;transform:translateX(calc((var(--card-index) - 1.5) * 48%)) translateY(-13px) rotate(0)!important}
.afc6-images-note{color:#9a9d9d!important;font-size:10px!important;text-align:center;margin:5px 0 0!important}
.afc6-essentials-header{margin-top:32px}.afc6-essentials-header .summary{margin:8px 0 20px;font-size:13px}
.afc6-essentials-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.afc6-essentials-box{padding:22px;border-radius:17px;border:1px solid #e6e2da;background:#fbfaf7}
.afc6-essentials-box.included{background:#f0f6f1;border-color:#d5e5d7}
.afc6-essentials-box h4{font-size:14px;margin:0 0 16px;letter-spacing:-.02em}
.afc6-essentials-box h4>span{color:#638466;margin-right:7px}
.afc6-essentials-box.excluded h4>span{color:#b58c58}
.afc6-essentials-box ul{list-style:none;margin:0;padding:0;display:grid;gap:15px}
.afc6-essentials-box li{display:grid;grid-template-columns:22px 1fr;gap:10px;align-items:start;font-size:12px;line-height:1.65;color:#35434a}
.afc6-essentials-box li>span:first-child{font-size:17px;line-height:1.4}
.afc6-modal-footer{position:sticky;bottom:0;z-index:11;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;padding:17px clamp(24px,4vw,46px);border-top:1px solid #e9e7e2;box-shadow:0 -8px 22px #111b2010}
.afc6-modal-footer strong,.afc6-modal-footer small{display:block}
.afc6-modal-footer strong{font-size:13px}.afc6-modal-footer small{font-size:11px;color:var(--muted);margin-top:3px}
.afc6-enquire-now{background:#12262d;color:#fff;padding:14px 25px;border:0;border-radius:999px;font-weight:700;font-size:12px;white-space:nowrap}
.afc6-enquire-now:hover{background:#b58a56;color:#101f25}
.afc6-integration-note{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);max-width:min(95vw,560px);padding:15px 20px;border-radius:10px;background:#10232b;color:#fff;font:12px/1.6 Poppins,sans-serif;z-index:100}
@media(max-width:620px){.afc6-day>summary{padding:16px 14px;gap:8px}.afc6-day-count{flex-basis:52px;font-size:10px}.afc6-day-title{font-size:12px}.afc6-day-detail{padding:2px 14px 18px}.afc6-bounce{height:190px}.afc6-bounce-card{width:45%;height:115px}.afc6-essentials-grid{grid-template-columns:1fr}.afc6-modal-footer{padding:14px 18px}.afc6-modal-footer small{display:none}.afc6-enquire-now{padding:12px 17px}.afc6-day-help{display:none}}
@media(prefers-reduced-motion:reduce){.afc6-bounce-card,.afc6-day-chevron{transition:none!important}.afc6-day-detail{animation:none}}

/* V3: full-width itinerary content; photo fan with actual separation and hover focus */
.afc6-day-detail{padding:4px 22px 25px!important;margin:0!important}
.afc6-day-detail>p:first-child{margin:0 0 16px;padding:0!important}
.afc6-icon{display:inline-block;flex:none;vertical-align:middle;color:#b28a55}
.afc6-dialog .facts span{display:inline-flex;gap:8px;align-items:center}
.afc6-essentials-box li>span:first-child{display:flex;align-items:center;justify-content:center}
.afc6-essentials-box li .afc6-icon{width:20px;height:20px}
.afc6-bounce{width:100%;height:252px;box-sizing:border-box;position:relative;padding:25px 0;margin:0;overflow:visible;isolation:isolate;display:block;perspective:950px}
.afc6-bounce-card{position:absolute;left:var(--card-left);top:44px;width:24%;height:158px;box-sizing:border-box;border:4px solid #fff;border-radius:14px;box-shadow:0 14px 23px #10232c26;overflow:hidden;background:#ddd;z-index:1;transform-origin:center center;transform:translateY(0) rotate(calc((var(--card-index) - 1.5)*3deg));transition:transform .5s cubic-bezier(.18,.85,.22,1.1),box-shadow .35s ease,filter .35s ease;cursor:pointer;will-change:transform}
.afc6-day[open] .afc6-bounce-card{transform:translateY(0) rotate(calc((var(--card-index) - 1.5)*3deg))}
.afc6-bounce:hover .afc6-bounce-card:not(:hover):not(:focus-visible){filter:brightness(.88)}
.afc6-bounce .afc6-bounce-card:hover,.afc6-bounce .afc6-bounce-card:focus-visible,.afc6-day[open] .afc6-bounce-card:hover{z-index:15!important;transform:translateY(-24px) rotate(0deg) scale(1.18)!important;box-shadow:0 25px 52px #10232c55;filter:brightness(1);outline:none}
.afc6-bounce-card img{display:block;width:100%;height:100%;object-fit:cover}
.afc6-images-note{margin-top:-15px!important}
@media(max-width:620px){.afc6-day-detail{padding:4px 14px 20px!important}.afc6-bounce{height:168px;padding:0}.afc6-bounce-card{top:22px;height:110px;width:24%;border-width:3px;border-radius:10px}.afc6-bounce .afc6-bounce-card:hover,.afc6-bounce .afc6-bounce-card:focus-visible,.afc6-day[open] .afc6-bounce-card:hover{transform:translateY(-12px) scale(1.1) rotate(0)!important}.afc6-images-note{margin-top:0!important}}
@media(hover:none){.afc6-bounce-card:active{z-index:15;transform:translateY(-12px) scale(1.1) rotate(0)!important}}
@media(prefers-reduced-motion:reduce){.afc6-bounce-card{transition:none!important}}

/* Existing AFC Holidays SVG assets only; body, headings and controls inherit Poppins. */
.afc6-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 20px;vertical-align:middle;}
.afc6-icon img{display:block;width:19px;height:19px;object-fit:contain;}
.afc6,.afc6-dialog,.afc6-dialog button{font-family:Poppins,Arial,sans-serif;}

.afc6-dialog{--ink:#101f25;--muted:#657178;--gold:#bb9460;--cream:#f6f3ee;--night:#0c1b21}



/* ========== SOURCE: landing-refinements.css ========== */
/* AFC Holidays: consolidated page typography, compact vertical rhythm. Scoped rules only. */
#afc-uae-page {
	--afc-font: Poppins, Arial, sans-serif;
	font-family: var(--afc-font)
}

#afc-uae-page section {
	font-family: var(--afc-font)
}

#afc-uae-page button,
#afc-uae-page a,
.afc6-dialog,
.afc6-dialog button {
	font-family: var(--afc-font)
}

#afc-uae-page .afc-blur-section {
	min-height: 0;
	display: block;
	padding: clamp(74px, 9vw, 132px) clamp(20px, 6vw, 96px)
}

#afc-uae-page .afc-blur-inner {
	max-width: 1140px
}

#afc-uae-page .afc-blur-eyebrow {
	margin-bottom: clamp(18px, 3vw, 28px);
	font-size: clamp(10px, .9vw, 12px)
}

#afc-uae-page .afc-blur-text {
	font-size: clamp(30px, 4.15vw, 60px);
	line-height: 1.29
}

#afc-uae-page .afc-blur-sub {
	font-size: clamp(14px, 1.12vw, 17px);
	margin-top: clamp(20px, 2.8vw, 34px);
	line-height: 1.8
}

#afc-uae-page .afc6-header {
	padding-top: clamp(58px, 7vw, 96px);
	padding-bottom: 14px
}

#afc-uae-page .afc6-header h2 {
	font-size: clamp(35px, 5.5vw, 75px);
	line-height: 1.12;
	letter-spacing: -.055em;
	margin: 16px 0 20px;
	font-weight: 700
}

#afc-uae-page .afc6-header > p:last-child {
	font-size: clamp(14px, 1.15vw, 17px);
	line-height: 1.75
}

#afc-uae-page .afc6-filters {
	padding-top: 16px
}

#afc-uae-page .afc6-journey {
	height: 420vh
}

#afc-uae-page .afc6-outro {
	padding: clamp(48px, 5vw, 72px) 20px clamp(56px, 6vw, 88px)
}

#afc-uae-page .afc6-outro h2 {
	font-size: clamp(30px, 4vw, 54px);
	margin: 16px auto
}

#afc-uae-page .afc04__content {
	min-height: 0;
	padding: clamp(70px, 9vw, 130px) 7vw
}

#afc-uae-page .afc04__content h2 {
	font-size: clamp(36px, 6vw, 86px);
	margin: 20px 0
}

#afc-uae-page .afc04__content p {
	font-size: clamp(14px, 1.2vw, 17px);
	line-height: 1.8
}

#afc-uae-page .afc5-section {
	padding-top: clamp(46px, 5vw, 72px);
	padding-bottom: clamp(30px, 4vw, 52px);
	max-width: none
}

#afc-uae-page .afc5-head {
	margin-bottom: clamp(18px, 2.6vw, 32px)
}

#afc-uae-page .afc5-head h2 {
	font-size: clamp(32px, 4.5vw, 65px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.055em;
	margin: 12px 0
}

#afc-uae-page .afc5-head p {
	font-size: clamp(13px, 1.05vw, 16px);
	line-height: 1.65
}

#afc-uae-page .afc5-tunnel {
	height: min(75vh, 800px)
}

#afc-uae-landmarks {
	position: relative;
	padding: 0 0 clamp(36px, 5vw, 72px)
}

#afc-uae-landmarks .gallery {
	margin-top: 8vh;
	margin-bottom: 12vh
}

#afc-uae-landmarks .gallery__item-wrap {
	margin-bottom: clamp(45px, 7vw, 105px)
}

#afc-uae-landmarks .afc-emirates-intro {
	text-align: center;
	max-width: 1100px;
	margin: auto;
	padding: clamp(60px, 8vw, 112px) 20px 0;
	color: #fff
}

#afc-uae-landmarks .afc-page-eyebrow {
	font-size: clamp(10px, .85vw, 12px);
	font-weight: 700;
	color: #d4ab75;
	letter-spacing: .24em;
	margin: 0 0 18px
}

#afc-uae-landmarks .afc-emirates-intro h2 {
	font-size: clamp(33px, 4.6vw, 68px);
	font-weight: 700;
	line-height: 1.13;
	letter-spacing: -.06em;
	margin: 0 0 18px
}

#afc-uae-landmarks .afc-emirates-desc {
	font-size: clamp(14px, 1.1vw, 17px);
	max-width: 760px;
	margin: 0 auto;
	line-height: 1.75;
	color: #d5d0cc
}

#afc-uae-landmarks .afc-emirates-names {
	text-align: center;
	padding: 0 20px;
	font-size: clamp(11px, .9vw, 14px);
	line-height: 1.9;
	color: #dcc1a4;
	max-width: 970px;
	margin: 0 auto
}

@media(max-width:900px) {
	#afc-uae-page .afc-blur-section {
		padding: 75px 5vw
	}

	#afc-uae-page .afc6-journey {
		height: 400vh
	}

	#afc-uae-page .afc04__content {
		padding: 80px 6vw
	}

	#afc-uae-page .afc5-tunnel {
		height: 66vh;
		min-height: 410px
	}
}

@media(max-width:600px) {
	#afc-uae-page .afc-blur-section {
		padding: 68px 22px
	}

	#afc-uae-page .afc-blur-text {
		font-size: clamp(26px, 6.7vw, 38px);
		line-height: 1.36
	}

	#afc-uae-page .afc6-header {
		padding: 60px 20px 12px
	}

	#afc-uae-page .afc6-header h2 {
		font-size: clamp(33px, 8vw, 45px)
	}

	#afc-uae-page .afc6-filters {
		padding: 12px 18px 4px
	}

	#afc-uae-page .afc6-journey {
		height: 390vh
	}

	#afc-uae-page .afc6-outro {
		padding: 55px 22px 65px
	}

	#afc-uae-page .afc04__content {
		padding: 70px 22px
	}

	#afc-uae-page .afc04__content h2 {
		font-size: clamp(35px, 9vw, 56px)
	}

	#afc-uae-page .afc5-head h2 {
		font-size: clamp(29px, 7vw, 43px)
	}

	#afc-uae-page .afc5-tunnel {
		height: 60vh;
		min-height: 380px
	}

	#afc-uae-landmarks .gallery {
		margin-top: 5vh;
		margin-bottom: 7vh;
		padding: 35px;
	}

	#afc-uae-landmarks .gallery__item-wrap {
		margin-bottom: 58px
	}

	#afc-uae-landmarks .afc-emirates-intro {
		padding: 65px 20px 0
	}
}

/* V3 integration QA: compact scroll stack and responsive gradients */
#afc-uae-page .afc6-header {
	padding-top: clamp(34px, 4vw, 55px)
}

#afc-uae-page .afc6-filters {
	padding-bottom: 10px
}

#afc-uae-page .afc6-sticky {
	height: 100svh;
	justify-content: flex-start;
	padding: clamp(12px, 2vh, 20px) clamp(16px, 4vw, 64px) 12px
}

#afc-uae-page .afc6-stage {
	height: min(76svh, 720px);
	margin: 0 auto;
	flex: 0 0 auto
}

#afc-uae-page .afc6-progress {
	padding-top: 12px
}

#afc-uae-page .afc6-outro {
	padding: clamp(35px, 4vw, 60px) 22px clamp(40px, 5vw, 70px)
}

#afc-uae-page .afc6-card:nth-child(1) .afc6-card-body {
	background: linear-gradient(145deg, #093a6d 0%, #031426 100%)
}

#afc-uae-page .afc6-card:nth-child(2) .afc6-card-body {
	background: linear-gradient(145deg, #996f73 0%, #2d2021 100%)
}

#afc-uae-page .afc6-card:nth-child(3) .afc6-card-body {
	background: linear-gradient(145deg, #165589 0%, #071d2f 100%)
}

#afc-uae-page .afc6-card:nth-child(4) .afc6-card-body {
	background: linear-gradient(145deg, #507096 0%, #0b1016 100%)
}

#afc-uae-page .afc6-card:nth-child(5) .afc6-card-body {
	background: linear-gradient(145deg, #a7581b 0%, #351d0a 100%)
}

#afc-uae-page .afc6-card .afc6-photo:after {
	background: linear-gradient(90deg, transparent 50%, rgba(5, 20, 28, .62) 100%)
}

/* Native dialog owns scrolling; fixed footer remains visible */
.afc6-dialog {
	position: fixed !important;
	max-height: min(88dvh, 920px) !important;
	height: auto !important;
	overflow: hidden !important;
	display: none;
	flex-direction: column;
	overscroll-behavior: contain
}

.afc6-dialog[open] {
	display: flex !important
}

.afc6-dialog-wrap {
	overflow-y: auto !important;
	min-height: 0;
	flex: 1 1 auto;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
	scroll-behavior: auto;
	-webkit-overflow-scrolling: touch
}

.afc6-modal-footer {
	position: relative !important;
	flex: 0 0 auto;
	bottom: auto !important
}

body.afc6-dialog-open {
	overflow: hidden !important
}

/* Exit from dark desert into distinct light seven-emirates gallery */
#afc-uae-landmarks {
	--color-bg: #f5f1e9 !important;
	--color-text: #17282d !important;
	--color-marquee: #9c7052 !important;
	background: #EFEFBB;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #D4D3DD, #EFEFBB);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #D4D3DD, #EFEFBB); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

	color: #17282d !important
}

#afc-uae-landmarks .afc-emirates-intro {
	color: #17282d !important;
	padding-top: clamp(38px, 5vw, 68px)
}

#afc-uae-landmarks .afc-page-eyebrow {
	color: #9d754b !important
}

#afc-uae-landmarks .afc-emirates-desc {
	color: #53646a !important
}

#afc-uae-landmarks .afc-emirates-names {
	color: #927356 !important
}

#afc-uae-landmarks .mark__inner {
	color: #c98462 !important
}

#afc-uae-landmarks .gallery {
	margin-top: clamp(28px, 5vw, 65px) !important;
	margin-bottom: clamp(38px, 5vw, 70px) !important
}

/* Desert copy must not be painted under the preceding layer */
#afc-uae-page .afc04__header {
	z-index: 1;
	overflow: hidden
}

#afc-uae-page .afc04__content {
	z-index: 4;
	isolation: isolate;
	min-height: 0;
	position: relative;
	padding: clamp(74px, 8vw, 110px) 7vw
}

#afc-uae-page .afc04__content-inner {
	position: relative;
	z-index: 2
}

@media(max-width:800px) {
	#afc-uae-page .afc6-sticky {
		padding: 12px 16px
	}

	#afc-uae-page .afc6-stage {
		height: min(78svh, 670px)
	}
}

@media(max-width:600px) {
	#afc-uae-page .afc6-sticky {
		padding: 10px 12px
	}

	#afc-uae-page .afc6-stage {
		height: min(79svh, 690px)
	}

	.afc6-dialog {
		max-height: 94dvh !important
	}

	#afc-uae-landmarks .afc-emirates-intro {
		padding-top: 40px
	}
}

/* V4: separate intro and commercial backgrounds; remove dead sticky viewport space */
#afc-uae-page .afc-blur-section {
	background: #ffffff !important
}

#afc-uae-page #afc6 {
	background: linear-gradient(145deg, #ddf4ff 0%, #ffd9bb 100%)
}

#afc-uae-page #afc6 .afc6-outro {
	background: #e9f0ed !important
}

/* The stack remains pinned, but its wrapper is shorter than the viewport. */
#afc-uae-page #afc6 .afc6-sticky {
	height: 88svh !important;
	top: 6svh !important;
	padding: 0 clamp(16px, 4vw, 64px) 0 !important;
	justify-content: center !important
}

#afc-uae-page #afc6 .afc6-stage {
	height: min(76svh, 690px) !important;
	flex: 0 1 auto !important
}

#afc-uae-page #afc6 .afc6-progress {
	padding-top: 8px !important
}

#afc-uae-page #afc6 .afc6-outro {
	padding: 22px 20px 36px !important
}

#afc-uae-page #afc6 .afc6-outro h2 {
	margin: 8px auto 12px !important
}

#afc-uae-page #afc6 .afc6-outro p {
	margin: 8px auto !important
}

/* On the warm Seven Emirates background, the gallery labels must remain readable */
#afc-uae-landmarks .mark__inner,
#afc-uae-landmarks .mark__inner span {
	color: #593e35 !important;
	-webkit-text-fill-color: #593e35 !important;
	mix-blend-mode: normal !important
}

#afc-uae-landmarks {
	--blend-mode: normal !important;
	--color-marquee: #593e35 !important
}

@media(max-width:800px) {
	#afc-uae-page #afc6 .afc6-sticky {
		height: 91svh !important;
		top: 4svh !important;
		padding: 0 15px !important
	}

	#afc-uae-page #afc6 .afc6-stage {
		height: min(81svh, 650px) !important
	}
}

@media(max-width:600px) {
	#afc-uae-page #afc6 .afc6-sticky {
		height: 94svh !important;
		top: 2svh !important;
		padding: 0 12px !important
	}

	#afc-uae-page #afc6 .afc6-stage {
		height: min(84svh, 660px) !important
	}
}


/* AFC Section 02: approved Ferrari World decoration, formerly inline in index.html */
#afc-uae-page .afc-blur-section {position:relative; isolation:isolate;}
#afc-uae-page .afc-blur-section::before {
  content:""; position:absolute; right:0; bottom:0;
  width:min(37vw,600px); height:100%;
  background:url('../img/uae-holiday-packages/ferrari_world_roller_coaster.webp') right bottom / contain no-repeat;
  pointer-events:none; z-index:0;
}
#afc-uae-page .afc-blur-inner {position:relative; z-index:1;}
@media(max-width:760px) {#afc-uae-page .afc-blur-section::before {width:38vw;opacity:.5;}}
@media(max-width:520px) {#afc-uae-page .afc-blur-section::before {display:none;}}

/* ============================================================
   SECTION 03 — EXACT CODEPEN FOLDED CORNER RIBBON STRUCTURE
   Based on supplied ribbon code.html; only labels, colours and
   Poppins font customized for AFC Holidays.
   ============================================================ */
#afc-uae-page .afc6-card { overflow:visible !important; }
#afc-uae-page .afc6-card .afc6-photo { border-radius:26px 0 0 26px; }
#afc-uae-page .afc6-card .afc6-card-body { border-radius:0 26px 26px 0; }
#afc-uae-page .afc6-card:nth-child(1) {--ribbon-base:#3498db;--ribbon-fold:#2175aa;}
#afc-uae-page .afc6-card:nth-child(2) {--ribbon-base:#338a76;--ribbon-fold:#206454;}
#afc-uae-page .afc6-card:nth-child(3) {--ribbon-base:#8b78b3;--ribbon-fold:#665080;}
#afc-uae-page .afc6-card:nth-child(4) {--ribbon-base:#bd8157;--ribbon-fold:#83533a;}
#afc-uae-page .afc6-card:nth-child(5) {--ribbon-base:#4e94a5;--ribbon-fold:#286273;}
#afc-uae-page .afc6-card .afc6-ribbon {
  position:absolute; top:-10px; right:-10px;
  width:150px; height:150px; overflow:hidden;
  z-index:55; pointer-events:none;
  padding:0; min-height:0; display:block;
  transform:none; background:transparent; border:0;
  box-shadow:none; filter:none; isolation:isolate;
}
/* The two 5px folded corners are precisely what was missing. */
#afc-uae-page .afc6-card .afc6-ribbon::before,
#afc-uae-page .afc6-card .afc6-ribbon::after {
  position:absolute; z-index:0; content:""; display:block;
  border:5px solid var(--ribbon-fold,#2175aa);
  border-top-color:transparent; border-right-color:transparent;
  width:0; height:0; background:transparent; clip-path:none;
  inset:auto; transform:none;
}
#afc-uae-page .afc6-card .afc6-ribbon::before {top:0;left:2px;}
#afc-uae-page .afc6-card .afc6-ribbon::after {bottom:2px;right:0;}
#afc-uae-page .afc6-card .afc6-ribbon-label {
  position:absolute; z-index:1; display:block;
  width:225px; left:-25px; top:30px;
  padding:15px 0; margin:0; min-height:0;
  transform:rotate(45deg); transform-origin:center;
  background:var(--ribbon-base,#3498db);
  box-shadow:0 5px 10px rgba(0,0,0,.18);
  color:#fff; font:700 13px/1.15 Poppins,Arial,sans-serif;
  text-shadow:0 1px 1px rgba(0,0,0,.2);
  letter-spacing:.015em; text-transform:uppercase;
  text-align:center; white-space:nowrap;
  clip-path:none;
}
@media(max-width:800px) {
  #afc-uae-page .afc6-card .afc6-photo {border-radius:20px 20px 0 0;}
  #afc-uae-page .afc6-card .afc6-card-body {border-radius:0 0 20px 20px;}
}

/* The itinerary content is independently scrollable when dialog is open. */
#afc-uae-page .afc6-dialog[open] {overflow:hidden!important;}
#afc-uae-page .afc6-dialog[open] .afc6-dialog-wrap {
  flex:1 1 auto!important; min-height:0!important; overflow-y:auto!important;
  overscroll-behavior:contain; touch-action:pan-y;
}


/* ==========================================================
   SECTION 07 — AFC DIFFERENCE / BENDING MARQUEE
   ========================================================== */
/* Section 07 — isolated styling; Poppins throughout */
.afc7{--gold:#d4ad79;color:#f6f5f2;background:linear-gradient(145deg, #031426 0%, #093a6d 100%);overflow:hidden;padding:clamp(65px,7vw,115px) 0 80px;font-family:Poppins,Arial,sans-serif}.afc7-intro,.afc7-benefits,.afc7-end{width:min(1260px,calc(100% - 9vw));margin-inline:auto}.afc7-eyebrow,.afc7-end>span{font-size:12px;letter-spacing:.23em;color:var(--gold);font-weight:700}.afc7-intro h2{max-width:950px;font-size:clamp(39px,5vw,77px);line-height:1.13;letter-spacing:-.048em;margin:23px 0 22px;font-weight:800}.afc7-intro h2 em{font-style:normal;color:var(--gold)}.afc7-intro>p:last-child{font-size:clamp(15px,1.3vw,19px);line-height:1.7;color:#afbec4;max-width:680px}
/* The effect: a true three-plane ribbon, left and right folded inward on Y axis. */
.afc7-marquee-stage{height:clamp(280px,36vw,530px);display:flex;align-items:center;justify-content:center;perspective:1100px;position:relative;overflow:hidden;touch-action:pan-y;cursor:grab}.afc7-marquee-stage:active{cursor:grabbing}.afc7-marquee-3d{width:100%;height:100%;display:flex;align-items:center;justify-content:center;transform-style:preserve-3d;transform:scale(1);gap:0}.afc7-strip{height:100%;position:relative;flex:0 0 auto;overflow:hidden;transform-style:preserve-3d;will-change:transform;pointer-events:none}.afc7-strip-left,.afc7-strip-right{width:calc((100% - min(32vw,460px)) / 2 + 8vw)}.afc7-strip-center{width:min(32vw,460px)}.afc7-strip-left{transform-origin:right center;transform:translateZ(-180px) rotateY(50deg);margin-right:-1px}.afc7-strip-center{transform:translateZ(-180px)}.afc7-strip-right{transform-origin:left center;transform:translateZ(-180px) rotateY(-50deg);margin-left:-1px}.afc7-strip-track{position:absolute;top:50%;left:0;width:max-content;height:clamp(86px,9vw,125px);transform:translateY(-50%);display:flex;align-items:center;background:#f5f3ef;color:#091218;white-space:nowrap;gap:0;box-shadow:0 1px 0 rgba(255,255,255,.1);will-change:translate}.afc7-marquee-unit{display:inline-flex;align-items:center;gap:clamp(16px,2.6vw,38px);padding-right:clamp(16px,2.6vw,38px);font-size:clamp(22px,2.55vw,37px);font-weight:600;letter-spacing:-.035em}.afc7-marquee-unit b{font-weight:400;font-size:1.2em}.afc7-marquee-hint{text-align:center;color:#aebcc2;font-weight:700;font-size:11px;letter-spacing:.22em;margin:-35px 0 75px;position:relative}
.afc7-benefits{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #34434a;border-radius:19px;overflow:hidden}.afc7-benefits article{padding:27px 25px;min-height:210px;border-right:1px solid #34434a}.afc7-benefits article:last-child{border-right:0}.afc7-benefits article span{color:var(--gold);font-size:12px;letter-spacing:.1em}.afc7-benefits h3{font-size:17px;margin:22px 0 11px}.afc7-benefits p{font-size:13px;line-height:1.75;color:#aebcc2;margin:0}.afc7-end{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:45px}.afc7-end a{display:inline-flex;border:1px solid #d4ad79;border-radius:30px;padding:14px 23px;color:#f6f5f2;text-decoration:none;font-size:14px;font-weight:600}
@media(max-width:900px){.afc7-benefits{grid-template-columns:repeat(2,1fr)}.afc7-benefits article:nth-child(2){border-right:0}.afc7-benefits article:nth-child(-n+2){border-bottom:1px solid #34434a}.afc7-strip-left,.afc7-strip-right{width:40vw}.afc7-strip-center{width:36vw}.afc7-marquee-hint{margin-top:-5px}}@media(max-width:600px){.afc7{padding-top:58px}.afc7-intro,.afc7-benefits,.afc7-end{width:calc(100% - 36px)}.afc7-marquee-stage{height:300px;perspective:620px}.afc7-strip-left,.afc7-strip-right{width:39vw}.afc7-strip-center{width:40vw}.afc7-strip-left{transform:translateZ(-95px) rotateY(45deg)}.afc7-strip-center{transform:translateZ(-95px)}.afc7-strip-right{transform:translateZ(-95px) rotateY(-45deg)}.afc7-strip-track{height:82px}.afc7-marquee-hint{margin:0 0 45px}.afc7-benefits{grid-template-columns:1fr}.afc7-benefits article{border-right:0;border-bottom:1px solid #34434a;min-height:0}.afc7-benefits article:last-child{border:0}.afc7-end{flex-direction:column;align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.afc7-strip-track{will-change:auto}}


/* ==========================================================
   SECTION 08 — UAE ACTIVITIES / PHOTO TUMBLE WALL
   ========================================================== */
/* AFC Holidays / Section 08 V2. Standalone, styles scoped to #afc08. */
.afc08,.afc08 *{box-sizing:border-box}.afc08{font-family:Poppins,Arial,sans-serif;background:#f5f2ed;color:#15272c;padding:clamp(38px,5vw,70px) 0 22px;overflow:hidden}.afc08-head{width:min(1400px,calc(100% - 42px));margin:0 auto 27px;display:flex;gap:26px;align-items:flex-end;justify-content:space-between}.afc08-kicker{font-size:11px;letter-spacing:.21em;color:#aa7945;font-weight:700}.afc08 h2{font-size:clamp(34px,4.65vw,66px);line-height:1.09;letter-spacing:-.055em;margin:14px 0 16px;font-weight:800}.afc08 h2 em{font-style:normal;color:#b58a5d}.afc08 p{font-size:14px;line-height:1.8;color:#63747a;margin:0;max-width:680px}.afc08-all{flex:none;padding:14px 22px;border-radius:100px;background:#10262f;color:#fff;text-decoration:none;font-size:12px;font-weight:600;transition:transform .2s}.afc08-all:hover{transform:translateY(-3px)}.afc08-stage{width:min(1470px,calc(100% - 26px));height:clamp(520px,50vw,700px);margin:auto;border-radius:22px;background:#0b1218;overflow:hidden;position:relative;touch-action:pan-y;user-select:none;isolation:isolate;contain:layout paint}.afc08-instruction{position:absolute;top:20px;left:24px;color:#fff9;letter-spacing:.18em;font-size:10px;font-weight:600;pointer-events:none;z-index:1}.afc08-orb{--size:135px;display:block;width:var(--size);height:var(--size);position:absolute;left:0;top:0;z-index:2;border-radius:50%;overflow:hidden;border:2px solid #ffffff24;background:#20363b;color:#fff;transform:translate3d(-200%, -200%,0);box-shadow:0 8px 20px #0008;will-change:transform;cursor:grab;touch-action:none;outline-offset:4px}.afc08-orb:active{cursor:grabbing}.afc08-orb img{width:100%;height:100%;display:block;object-fit:cover;pointer-events:none;transition:transform .25s}.afc08-orb:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 14%,#08181bec);opacity:0;transition:opacity .2s;pointer-events:none}.afc08-orb-label{position:absolute;z-index:1;bottom:17%;left:8%;right:8%;text-align:center;font-size:clamp(9px,1vw,13px);font-weight:700;line-height:1.24;opacity:0;transform:translateY(9px);transition:opacity .22s,transform .22s;pointer-events:none;text-shadow:0 1px 5px #000}.afc08-orb-label b{font-weight:500}.afc08-orb:hover img,.afc08-orb:focus-visible img{transform:scale(1.08)}.afc08-orb:hover:after,.afc08-orb:focus-visible:after{opacity:1}.afc08-orb:hover .afc08-orb-label,.afc08-orb:focus-visible .afc08-orb-label{opacity:1;transform:none}.afc08-note{max-width:1400px!important;width:calc(100% - 42px);margin:13px auto 0!important;font-size:11px!important}.afc08-orb:focus-visible{outline:3px solid #d8ae78}@media(max-width:850px){.afc08-head{display:block}.afc08-all{display:inline-block;margin-top:17px}.afc08-stage{height:550px}}@media(max-width:560px){.afc08-stage{height:570px;border-radius:13px}.afc08-instruction{top:13px;left:12px;font-size:9px}.afc08-head{width:calc(100% - 28px)}.afc08-note{width:calc(100% - 28px)}.afc08-orb-label{font-size:9px}}@media(prefers-reduced-motion:reduce){.afc08-orb,.afc08-orb *{transition:none}}

/* Image fallback until approved activity files are supplied */
.afc08-orb{background:radial-gradient(circle at 32% 24%,#609aab,#225270 52%,#10202e 100%)}
.afc08-orb img.afc08-image-missing{display:none}
.afc08-orb[data-placeholder-image="true"]::after{opacity:.4}
.afc08-orb[data-placeholder-image="true"] .afc08-orb-label{opacity:1;transform:none;bottom:38%}

/* Final integration refinements */
#afc07.afc7{padding-top:clamp(45px,5vw,72px);padding-bottom:clamp(38px,4vw,64px)}
#afc07 .afc7-marquee-stage{height:clamp(220px,27vw,385px)}
#afc07 .afc7-marquee-hint{margin-bottom:clamp(28px,3vw,46px)}
#afc08 .afc08-head{margin-bottom:23px}

/* =======================================================================
   2026-10-24 EDITORIAL / CONVERSION REFINEMENT
   Section order: 01 Hero → 02 Intro → 03 Packages → 04 Why AFC →
   05 Desert → 06 Tunnel → 07 Emirates → 08 Activities → 09 Guide → 10 CTA.
   Existing section classes and animation IDs are intentionally unchanged.
   ======================================================================= */

/* A clear destination choice, directly below the packages. */
#afc-uae-page #afc6 .afc6-outro {
  padding: 24px 20px 42px !important;
}
#afc-uae-page #afc6 .afc6-outro .afc6-disclaimer {
  max-width: 770px;
  font-size: clamp(11px, .95vw, 12px);
  line-height: 1.7;
}
#afc-uae-page .afc6-outro-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 24px auto 0;
}
#afc-uae-page .afc-conversion-button,
#afc-uae-page .afc09-faq-footer button,
#afc-uae-page .afc10-primary {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: Poppins, Arial, sans-serif;
  font-weight: 600;
  transition: transform .23s ease, box-shadow .23s ease, background-color .23s ease;
}
#afc-uae-page .afc-conversion-button {
  padding: 14px 25px;
  border-radius: 999px;
  color: #fff;
  background: #12292f;
  font-size: 13px;
  box-shadow: 0 9px 22px rgba(13,35,39,.15);
}
#afc-uae-page .afc-conversion-button:hover,
#afc-uae-page .afc09-faq-footer button:hover,
#afc-uae-page .afc10-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(13,35,39,.2);
}
#afc-uae-page .afc-quiet-link {font-size:13px;font-weight:600;color:#273e45;text-underline-offset:4px}
#afc-uae-page #afc07.afc7 {border-top: 1px solid rgba(255,255,255,.07)}
#afc-uae-page #afc07 .afc7-end {margin-top:26px}
#afc-uae-page #afc07 .afc7-benefits article {min-height:180px}
#afc-uae-page #afc07 .afc7-marquee-stage {height:clamp(220px,27vw,370px)}
#afc-uae-page #afc07 .afc7-marquee-hint {margin-bottom:clamp(20px,2.5vw,38px)}
#afc-uae-page #afc07 .afc7-intro h2 {margin-bottom:16px}
#afc-uae-page #afc07 .afc7-intro > p:last-child {margin-bottom:0}
/* Visually distinguish adjacent full-dark components without disrupting parallax. */
#afc-uae-page #afc04 {border-top:1px solid rgba(212,173,121,.18);background: linear-gradient(180deg, #40afff 0%, #d0ebff 50%, #ffffff 100%)}

/* ========================= 09 / YOUR VISIT GUIDE ========================= */
#afc-uae-page .afc09, #afc-uae-page .afc09 * {box-sizing:border-box}
#afc-uae-page .afc09 {
  background: #e8eeeb;
  color: #172a2e;
  padding: clamp(64px, 7vw, 110px) max(22px, calc((100vw - 1370px)/2)) clamp(68px, 7vw, 104px);
  font-family: Poppins, Arial, sans-serif;
}
#afc-uae-page .afc09-wrap {max-width:1370px;margin:0 auto}
#afc-uae-page .afc09-kicker,
#afc-uae-page .afc09-label,
#afc-uae-page .afc10-kicker {
  font-size:11px;letter-spacing:.22em;font-weight:700;text-transform:uppercase
}
#afc-uae-page .afc09-kicker {color:#966c42}
#afc-uae-page .afc09-heading {margin-bottom:clamp(30px,4vw,52px)}
#afc-uae-page .afc09-heading h2 {
  font-size:clamp(36px,5vw,70px);line-height:1.12;letter-spacing:-.055em;
  font-weight:800;margin:18px 0 13px;max-width:1100px
}
#afc-uae-page .afc09-heading h2 em{color:#ad8658;font-style:normal}
#afc-uae-page .afc09-heading > p {font-size:clamp(14px,1.2vw,17px);color:#5d7073;line-height:1.8;max-width:790px;margin:0}
#afc-uae-page .afc09-grid {display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(16px,2.5vw,34px);align-items:start}
#afc-uae-page .afc09-seasons {position:relative;border-radius:24px;background:#172e36;color:#fff;padding:clamp(24px,3vw,41px);overflow:hidden;isolation:isolate}
#afc-uae-page .afc09-seasons::before {content:"";position:absolute;z-index:-1;width:340px;height:340px;right:-150px;top:-130px;background:radial-gradient(circle,rgba(207,169,116,.20),transparent 68%);border-radius:50%}
#afc-uae-page .afc09-seasons-top{display:flex;align-items:center;justify-content:space-between;gap:20px}
#afc-uae-page .afc09-label{color:#b9a17d}
#afc-uae-page .afc09-season-star {font-size:30px;color:#e0ba83;line-height:1}
#afc-uae-page .afc09-seasons h3{font-size:clamp(26px,2.8vw,40px);line-height:1.19;letter-spacing:-.042em;margin:17px 0 26px;max-width:490px}
#afc-uae-page .afc09-season-card{position:relative;border-radius:17px;padding:25px 25px 23px;margin-bottom:13px;border:1px solid rgba(255,255,255,.12)}
#afc-uae-page .afc09-season-card--primary{background:#f4ebdc;color:#1b3034;border-color:#f4ebdc}
#afc-uae-page .afc09-season-card--secondary{background:#243e45;color:#f5f6f5}
#afc-uae-page .afc09-season-dates{font-size:11px;font-weight:700;letter-spacing:.16em;color:#ad8555;display:block;margin-bottom:12px}
#afc-uae-page .afc09-season-card--secondary .afc09-season-dates{color:#dbbc96}
#afc-uae-page .afc09-season-card strong{display:block;font-size:clamp(17px,1.7vw,21px);line-height:1.3;letter-spacing:-.025em}
#afc-uae-page .afc09-season-card p{margin:10px 0 0;font-size:13px;line-height:1.8;color:inherit;opacity:.82}
#afc-uae-page .afc09-season-chip{display:inline-block;font-size:10px;margin-top:17px;padding:7px 12px;background:#dec49d;border-radius:99px;color:#253a3f;font-weight:600}
#afc-uae-page .afc09-small{font-size:11px;line-height:1.75;color:#bccaca;margin:20px 4px 0}
#afc-uae-page .afc09-faq{background:#fff;border:1px solid rgba(22,47,52,.09);border-radius:24px;padding:clamp(24px,3vw,42px);box-shadow:0 12px 45px rgba(36,68,71,.045)}
#afc-uae-page .afc09-faq .afc09-label{color:#a17a4e}
#afc-uae-page .afc09-faq h3{font-size:clamp(26px,2.55vw,38px);line-height:1.25;letter-spacing:-.045em;margin:14px 0 24px}
#afc-uae-page .afc09-faq-list{border-top:1px solid #e0e6e2}
#afc-uae-page .afc09-faq-list details{border-bottom:1px solid #e0e6e2}
#afc-uae-page .afc09-faq-list summary{
  cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:20px 0;font-size:clamp(13px,1.07vw,15px);font-weight:600;line-height:1.5;transition:color .2s
}
#afc-uae-page .afc09-faq-list summary:hover{color:#a77c47}
#afc-uae-page .afc09-faq-list summary::-webkit-details-marker{display:none}
#afc-uae-page .afc09-faq-list summary span{
  display:block;position:relative;flex:none;width:27px;height:27px;border-radius:50%;
  background:#edf0ed;border:1px solid #e0e6e2
}
#afc-uae-page .afc09-faq-list summary span::before,
#afc-uae-page .afc09-faq-list summary span::after{content:"";position:absolute;background:#283e42;left:8px;right:8px;top:12px;height:2px;border-radius:2px}
#afc-uae-page .afc09-faq-list summary span::after{transform:rotate(90deg);transition:transform .2s}
#afc-uae-page .afc09-faq-list details[open] summary span::after{transform:rotate(0deg)}
#afc-uae-page .afc09-faq-list details p{color:#596c6f;font-size:13px;line-height:1.8;margin:-1px 35px 20px 0;max-width:590px}
#afc-uae-page .afc09-faq-list details p a{color:#9e713c;font-weight:600;text-underline-offset:3px}
#afc-uae-page .afc09-faq-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:26px}
#afc-uae-page .afc09-faq-footer>span{color:#68777a;font-size:12px}
#afc-uae-page .afc09-faq-footer button{border-radius:100px;background:#142c32;color:#fff;padding:13px 20px;font-size:12px}

/* ========================= 10 / FINAL ENQUIRY ========================= */
#afc-uae-page .afc10, #afc-uae-page .afc10 * {box-sizing:border-box}
#afc-uae-page .afc10{background:#f8f5ef;padding:clamp(42px,5vw,82px) max(20px,calc((100vw - 1430px)/2)) clamp(64px,7vw,100px);font-family:Poppins,Arial,sans-serif}
#afc-uae-page .afc10-wrap{max-width:1430px;margin:0 auto;background:#132b34;color:#fff;border-radius:clamp(20px,2.8vw,36px);overflow:hidden;display:grid;grid-template-columns:1.17fr .83fr;min-height:550px;box-shadow:0 26px 90px rgba(22,41,44,.13)}
#afc-uae-page .afc10-copy{padding:clamp(34px,5.2vw,83px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;position:relative;isolation:isolate}
#afc-uae-page .afc10-copy::before{content:"";position:absolute;z-index:-1;width:400px;height:400px;top:-230px;left:-180px;border-radius:50%;background:radial-gradient(circle,rgba(203,168,115,.19),transparent 70%)}
#afc-uae-page .afc10-kicker{color:#dfba89}
#afc-uae-page .afc10 h2{font-size:clamp(33px,4.1vw,64px);line-height:1.14;letter-spacing:-.055em;font-weight:800;margin:26px 0 20px;max-width:760px}
#afc-uae-page .afc10 h2 em{font-style:normal;color:#d8ae76}
#afc-uae-page .afc10-copy>p{font-size:clamp(14px,1.2vw,17px);line-height:1.85;color:#b9c8cb;max-width:590px;margin:0}
#afc-uae-page .afc10-points{display:flex;flex-wrap:wrap;gap:9px;margin-top:30px}
#afc-uae-page .afc10-points span{font-size:11px;font-weight:500;border:1px solid rgba(255,255,255,.20);border-radius:999px;color:#deebeb;padding:8px 13px}
#afc-uae-page .afc10-actions{display:flex;align-items:center;flex-wrap:wrap;gap:15px;margin-top:34px}
#afc-uae-page .afc10-primary{border-radius:99px;padding:17px 24px;background:#fff7eb;color:#152d33;font-size:13px}
#afc-uae-page .afc10-secondary{font-size:13px;color:#edf3f1;font-weight:600;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.4);padding:11px 2px}
#afc-uae-page .afc10-secondary:hover{color:#d8ae76}
#afc-uae-page .afc10-copy>small{font-size:11px;line-height:1.7;color:#9dacb0;margin-top:25px}
#afc-uae-page .afc10-visual{position:relative;overflow:hidden;min-height:500px;background:#355266}
#afc-uae-page .afc10-visual img{height:100%;width:100%;object-fit:cover;object-position:center;display:block}
#afc-uae-page .afc10-visual-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(6,27,36,.80),transparent 55%),linear-gradient(90deg,rgba(16,46,54,.24),transparent)}
#afc-uae-page .afc10-visual-top{position:absolute;right:25px;top:24px;letter-spacing:.25em;font-size:10px;font-weight:600;color:#fff}
#afc-uae-page .afc10-visual-bottom{position:absolute;left:clamp(20px,3vw,40px);right:20px;bottom:clamp(24px,3vw,40px);color:white}
#afc-uae-page .afc10-visual-bottom span{display:block;font-size:10px;letter-spacing:.18em;color:#f3cfa1;font-weight:700}
#afc-uae-page .afc10-visual-bottom strong{display:block;margin-top:14px;font-size:clamp(24px,2.5vw,38px);line-height:1.2;letter-spacing:-.04em}

/* Mobile conversion help: hidden on desktop and when a details dialog is open. */
.afc-mobile-cta{display:none}

@media(max-width:1020px){
  #afc-uae-page .afc09-grid{grid-template-columns:1fr}
  #afc-uae-page .afc09-seasons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}
  #afc-uae-page .afc09-seasons-top,#afc-uae-page .afc09-seasons h3,#afc-uae-page .afc09-small{grid-column:1 / -1}
  #afc-uae-page .afc10-wrap{grid-template-columns:1fr .9fr}
  #afc-uae-page .afc10-copy{padding:36px}
}
@media(max-width:740px){
  #afc-uae-page .afc09{padding:58px 18px 60px}
  #afc-uae-page .afc09-seasons{display:block;border-radius:20px;padding:25px}
  #afc-uae-page .afc09-faq{border-radius:20px;padding:25px}
  #afc-uae-page .afc09-season-card{padding:19px}
  #afc-uae-page .afc09-faq-list details p{margin-right:3px}
  #afc-uae-page .afc10{padding:25px 14px 68px}
  #afc-uae-page .afc10-wrap{display:flex;flex-direction:column}
  #afc-uae-page .afc10-copy{padding:35px 26px 33px}
  #afc-uae-page .afc10-visual{min-height:250px;max-height:340px}
  #afc-uae-page .afc10-visual img{height:330px}
  #afc-uae-page .afc10-visual-top{top:17px;right:18px}
  #afc-uae-page .afc10-visual-bottom{bottom:24px}
  #afc-uae-page .afc6-outro-actions{gap:15px}
}
@media(max-width:620px){
  .afc-mobile-cta{
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    position:fixed;left:10px;right:10px;bottom:10px;z-index:998;
    padding:11px 12px 11px 16px;border-radius:18px;
    background:rgba(15,37,44,.97);border:1px solid rgba(255,255,255,.13);
    box-shadow:0 14px 42px rgba(0,0,0,.23);color:#fff;
    font:600 12px/1.3 Poppins,Arial,sans-serif;
    transform:translate3d(0,125%,0);opacity:0;pointer-events:none;
    transition:transform .28s ease,opacity .28s ease;
  }
  .afc-mobile-cta.is-visible{opacity:1;transform:none;pointer-events:auto}
  .afc-mobile-cta>span{max-width:140px}
  .afc-mobile-cta button{border:0;border-radius:999px;padding:13px 15px;background:#e8be85;color:#17282c;cursor:pointer;font:700 12px/1 Poppins,Arial,sans-serif;white-space:nowrap}
  body.afc6-dialog-open .afc-mobile-cta{display:none}
  #afc-uae-page .afc09-heading h2{font-size:clamp(35px,9vw,52px)}
  #afc-uae-page .afc10 h2{font-size:clamp(34px,8.5vw,50px)}
}
@media(max-width:360px){
  .afc-mobile-cta>span{font-size:11px}
  #afc-uae-page .afc10-actions{flex-direction:column;align-items:flex-start}
}
@media(prefers-reduced-motion:reduce){
  #afc-uae-page .afc-conversion-button,
  #afc-uae-page .afc09-faq-footer button,
  #afc-uae-page .afc10-primary,
  .afc-mobile-cta{transition:none}
}

/* Intro-to-packages conversion link; does not change blur animation. */
#afc-uae-page .afc-blur-jump{display:inline-flex;align-items:center;gap:10px;margin-top:24px;padding:13px 20px;border:1px solid #b48b61;border-radius:999px;color:#21363b;background:rgba(255,255,255,.6);font:600 13px/1.4 Poppins,Arial,sans-serif;text-decoration:none;position:relative;z-index:2;transition:background-color .2s,transform .2s}
#afc-uae-page .afc-blur-jump:hover{background:#fff;transform:translateY(-2px)}
/* Clear, visible integration feedback only when the standalone preview lacks
   the company's existing #enquireModal1 (no fake form or fake submission). */
#afc-uae-page .afc6-integration-note:not([hidden]){display:block;position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:1200;width:min(90vw,490px);padding:15px 20px;margin:0;border-radius:14px;background:#142c33;color:#fff;box-shadow:0 12px 40px rgba(0,0,0,.26);font:500 12px/1.65 Poppins,Arial,sans-serif;text-align:center}
@media(max-width:620px){#afc-uae-page .afc-blur-jump{margin-top:20px;font-size:12px;padding:12px 16px}#afc-uae-page .afc6-integration-note:not([hidden]){bottom:84px}}


/* ======================================================================
   OCT 2026 REFINEMENTS · CUSTOMER-APPROVED SECTION ORDER
   04 / Why AFC · 05 / Desert · 06 / Visit Guide · 07 / Experiences
   08 / Emirates · 09 / Instant-booking activities · 10 / Final enquiry
   ====================================================================== */

/* 04 / WHY AFC HOLIDAYS — four premium numbered gradient cards.
   Lightweight animated gradient accent runs around each card border. */
@property --afc7-outline-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes afc7-outline-move { to { --afc7-outline-angle: 360deg; } }
#afc-uae-page #afc07 .afc7-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(11px, 1.25vw, 19px);
  border: 0;
  border-radius: 0;
  overflow: visible;
  align-items: stretch;
}
#afc-uae-page #afc07 .afc7-benefits article {
  --afc7-glow: rgba(214, 164, 104, .85);
  --afc7-surface: #162e37;
  min-height: clamp(280px, 23vw, 330px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(24px, 2.5vw, 35px);
  border: 4px solid transparent;
  border-radius: 21px;
  background:
    linear-gradient(155deg, rgba(255,255,255,.065), transparent 48%, rgba(0,0,0,.09)) padding-box,
    linear-gradient(150deg, var(--afc7-surface), #091820) padding-box,
    conic-gradient(from var(--afc7-outline-angle), rgba(255,255,255,.09) 0deg, rgba(255,255,255,.09) 255deg, var(--afc7-glow) 310deg, rgba(255,255,255,.09) 360deg) border-box;
  animation: afc7-outline-move 9s linear infinite;
  transition: transform .35s cubic-bezier(.2,.75,.2,1), box-shadow .35s ease;
  box-shadow: 0 14px 40px rgba(0,0,0,.10);
}
#afc-uae-page #afc07 .afc7-benefits article:nth-child(2) { --afc7-surface: #1e3f43; --afc7-glow: rgba(107,198,196,.85); animation-delay: -2.25s; }
#afc-uae-page #afc07 .afc7-benefits article:nth-child(3) { --afc7-surface: #2f3449; --afc7-glow: rgba(167,173,230,.85); animation-delay: -4.5s; }
#afc-uae-page #afc07 .afc7-benefits article:nth-child(4) { --afc7-surface: #41352f; --afc7-glow: rgba(233,172,113,.85); animation-delay: -6.75s; }
#afc-uae-page #afc07 .afc7-benefits article::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 85% 7%, var(--afc7-glow), transparent 57%);
  opacity: .12;
  transition: opacity .35s ease;
}
#afc-uae-page #afc07 .afc7-benefits article:hover,
#afc-uae-page #afc07 .afc7-benefits article:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0,0,0,.20);
}
#afc-uae-page #afc07 .afc7-benefits article:hover::before { opacity: .21; }
#afc-uae-page #afc07 .afc7-benefits .afc7-benefit-number {
  position: absolute;
  z-index: -1;
  top: 6px;
  right: 16px;
  display: block;
  color: rgba(245,238,223,.15);
  font: 800 clamp(74px, 8vw, 118px)/1 Poppins,Arial,sans-serif;
  letter-spacing: -.085em;
  pointer-events: none;
  transition: color .35s ease, transform .45s ease;
}
#afc-uae-page #afc07 .afc7-benefits article:hover .afc7-benefit-number {
  color: rgba(245,238,223,.24);
  transform: translateY(-3px) scale(1.04);
}
#afc-uae-page #afc07 .afc7-benefits h3 {
  position: relative;
  font-size: clamp(17px,1.35vw,21px);
  line-height: 1.35;
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: -.028em;
  color: #fff;
}
#afc-uae-page #afc07 .afc7-benefits p {
  position: relative;
  font-size: clamp(12px, .95vw, 14px);
  line-height: 1.75;
  color: #c8d4d5;
  margin: 0;
}

/* 05 / DESERT INTRO — calm light section before the immersive parallax. */
#afc-uae-page #afc04 > .afc6-outro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #172e34;
  background: linear-gradient(0deg, #40afff 0%, #d0ebff 75%, #ffffff 100%);
  padding: clamp(46px,6vw,86px) 22px clamp(52px,6vw,90px);
}
#afc-uae-page #afc04 > .afc6-outro::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: min(55vw, 650px);
  height: min(55vw, 650px);
  right: -12%;
  top: -85%;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(191,162,121,.18),transparent 65%);
  pointer-events: none;
}
#afc-uae-page #afc04 > .afc6-outro .eyebrow { color: #ffffff; }
#afc-uae-page #afc04 > .afc6-outro h2 { color: #ffffff; max-width: 1040px; }
#afc-uae-page #afc04 > .afc6-outro p { color: #ffffff; }
#afc-uae-page #afc04 > .afc6-outro .afc6-disclaimer { color: #ffffff; }
#afc-uae-page #afc04 > .afc6-outro .afc-quiet-link { color: #294750; }

/* 09 / UAE ACTIVITY DISCOVERY — desktop hover plus touch-friendly labels. */
#afc08 .afc08-instruction { letter-spacing: .14em; }
@media (hover: none), (pointer: coarse) {
  #afc08 .afc08-instruction { font-size: 0; }
  #afc08 .afc08-instruction::after {
    content: 'TAP TO VIEW AND BOOK · DRAG TO EXPLORE';
    font-size: 9px;
    letter-spacing: .14em;
  }
  #afc08 .afc08-orb::after { opacity: .4; }
  #afc08 .afc08-orb-label {
    opacity: 1;
    transform: translateY(0);
    bottom: 13%;
    font-size: clamp(8px, 2vw, 10px);
  }
}
/* Responsive layout with adequate text size, no moving borders on reduced motion. */
@media (max-width: 1100px) {
  #afc-uae-page #afc07 .afc7-benefits { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #afc-uae-page #afc07 .afc7-benefits article { min-height: 260px; }
  #afc-uae-page #afc07 .afc7-benefits .afc7-benefit-number { font-size: 96px; }
}
@media (max-width: 620px) {
  #afc-uae-page #afc07 .afc7-benefits { grid-template-columns: 1fr; gap: 12px; }
  #afc-uae-page #afc07 .afc7-benefits article { min-height: 208px; padding: 25px 24px; }
  #afc-uae-page #afc07 .afc7-benefits .afc7-benefit-number { top: 6px; right: 18px; font-size: 86px; }
  #afc-uae-page #afc04 > .afc6-outro { padding: 50px 20px 58px; }
}
@media (prefers-reduced-motion: reduce) {
  #afc-uae-page #afc07 .afc7-benefits article { animation: none; transition: none; }
  #afc-uae-page #afc07 .afc7-benefits article:hover { transform: none; }
  #afc-uae-page #afc07 .afc7-benefits .afc7-benefit-number { transition: none; }
}

/* 04 / FAMILY CUTOUT — sits above the white marquee, without fixed pixel offsets */
#afc-uae-page #afc07 .afc7-intro {
  position: relative;
  z-index: 4;
  min-height: clamp(270px, 24vw, 340px);
  padding-right: min(37%, 470px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
#afc-uae-page #afc07 .afc7-intro h2 { max-width: 100%; }
#afc-uae-page #afc07 .afc7-intro > p:last-of-type { max-width: 670px; }
#afc-uae-page #afc07 .afc7-family {
  display: block;
  position: absolute;
  right: 0;
  /* Extend the cutout down into the dark space above the white 3D strip. */
  bottom: calc(-1 * (clamp(180px, 20vw, 280px) - clamp(86px, 9vw, 125px)) / 2 - 9px);
  width: clamp(310px, 36%, 470px);
  height: auto;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
  user-select: none;
  z-index: 5;
}
/* Moving band sits behind the cutout's feet, not over them. */
#afc-uae-page #afc07 .afc7-marquee-stage { position: relative; z-index: 2; height:clamp(180px,20vw,280px); }
/* Refined, coordinated jewel-tone gradients: navy, petrol, dusk blue, bronze. */
#afc-uae-page #afc07 .afc7-benefits article {
  background:
    radial-gradient(ellipse at 85% 5%, rgba(255,255,255,.105), transparent 57%) padding-box,
    linear-gradient(150deg, var(--afc7-surface) 0%, var(--afc7-middle) 54%, #091820 100%) padding-box,
    conic-gradient(from var(--afc7-outline-angle), rgba(255,255,255,.10) 0deg, rgba(255,255,255,.10) 255deg, var(--afc7-glow) 310deg, rgba(255,255,255,.10) 360deg) border-box;
}
#afc-uae-page #afc07 .afc7-benefits article:nth-child(1) { --afc7-surface:#244452; --afc7-middle:#142f3b; --afc7-glow:rgba(211,169,110,.90); }
#afc-uae-page #afc07 .afc7-benefits article:nth-child(2) { --afc7-surface:#23615c; --afc7-middle:#174341; --afc7-glow:rgba(110,218,191,.9); }
#afc-uae-page #afc07 .afc7-benefits article:nth-child(3) { --afc7-surface:#454969; --afc7-middle:#272f4c; --afc7-glow:rgba(183,175,240,.9); }
#afc-uae-page #afc07 .afc7-benefits article:nth-child(4) { --afc7-surface:#675040; --afc7-middle:#3c302a; --afc7-glow:rgba(238,190,125,.9); }
@media (max-width: 1050px) {
  #afc-uae-page #afc07 .afc7-intro { min-height: 295px; padding-right: 37%; }
  #afc-uae-page #afc07 .afc7-family { width: 37%; bottom: calc(-1 * (clamp(180px, 20vw, 280px) - clamp(86px, 9vw, 125px)) / 2 - 9px); }
  #afc-uae-page #afc07 .afc7-intro h2 { font-size: clamp(35px, 4.5vw, 55px); }
}
@media (max-width: 680px) {
  #afc-uae-page #afc07 .afc7-intro { display:block; padding-right:0; min-height:0; }
  #afc-uae-page #afc07 .afc7-intro h2 { font-size:clamp(35px, 9vw, 52px); }
  #afc-uae-page #afc07 .afc7-family { position:relative; right:auto; bottom:auto; width:min(72%,340px); margin:4px -6px -20px auto; }
  #afc-uae-page #afc07 .afc7-marquee-stage { margin-top:-44px; height:230px; }
}


/* ============================================================
   04 / FAMILY PHOTO — responsive wide-screen size and ribbon overlap
   Keep the strip visually in front of the cutout's lower edge.
   ============================================================ */
@media (min-width: 1200px) {
  #afc-uae-page #afc07 .afc7-intro {
    padding-right: min(39%, 565px);
  }
  #afc-uae-page #afc07 .afc7-family {
    width: clamp(445px, 39vw, 620px);
    max-width: none;
    right: 0;
    bottom: calc(-1 * (clamp(180px, 20vw, 280px) - clamp(86px, 9vw, 125px)) / 2 - 12px);
  }
}
/* The strip is foreground; photo stays behind its white surface. */
#afc-uae-page #afc07 .afc7-intro { z-index: 3; }
#afc-uae-page #afc07 .afc7-family { z-index: 4; }
#afc-uae-page #afc07 .afc7-marquee-stage { z-index: 6; }

/* ============================================================
   05 / DESERT INTRO — shared blue gradient with the next visual.
   Remove the bottom padding completely for a flush transition.
   ============================================================ */
#afc-uae-page #afc04 > .afc6-outro {
  background: transparent;
  padding-bottom: 25px;
  margin-bottom: -50px;
}
@media (max-width: 680px) {
  #afc-uae-page #afc07 .afc7-intro { z-index: 3; }
  #afc-uae-page #afc07 .afc7-marquee-stage { z-index: 6; }
  #afc-uae-page #afc04 > .afc6-outro { padding-bottom: 0; }
}


/* ============================================================
   FINAL REFINEMENTS — Water experiences and button interaction
   All changes stay within the existing single stylesheet.
   ============================================================ */
#afc-uae-page #afc04 > .afc6-outro .eyebrow {
  font-size:clamp(12px,.92vw,15px);letter-spacing:.17em;
}
#afc-uae-page #afc04 > .afc6-outro .afc-outro-overline {
  color:#fff;font-size:clamp(12px,.94vw,15px);font-weight:700;
  letter-spacing:.15em;margin:15px auto 8px;
}
#afc-uae-page #afc04 .afc04__content {
  background-position:center;background-size:cover;background-repeat:no-repeat;
}
#afc-uae-page #afc04 .afc04__content-inner {
  width:min(100%,1170px);margin-inline:auto;
}
#afc-uae-page #afc04 .afc04__content h2 {
  font-size:clamp(39px,5.75vw,88px);line-height:1.11;
  max-width:1000px;color:#fff;
}
#afc-uae-page #afc04 .afc04__content h2 em {color:#283c6e;}
#afc-uae-page #afc04 .afc04__content p {
  font-size:clamp(16px,1.24vw,20px);max-width:790px;
  color:#14364e;line-height:1.7;font-weight:500;
}
#afc-uae-page #afc04 .afc04__eyebrow {
  color:#143f62;font-size:clamp(12px,.95vw,15px);letter-spacing:.2em;
}
/* Carefully enlarge only captions, disclaimers, eyebrow text,
   feature labels and smaller secondary text on wide displays. */
@media(min-width:1200px){
 #afc-uae-page .afc6-disclaimer,
 #afc-uae-page .afc09-small,
 #afc-uae-page .afc10-copy > small,
 #afc-uae-page .afc09-season-card p,
 #afc-uae-page .afc09-faq-list details p {font-size:clamp(13px,.91vw,15px);}
 #afc-uae-page .afc09-season-dates,
 #afc-uae-page .afc09-season-chip,
 #afc-uae-page .afc10-points span,
 #afc-uae-page .afc7-marquee-hint,
 #afc-uae-page .afc08-instruction {font-size:clamp(12px,.85vw,14px);}
}
/* FINAL / Action buttons: colour sweep on filled buttons only.
   Plain underlined links intentionally never acquire a box. */
#afc-uae-page :is(
 .afc-blur-jump,.afc6-action,.afc6-enquire-now,.afc-conversion-button,
 .afc04__link,.afc08-all,.afc10-primary,.afc09-faq-footer button,
 .afc7-end a
),
.afc-mobile-cta button {
 position:relative;isolation:isolate;overflow:hidden;
 transition:color .36s ease,border-color .36s ease,transform .36s ease,background-color .36s ease;
}
#afc-uae-page :is(
 .afc-blur-jump,.afc6-action,.afc6-enquire-now,.afc-conversion-button,
 .afc04__link,.afc08-all,.afc10-primary,.afc09-faq-footer button,
 .afc7-end a
)::before,
.afc-mobile-cta button::before {
 content:'';position:absolute;inset:0;z-index:-1;
 background:#bb9563;transform:scaleX(0);transform-origin:left center;
 transition:transform .48s cubic-bezier(.22,1,.36,1);
 pointer-events:none;border-radius:inherit;
}
#afc-uae-page :is(
 .afc-blur-jump,.afc6-action,.afc6-enquire-now,.afc-conversion-button,
 .afc04__link,.afc08-all,.afc10-primary,.afc09-faq-footer button,
 .afc7-end a
):hover::before,
.afc-mobile-cta button:hover::before{transform:scaleX(1)}
#afc-uae-page :is(
 .afc-blur-jump,.afc6-action,.afc6-enquire-now,.afc-conversion-button,
 .afc08-all,.afc10-primary,.afc09-faq-footer button,.afc7-end a
):hover,
.afc-mobile-cta button:hover{color:#10242b;border-color:#bb9563}

/* Secondary text-style actions: no fill, box or sweep on hover. */
#afc-uae-page :is(.afc10-secondary,.afc-quiet-link) {
 background:transparent!important;box-shadow:none!important;
 border-radius:0;isolation:auto;overflow:visible;
 transition:color .28s ease,border-color .28s ease;
}
#afc-uae-page :is(.afc10-secondary,.afc-quiet-link)::before,
#afc-uae-page :is(.afc10-secondary,.afc-quiet-link)::after{content:none!important}
#afc-uae-page .afc10-secondary:hover,
#afc-uae-page .afc10-secondary:focus-visible{color:#d7b180!important;border-bottom-color:#d7b180!important;background:transparent!important}
#afc-uae-page .afc-quiet-link:hover,
#afc-uae-page .afc-quiet-link:focus-visible{color:#ad7b44!important;background:transparent!important}

/* Water experience CTA: solid navy normally, white with navy text on hover. */
#afc-uae-page #afc04 .afc04__link {
 background:#243d65!important;border:1px solid #243d65!important;
 color:#fff!important;box-shadow:0 8px 26px rgba(12,35,64,.20);
}
#afc-uae-page #afc04 .afc04__link::before {background:#fff}
#afc-uae-page #afc04 .afc04__link:hover,
#afc-uae-page #afc04 .afc04__link:focus-visible {
 color:#17365b!important;border-color:#fff!important;
 box-shadow:0 10px 30px rgba(10,33,60,.27);
}
#afc-uae-page #afc04 .afc04__link:focus-visible::before{transform:scaleX(1)}

/* Give the four feature cards a soft tinted highlight on interaction. */
#afc-uae-page #afc07 .afc7-benefits article:hover,
#afc-uae-page #afc07 .afc7-benefits article:focus-within {
 box-shadow:0 24px 50px rgba(0,0,0,.32),0 0 25px var(--afc7-glow),0 0 8px rgba(255,255,255,.12);
 transform:translateY(-7px);
}
@media (prefers-reduced-motion:reduce) {
 #afc-uae-page #afc07 .afc7-benefits article:hover {transform:none}
}
/* Filter chips use a quiet colour transition without obstructing pressed state. */
#afc-uae-page .afc6-filter {transition:background-color .3s ease,color .3s ease,border-color .3s ease;}
#afc-uae-page .afc6-filter:hover:not(.is-active){background:#d2ae7c;color:#16252b;border-color:#d2ae7c;}
@media(max-width:800px){
 #afc-uae-page #afc04 .afc04__content{padding:72px 6vw 250px;}
 #afc-uae-page #afc04 .afc04__content::before{width:min(60vw,330px);height:50%;}
 #afc-uae-page #afc04 .afc04__content h2{font-size:clamp(36px,7vw,58px);}
 #afc-uae-page #afc04 .afc04__content p{font-size:15px;max-width:580px;}
}
@media(prefers-reduced-motion:reduce){
 #afc-uae-page :is(a,button)::before,.afc-mobile-cta button::before {transition:none!important;}
}


/* ===========================================================
   SECTION 06 — Plan Your UAE Visit / repeating skyline footer
   Extra clearance keeps the cards above the skyline artwork.
   =========================================================== */
#afc-uae-page .afc09 {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-bottom: clamp(195px, 17vw, 190px);
}
#afc-uae-page .afc09::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: clamp(100px, 11vw, 150px);
  background-image: url('../img/uae-holiday-packages/uae-skyline.webp');
  background-size: auto 100%;
  background-repeat: repeat-x;
  background-position: center bottom;
  pointer-events: none;
  z-index: -1;
}
@media (max-width: 767px) {
  #afc-uae-page .afc09 { padding-bottom: 175px; }
  #afc-uae-page .afc09::before { height: 105px; }
}

/* ===========================================================
   SECTION 08 — Seven Emirates / background image layer
   Adjust --afc-emirates-bg-opacity from 0 (hidden) to 1 (full).
   Only the background image changes opacity, never the content.
   =========================================================== */
#afc-uae-page #afc-uae-landmarks {
  --afc-emirates-bg-opacity: .25;
  position: relative;
  isolation: isolate;
  background: #fdf3eb;
}
#afc-uae-page #afc-uae-landmarks::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/uae-holiday-packages/dubai-meseum-bk.webp');
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center center;
  opacity: var(--afc-emirates-bg-opacity);
  pointer-events: none;
  z-index: -1;
  background-attachment: fixed;
}
@media (max-width: 767px) {
  #afc-uae-page #afc-uae-landmarks::before {
    background-size: 100% auto;
    background-position: center bottom;
	  background-attachment: scroll;
  }
}

/* Three itinerary photos per day: even spacing while retaining the approved bounce hover. */
.afc6-dialog .afc6-bounce-card { width:31%; transform:translateY(0) rotate(var(--card-angle)); }
.afc6-dialog .afc6-day[open] .afc6-bounce-card { transform:translateY(0) rotate(var(--card-angle)); }
@media (max-width:620px) { .afc6-dialog .afc6-bounce-card { width:31%; } }

/* SECTION 01: Scroll-synced UAE welcome at the end of the approved hero zoom */
#afc-uae-page #sequence .afc-hero-welcome{
  position:absolute;inset:0;z-index:5;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:clamp(12px,1.6vw,24px);padding:clamp(20px,5vw,72px);
  text-align:center;color:#fff;font-family:Poppins,Arial,sans-serif;
  pointer-events:none;opacity:0;visibility:hidden;
  transform:translate3d(0,28px,0);filter:blur(6px);
  will-change:opacity,transform,filter;
}
#afc-uae-page #sequence .afc-hero-welcome::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:radial-gradient(ellipse at center,rgba(6,22,34,.59) 0%,rgba(6,22,34,.38) 40%,rgba(6,22,34,0) 76%);
}
#afc-uae-page #sequence .afc-hero-welcome__eyebrow{
  font-size:clamp(10px,.86vw,14px);font-weight:700;letter-spacing:.24em;color:#e8c79d;
}
#afc-uae-page #sequence .afc-hero-welcome__title{
  margin:0;max-width:1100px;font-size:clamp(2.1rem,5.1vw,5.7rem);
  font-weight:800;letter-spacing:-.055em;line-height:1.12;text-wrap:balance;
}
#afc-uae-page #sequence .afc-hero-welcome__title em{font-style:normal;color:#e2b77e;}
#afc-uae-page #sequence .afc-hero-welcome__caption{
  margin:0;font-size:clamp(12px,1.1vw,17px);font-weight:500;color:#f1f2f3;
}
@media(max-width:700px){
  #afc-uae-page #sequence .afc-hero-welcome{gap:12px;padding:22px;}
  #afc-uae-page #sequence .afc-hero-welcome__title{font-size:clamp(1.75rem,7vw,2.65rem);line-height:1.22;}
  #afc-uae-page #sequence .afc-hero-welcome__eyebrow{font-size:10px;letter-spacing:.14em;}
  #afc-uae-page #sequence .afc-hero-welcome__caption{font-size:12px;}
}
@media(prefers-reduced-motion:reduce){
  #afc-uae-page #sequence .afc-hero-welcome{display:none;}
}

/* Word-by-word cinematic reveal. Overflow clips each word at its own baseline. */
#afc-uae-page #sequence .afc-hero-welcome__line{
  display:flex;justify-content:center;align-items:baseline;flex-wrap:wrap;
  column-gap:.25em;row-gap:.03em;overflow:visible;
}
#afc-uae-page #sequence .afc-hero-welcome__line em{font-style:normal}
#afc-uae-page #sequence .afc-hero-welcome__line:last-child{color:#e2b77e;}
#afc-uae-page #sequence .afc-hero-welcome__word{
  display:inline-block;overflow:hidden;vertical-align:bottom;
  padding-bottom:.13em;margin-bottom:-.13em;
}
#afc-uae-page #sequence .afc-hero-welcome__word-inner{
  display:inline-block;transform:translate3d(0,115%,0);opacity:0;
  filter:blur(7px);will-change:transform,opacity,filter;
}
@media(prefers-reduced-motion:reduce){
  #afc-uae-page #sequence .afc-hero-welcome__word-inner{
    transform:none;opacity:1;filter:none;will-change:auto;
  }
}


/* =============================================================
   VISIT UAE: works with common header/footer OUTSIDE the page wrapper.
   No need to edit the shared <body> tag or common files.
   ============================================================= */
/* :has() scopes the shared elements to pages containing our wrapper.
   The JS also adds .afc-visit-uae-page as a compatibility fallback. */
body:has(> .afc-visit-uae),
html.afc-visit-uae-active body,
body.afc-visit-uae-page { padding-top:0 !important; }

/* JS manages the shared header directly (inline !important), including transition.
   This CSS only supplies a scoped fallback and does not hide the header by default. */
html.afc-visit-uae-active body > .fixed-top.afc-visit-header-managed {
  will-change: transform, opacity;
}
html.afc-visit-uae-active body > .fixed-top.afc-visit-header-hidden {
  pointer-events: none !important;
}
/* Shared mobile menu lives outside the page wrapper too. */
body:has(> .afc-visit-uae) > .mmenushw.mobilemenu-down,
body.afc-visit-uae-page > .mmenushw.mobilemenu-down {display:none !important;}
@media(max-width:767.98px){
  .afc-visit-uae .afc-mobile-cta {z-index:1050;}
}
@media(prefers-reduced-motion:reduce){
  .fixed-top.afc-visit-header-managed {transition:none;}
}


/* =============================================================
   VISIT UAE / Shared-site overrides — page-scoped visual fixes
   ============================================================= */
/* Shared AFC body text color is dark; hero labels must be white. */
.afc-visit-uae #afc-uae-page #sequence .words,
.afc-visit-uae #afc-uae-page #sequence .words span,
.afc-visit-uae #afc-uae-page #sequence .words strong,
.afc-visit-uae #afc-uae-page #sequence .brand,
.afc-visit-uae #afc-uae-page #sequence .hint,
.afc-visit-uae #afc-uae-page #sequence .progress { color: #fff; }

/* Bootstrap's .mark has a yellow background; this is our animated
   emirates marquee, which must remain transparent. */
.afc-visit-uae #afc-uae-page #afc-uae-landmarks .mark,
.afc-visit-uae #afc-uae-page #afc-uae-landmarks .mark.font-1,
.afc-visit-uae #afc-uae-page #afc-uae-landmarks .mark__inner,
.afc-visit-uae #afc-uae-page #afc-uae-landmarks .mark__inner span {
  background: transparent;
  background-color: transparent;
}

/* === Visit UAE mobile integration — 26 Oct 2026 === */
/* Hide the heavy perspective tunnel on mobile even before scripts run. */
@media (max-width: 767px) {
  #afc-uae-page .afc5-section { display: none !important; }
  /* User-approved family placement — preserve across deployments. */
  #afc-uae-page #afc07 .afc7-family {
    position: relative; right: auto; bottom: auto;
    width: min(72%, 340px); margin: 4px auto -80px auto;
  }
  /* Native iOS/Android finger scroll inside the itinerary modal. */
  .afc6-dialog[open] {
    position: fixed !important;
    inset: 0 !important;
    margin: auto !important;
    width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 24px) !important;
    height: min(94dvh, 850px) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    touch-action: auto !important;
  }
  .afc6-dialog[open] .afc6-dialog-wrap {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    flex: 1 1 0% !important;
    min-height: 0 !important;
    max-height: none !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain;
    touch-action: pan-y !important;
  }
  .afc6-dialog[open] .afc6-modal-footer {
    flex: 0 0 auto !important;
    position: relative !important;
  }
}
