/* Makadi Heights campaign structure: project, location, homes, prices, amenities, registration. */
body.intro-active{overflow:hidden}
.site-intro{position:fixed;inset:0;z-index:200;background:linear-gradient(145deg,#0a2740,#0d4c64 55%,#178e96);display:grid;place-items:center;overflow:hidden;transition:opacity .7s ease,visibility .7s ease}
.site-intro.is-leaving{opacity:0;visibility:hidden}
.intro-brand{position:relative;z-index:2;text-align:center;animation:intro-brand 1.1s cubic-bezier(.2,.75,.25,1) both}
.intro-brand img{width:clamp(300px,36vw,520px);height:auto;filter:drop-shadow(0 12px 30px #061b2e55)}
.intro-brand span{display:block;color:#9de9e2;font-size:11px;letter-spacing:.28em;margin-top:20px}
.intro-loader{width:170px;height:2px;background:#ffffff2e;overflow:hidden;margin:27px auto 12px;border-radius:4px}
.intro-loader i{display:block;width:100%;height:100%;background:linear-gradient(90deg,#5fe2d1,#fff);transform-origin:left;animation:intro-load 1.7s cubic-bezier(.2,.75,.2,1) both}
.intro-brand small{display:block;color:#d8f3f1b5;font-size:8px;letter-spacing:.22em}
.intro-tide,.intro-tide i{position:absolute;border:1px solid #b8fff433;border-radius:50%}
.intro-tide{width:min(95vw,1100px);aspect-ratio:1.8;left:50%;top:58%;transform:translate(-50%,-50%);animation:intro-tide 6s ease-in-out infinite alternate}
.intro-tide i:nth-child(1){inset:12% -8%}.intro-tide i:nth-child(2){inset:26% -16%}.intro-tide i:nth-child(3){inset:40% -24%}
@keyframes intro-brand{from{opacity:0;transform:translateY(18px) scale(.96);filter:blur(8px)}to{opacity:1;transform:none;filter:none}}
@keyframes intro-tide{to{transform:translate(-50%,-54%) scale(1.04);border-color:#d8fff05c}}
@keyframes intro-load{from{transform:scaleX(0);opacity:.35}to{transform:scaleX(1);opacity:1}}
.intro-active .site-header,.intro-active .hero-content{opacity:0}
.intro-active .hero-sea{animation-play-state:paused}
.intro-complete .site-header{animation:site-enter .8s .08s ease both}
.intro-complete .hero-content{animation:site-enter .95s .14s ease both}
.intro-complete .hero-sea{animation:sea-arrive 2.2s ease-out both}
@keyframes site-enter{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.reveal-item{opacity:0;transform:translateY(34px);transition:opacity .72s ease var(--reveal-delay,0ms),transform .72s cubic-bezier(.2,.7,.25,1) var(--reveal-delay,0ms)}
.reveal-item.is-visible{opacity:1;transform:none}
.phase-card.reveal-item,.payment-option.reveal-item,.amenity-grid article.reveal-item{transform:translateY(24px) scale(.985)}
.phase-card.reveal-item.is-visible,.payment-option.reveal-item.is-visible,.amenity-grid article.reveal-item.is-visible{transform:none}
.distance-point.reveal-item{transform:translateY(18px) scale(.92)}
.distance-point.reveal-item.is-visible{transform:none}
.project-visual>img,.phase-image img{will-change:transform}
.project-visual:hover>img{transform:scale(1.018)}
.project-visual>img{transition:transform 1.1s cubic-bezier(.2,.75,.2,1)}
.project{background:#faf8f2}
.project-overview{display:grid;grid-template-columns:1.15fr .75fr;gap:9%;align-items:end;margin-bottom:48px}
.project-overview h2{margin-bottom:0}
.project-copy{max-width:480px;color:var(--muted);font-size:18px;line-height:1.75}
.project-copy p:last-child{margin-bottom:0}
.project-visual{height:560px;position:relative;overflow:hidden;border-radius:22px}
.project-visual>img{width:100%;height:100%;object-fit:cover}
.project-visual:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#0d2b42d9)}
.project-facts{position:absolute;z-index:2;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(3,1fr);color:#fff;padding:30px 36px}
.project-facts>div{display:flex;align-items:flex-end;gap:14px;padding:0 28px;border-left:1px solid #ffffff55}
.project-facts>div:first-child{border-left:0;padding-left:0}
.project-facts strong{font-size:54px;line-height:.9;letter-spacing:-.06em;color:#5fe0cc}
.project-facts span{font-size:13px;line-height:1.35;max-width:100px}
.developer-proof{display:grid;grid-template-columns:1.7fr repeat(3,.62fr);gap:0;margin-top:58px;padding:0 0 10px;border-bottom:1px solid var(--line)}
.developer-proof>div{padding:10px 28px 28px;border-left:1px solid var(--line)}
.developer-proof>div:first-child{border-left:0;padding-left:0}
.developer-title h3{font-size:31px;font-weight:700;margin:0 0 18px}
.developer-title p{font-size:14px;color:var(--muted);margin:0;display:flex;align-items:center;gap:10px}
.developer-title i{width:7px;height:7px;border-radius:50%;background:#18aa9e}
.developer-proof strong{display:block;color:#15a79a;font-size:57px;line-height:1;letter-spacing:-.05em}
.developer-proof span{display:block;color:#637687;font-size:14px;line-height:1.35;margin-top:10px}

.location{background:#f6f4ee;overflow:hidden}
.location-showcase{display:grid;grid-template-columns:.9fr 1.1fr;gap:4%;align-items:center;min-height:610px}
.location-copy{padding-left:5%}
.location-copy>p:not(.eyebrow){font-size:18px;line-height:1.75;color:#5d7080;max-width:600px}
.location-copy .button{margin-top:20px}
.distance-map{position:relative;width:min(100%,640px);aspect-ratio:1;margin:auto}
.distance-rings,.distance-rings i{position:absolute;border:1px solid #cfd8dc;border-radius:50%}
.distance-rings{inset:4%}
.distance-rings i:nth-child(1){inset:13%}
.distance-rings i:nth-child(2){inset:28%}
.distance-rings i:nth-child(3){inset:43%}
.distance-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:160px;height:160px;border-radius:50%;background:#133b5c;color:white;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 22px 50px #17aa9d35;text-align:center}
.distance-center img{width:106px;height:46px;object-fit:contain;margin-bottom:2px}
.distance-center b{font-size:14px}
.distance-point{position:absolute;z-index:2;background:#fff;border:1px solid #e2e6e8;border-radius:22px;padding:14px 22px;text-align:center;box-shadow:0 16px 28px #16364d16;min-width:165px}
.distance-point strong{display:block;color:#102f48;font-size:31px;line-height:1}
.distance-point strong small{font-size:12px;color:#13a89a;letter-spacing:0}
.distance-point span{display:block;color:#566c80;font-size:12px;line-height:1.4;margin-top:8px}
.distance-point.airport{right:5%;top:39%}
.distance-point.downtown{left:1%;top:56%}
.distance-point.gouna{right:15%;top:3%}
.travel-note{text-align:right;color:#7e8e97;font-size:11px;margin:-20px 0 0}

.centered-heading{display:block;text-align:center;max-width:760px;margin:0 auto 55px}
.centered-heading>p{max-width:620px;margin:20px auto 0;font-size:18px}
.phase-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.phase-card{background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 18px 48px #102f4812;display:flex;flex-direction:column}
.phase-image{height:300px;position:relative;overflow:hidden;background:#dce8e7}
.phase-image img{width:100%;height:100%;object-fit:cover;transition:transform .7s ease}
.phase-card:hover .phase-image img{transform:scale(1.035)}
.phase-image span{position:absolute;left:20px;top:20px;border-radius:99px;background:#143a57;color:#fff;padding:8px 17px;font-size:11px;font-weight:700;letter-spacing:.06em}
.phase-body{padding:28px 30px 32px;display:flex;flex-direction:column;flex:1}
.phase-number{color:#18a99d;font-size:12px;font-weight:700;letter-spacing:.12em;margin-bottom:9px}
.phase-body h3{font-size:34px;font-weight:700;margin-bottom:13px}
.phase-body>p:not(.phase-number){color:#627584;font-size:15px;min-height:72px}
.phase-body dl{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:12px 0 22px}
.phase-body dl>div{border-top:1px solid #dde4e6;padding-top:14px}
.phase-body dt{font-size:9px;letter-spacing:.11em;color:#71828d;text-transform:uppercase}
.phase-body dd{margin:6px 0 0;font-size:14px;font-weight:700;color:#17364e}
.phase-body .text-link{margin-top:auto;width:100%;color:#109d91;border-color:#9fd5d0}

.price-intro{display:grid;grid-template-columns:.8fr 1fr;gap:8%;align-items:end}
.price-intro>div:first-child{display:flex;flex-direction:column;align-items:flex-start}
.price-intro>div:first-child strong{font-size:clamp(54px,6vw,92px);line-height:.9;letter-spacing:-.07em;color:#14a79a}
.price-intro>div:first-child>span{font-size:18px;color:#5e7380;margin-top:16px}
.price-intro h2{margin-bottom:16px}
.price-intro>div:last-child>p{color:#627483;font-size:17px}
.payment-options{margin-top:55px}

.amenities{background:#102f48;color:#fff}
.amenities .section-label{border-color:#ffffff2e;color:#76e2d2}
.amenities-layout{display:grid;grid-template-columns:.75fr 1.25fr;gap:8%}
.amenities-intro h2 em{color:#65dbc9}
.amenities-intro>p:not(.eyebrow){color:#c4d3dc;font-size:17px;line-height:1.7;max-width:430px}
.amenity-grid{display:grid;grid-template-columns:1fr 1fr}
.amenity-grid article{min-height:145px;border-left:1px solid #ffffff25;border-bottom:1px solid #ffffff25;padding:18px 28px;display:flex;flex-direction:column;justify-content:space-between}
.amenity-grid article:nth-child(odd){border-left:0}
.amenity-grid article:nth-last-child(-n+2){border-bottom:0}
.amenity-grid span{font-size:11px;color:#61dac8;letter-spacing:.12em}
.amenity-grid h3{font-size:21px;font-weight:600;letter-spacing:-.02em;margin:20px 0 0;max-width:260px}

@media(max-width:1050px){
  .project-visual{height:500px}.developer-proof{grid-template-columns:1.25fr repeat(3,.6fr)}.developer-proof>div{padding-inline:18px}.developer-title h3{font-size:25px}.developer-proof strong{font-size:46px}
  .distance-point{min-width:145px;padding:12px 15px}.distance-point strong{font-size:27px}.distance-center{width:135px;height:135px}
  .phase-grid{gap:16px}.phase-image{height:245px}.phase-body{padding:24px 22px}.phase-body h3{font-size:29px}.phase-body>p:not(.phase-number){min-height:90px}
}

@media(min-width:761px) and (max-width:1366px){
  .section{padding-top:76px;padding-bottom:76px}
  .project-visual{height:500px}
  .location-showcase{min-height:560px}
  .phase-image{height:265px}
}

@media(max-width:760px){
  .site-intro{background:linear-gradient(160deg,#09263e,#0d5369 60%,#159094)}
  .intro-brand img{width:min(78vw,310px)}.intro-brand span{font-size:9px;letter-spacing:.22em;margin-top:16px}.intro-loader{width:145px;margin-top:23px}
  .intro-tide{width:150vw;aspect-ratio:1.35;top:62%}
  .reveal-item{transform:translateY(22px);transition-duration:.58s}
  .hero{min-height:720px;height:100svh}
  .hero-content{padding-top:130px;padding-bottom:105px}
  .hero h1{font-size:clamp(50px,14vw,70px)}
  .hero-slogan{font-size:clamp(25px,8vw,36px)!important}
  .hero-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:9px}
  .hero-actions .button,.hero-actions .button:first-child{width:100%;min-width:0;padding:13px 14px;font-size:11px;gap:8px;text-align:left}
  .hero-price-note{margin-top:18px!important}
  .project-overview,.location-showcase,.price-intro,.amenities-layout{grid-template-columns:1fr}
  .project-overview{gap:25px;margin-bottom:32px}.project-copy{font-size:16px}.project-visual{height:440px;border-radius:17px}.project-facts{padding:20px 18px}.project-facts>div{display:block;padding:0 12px}.project-facts strong{font-size:34px}.project-facts span{font-size:10px;margin-top:6px;display:block}
  .developer-proof{grid-template-columns:1fr 1fr;margin-top:40px}.developer-proof>div{border-left:0;border-top:1px solid var(--line);padding:22px 10px}.developer-proof>div:nth-child(even){border-left:1px solid var(--line);padding-left:18px}.developer-proof>.developer-title{grid-column:1/-1;border-top:0;padding-left:0}.developer-title h3{font-size:25px}.developer-proof strong{font-size:42px}.developer-proof span{font-size:12px}
  .location-showcase{min-height:0;gap:30px}.location-copy{padding-left:0}.location-copy>p:not(.eyebrow){font-size:16px}.distance-map{width:108%;margin-left:-4%;}.distance-center{width:105px;height:105px}.distance-center img{width:78px;height:34px}.distance-center b{font-size:10px}.distance-point{min-width:115px;padding:10px 12px;border-radius:16px}.distance-point strong{font-size:22px}.distance-point span{font-size:9px;margin-top:5px}.distance-point.airport{right:0}.distance-point.downtown{left:0}.distance-point.gouna{right:9%;top:1%}.travel-note{margin-top:8px;text-align:center}
  .centered-heading{text-align:left;margin-bottom:30px}.centered-heading>p{margin-left:0;font-size:15px}
  .phase-grid{grid-template-columns:1fr;gap:20px}.phase-image{height:280px}.phase-body>p:not(.phase-number){min-height:0}.phase-body h3{font-size:31px}
  .price-intro{gap:35px}.price-intro>div:first-child strong{font-size:60px}.price-intro>div:first-child>span{font-size:15px}.price-intro>div:last-child>p{font-size:15px}
  .amenities-layout{gap:25px}.amenity-grid article{min-height:130px;padding:17px 14px}.amenity-grid h3{font-size:16px;line-height:1.35}
}

@media(prefers-reduced-motion:reduce){.site-intro,.intro-brand,.intro-tide,.site-header,.hero-content,.reveal-item{animation:none!important;transition:none!important}.reveal-item{opacity:1!important;transform:none!important}}
