/* NEOM Clinic — approved Arabic reference homepage */
:root{--ref-teal:#063f48;--ref-teal-2:#0a5961;--ref-gold:#c9964f;--ref-cream:#fbf8f4;--ref-ink:#0c3441;--ref-muted:#60737a;--ref-line:#e5ddd5;--ref-card:#fff;--ref-shadow:0 18px 48px rgba(22,52,61,.08)}

/* Home header overlays the hero exactly like the approved reference. */
body.home{padding-top:0!important;background:#fff!important}
body.home .site-header{position:absolute!important;inset:0 0 auto 0;top:0!important;background:linear-gradient(180deg,rgba(3,42,50,.84),rgba(3,42,50,.12))!important;border:0!important;box-shadow:none!important;z-index:50}
body.home .site-header__inner{min-height:76px}
body.home .site-nav__list>li>a,body.home .nav-services-toggle{color:#fff!important}
body.home .nav-services-toggle i,body.home .nav-services-toggle i::before,body.home .nav-services-toggle i::after{border-color:#fff!important}
body.home .brand img{filter:none!important;opacity:1!important;max-height:48px!important;width:auto!important}
body.home .header-whatsapp{background:linear-gradient(135deg,#d6aa67,#bd8440)!important;color:#fff!important;border:1px solid rgba(255,255,255,.36)!important;box-shadow:0 10px 28px rgba(0,0,0,.12)}
body.home .nav-toggle span{background:#fff!important}

.ref-home{background:#fff;color:var(--ref-ink);overflow:hidden}
.ref-home *{box-sizing:border-box}
.ref-home .shell{width:min(1180px,calc(100% - 40px));margin-inline:auto}

/* HERO */
.ref-hero{position:relative;background:#073f47;min-height:790px;color:#fff;overflow:hidden}
.ref-hero__media{position:absolute;inset:0;z-index:0;background:#073f47}
.ref-hero__media::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,49,56,.04) 0%,rgba(5,49,56,.12) 42%,rgba(5,49,56,.62) 65%,rgba(5,49,56,.88) 100%);pointer-events:none}
.ref-hero__media img{width:100%;height:100%;object-fit:cover!important;object-position:center center!important;transform:none!important;filter:none!important}
.ref-hero__content{position:relative;z-index:2;min-height:700px;display:grid;grid-template-columns:1fr 1fr;align-items:center;padding-top:88px;padding-bottom:120px}
.ref-hero__copy{grid-column:2;max-width:540px;justify-self:end;text-align:right}
.ref-hero__copy h1{margin:0 0 22px;color:#fff;font-size:clamp(3rem,5.5vw,5.35rem);line-height:1.06;font-weight:800;letter-spacing:0!important;text-wrap:balance}
.ref-hero__copy h1 span{color:#dba25e;font-weight:800}
.ref-hero__copy>p{margin:0 0 28px;color:rgba(255,255,255,.92);font-size:1.08rem;line-height:1.95;max-width:510px}
.ref-hero__actions{display:flex;gap:13px;align-items:center;justify-content:flex-start;margin-bottom:28px}
.ref-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 23px;border-radius:10px;font-weight:800;font-size:.9rem;text-decoration:none!important;transition:transform .2s ease,box-shadow .2s ease}
.ref-btn:hover{transform:translateY(-1px)}
.ref-btn--gold{background:linear-gradient(135deg,#d9aa65,#c28b45);color:#fff!important;box-shadow:0 9px 24px rgba(201,150,79,.24)}
.ref-btn--ghost{color:#fff!important;border:1px solid rgba(255,255,255,.72);background:rgba(5,53,59,.26);backdrop-filter:blur(8px)}
.ref-google-badge{width:max-content;max-width:100%;display:flex;align-items:center;gap:9px;background:#fff;color:#172f37;border-radius:999px;padding:10px 17px;box-shadow:0 10px 28px rgba(0,0,0,.14);direction:ltr;font-size:.75rem}
.ref-google-badge img{width:22px;height:22px}
.ref-google-badge strong{font-size:.78rem;color:#4d5960}
.ref-google-badge>span:not(.ref-stars){font-weight:800;color:#49565d}
.ref-stars{color:#e6a436;letter-spacing:.05em;font-size:.93rem}
.ref-google-badge small{color:#7c858a;font-size:.66rem}

/* Floating benefit strip */
.ref-benefits{position:absolute;z-index:4;left:50%;bottom:28px;transform:translateX(-50%);display:grid;grid-template-columns:repeat(4,1fr);background:rgba(255,255,255,.97);border:1px solid rgba(255,255,255,.88);border-radius:16px;box-shadow:0 20px 55px rgba(0,0,0,.16);overflow:hidden;color:var(--ref-ink)}
.ref-benefit{display:flex;gap:12px;align-items:center;min-height:86px;padding:15px 24px;border-inline-start:1px solid #ece7e0}
.ref-benefit:first-child{border-inline-start:0}
.ref-icon{width:40px;height:40px;flex:0 0 40px;border:1px solid #d9d4cd;border-radius:50%;display:grid;place-items:center;color:var(--ref-teal);font-size:1rem;background:#fff}
.ref-benefit div{display:grid;gap:3px}
.ref-benefit strong{font-size:.78rem;color:var(--ref-ink)}
.ref-benefit small{font-size:.66rem;color:var(--ref-muted);line-height:1.5}

/* Sections */
.ref-section{padding:74px 0;background:#fff}
.ref-section-title{text-align:center;margin-bottom:34px}
.ref-section-title h2{margin:0;color:var(--ref-ink);font-size:2.05rem;line-height:1.25;font-weight:800;letter-spacing:0!important}
.ref-section-title span{display:block;width:38px;height:2px;background:#d7a15e;margin:12px auto 0}

/* Main services exactly four cards */
.ref-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;direction:rtl}
.ref-service-card{background:#fff;border:1px solid #ece5dd;border-radius:12px;overflow:hidden;box-shadow:0 10px 30px rgba(35,56,62,.035);transition:transform .2s ease,box-shadow .2s ease}
.ref-service-card:hover{transform:translateY(-3px);box-shadow:var(--ref-shadow)}
.ref-service-card__image{display:block;aspect-ratio:1.22/1;overflow:hidden;background:#f2ede7}
.ref-service-card__image img{width:100%;height:100%;object-fit:cover!important;object-position:center!important;transform:none!important;transition:none!important}
.ref-service-card__body{padding:18px 17px 19px;text-align:center}
.ref-service-card__body h3{margin:0 0 9px;color:var(--ref-ink);font-size:1.08rem;font-weight:800;letter-spacing:0!important}
.ref-service-card__body p{margin:0 0 15px;min-height:55px;color:#66767b;font-size:.76rem;line-height:1.75}
.ref-service-card__body>a{display:inline-flex;align-items:center;gap:5px;color:#0a5760;font-size:.76rem;font-weight:800;text-decoration:none;border-bottom:1px solid transparent}
.ref-service-card__body>a:hover{border-bottom-color:#0a5760}

/* Journey */
.ref-journey{padding-top:44px;padding-bottom:78px;background:#fff}
.ref-journey-grid{position:relative;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,1fr);gap:20px;list-style:none;direction:rtl}
.ref-journey-grid::before{content:"";position:absolute;top:26px;right:7%;left:7%;height:1px;background:#e7dfd5;z-index:0}
.ref-journey-grid li{position:relative;z-index:1;text-align:center;padding:0 7px}
.ref-step-icon{width:54px;height:54px;margin:0 auto 14px;border-radius:50%;border:1px solid #e1d9d0;background:#fff;display:grid;place-items:center;color:#0c5962;font-weight:800;box-shadow:0 5px 18px rgba(30,57,65,.05)}
.ref-journey-grid h3{margin:0 0 8px;color:var(--ref-ink);font-size:.86rem;font-weight:800;letter-spacing:0!important}
.ref-journey-grid p{margin:0;color:#69777d;font-size:.68rem;line-height:1.75}

/* Why us */
.ref-why{background:#fff;padding-top:48px;padding-bottom:86px}
.ref-why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.ref-why-grid article{min-height:138px;padding:24px 20px;text-align:center;border:1px solid #ece5dd;border-radius:10px;background:#fff}
.ref-why-grid article>span{width:42px;height:42px;margin:0 auto 10px;border-radius:50%;display:grid;place-items:center;color:#0c5962;font-size:1.05rem;border:1px solid #e3ddd5;background:#fbfaf8}
.ref-why-grid h3{margin:0 0 7px;color:var(--ref-ink);font-size:.88rem;font-weight:800;letter-spacing:0!important}
.ref-why-grid p{margin:0;color:#6f7b80;font-size:.68rem;line-height:1.7}

/* Clinic CTA */
.ref-clinic{padding:68px 0;background:linear-gradient(180deg,#f5eee7,#f7f2ec)}
.ref-clinic__grid{display:grid;grid-template-columns:1.25fr .8fr;gap:58px;align-items:center;direction:ltr}
.ref-clinic__image{margin:0;border-radius:14px;overflow:hidden;box-shadow:0 18px 45px rgba(38,57,62,.10);aspect-ratio:1.62/1;background:#ece6df}
.ref-clinic__image img{width:100%;height:100%;object-fit:cover!important;object-position:center!important;transform:none!important}
.ref-clinic__copy{direction:rtl;text-align:right;max-width:440px;justify-self:end}
.ref-kicker{margin:0 0 8px;color:#c5904f;font-size:.72rem;font-weight:800}
.ref-clinic__copy h2{margin:0 0 13px;color:var(--ref-ink);font-size:2.15rem;line-height:1.25;font-weight:800;letter-spacing:0!important}
.ref-clinic__copy>p:not(.ref-kicker){margin:0 0 24px;color:#6c797e;font-size:.86rem;line-height:1.9}

/* Footer matching the reference */
.site-footer{background:linear-gradient(135deg,#063f48,#0b5960)!important;color:#fff!important;padding-top:42px!important;border:0!important}
.site-footer .footer-cta{display:none!important}
.site-footer .footer-grid{display:grid!important;grid-template-columns:1.35fr 1fr 1fr 1fr!important;gap:50px!important;padding-top:0!important;padding-bottom:34px!important}
.site-footer .footer-brand img{width:110px!important;height:auto!important;filter:none!important;margin-bottom:12px!important}
.site-footer .footer-brand p,.site-footer .footer-grid p{color:rgba(255,255,255,.78)!important;font-size:.72rem!important;line-height:1.8!important}
.site-footer .footer-grid h3{color:#fff!important;font-size:.8rem!important;margin:0 0 13px!important}
.site-footer .footer-grid a{display:block!important;color:rgba(255,255,255,.85)!important;font-size:.72rem!important;line-height:2!important;text-decoration:none!important}
.site-footer .footer-grid a:hover{color:#e7bc7c!important}
.site-footer .footer-legal{border-top:1px solid rgba(255,255,255,.10)!important;min-height:50px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:14px 0!important;text-align:center!important}
.site-footer .footer-legal nav,.site-footer .footer-legal>p:last-child{display:none!important}
.site-footer .footer-legal p{color:rgba(255,255,255,.68)!important;font-size:.65rem!important;margin:0!important}
.floating-whatsapp{background:#1fbf66!important}

@media(max-width:1050px){
  .ref-hero{min-height:720px}
  .ref-hero__content{min-height:640px;grid-template-columns:.88fr 1.12fr}
  .ref-hero__copy h1{font-size:clamp(2.8rem,5.2vw,4.6rem)}
  .ref-benefit{padding:14px 15px}
  .ref-service-card__body p{min-height:74px}
}

@media(max-width:900px){
  body.home .site-header{position:absolute!important}
  .ref-hero{min-height:auto;padding-bottom:112px}
  .ref-hero__media{position:relative;aspect-ratio:1672/941;height:auto}
  .ref-hero__media::after{background:linear-gradient(180deg,rgba(4,44,51,.04) 0%,rgba(4,44,51,.08) 55%,rgba(4,44,51,.82) 100%)}
  .ref-hero__media img{position:absolute;inset:0;object-fit:contain!important;background:#073f47}
  .ref-hero__content{min-height:0;display:block;margin-top:-1px;padding:26px 20px 90px;background:#073f47}
  .ref-hero__copy{max-width:680px;margin:0 auto;text-align:center}
  .ref-hero__copy h1{font-size:3rem}
  .ref-hero__copy>p{margin-inline:auto}
  .ref-hero__actions{justify-content:center}
  .ref-google-badge{margin-inline:auto}
  .ref-benefits{bottom:24px;grid-template-columns:repeat(2,1fr);width:min(92%,720px)}
  .ref-benefit{min-height:70px}
  .ref-service-grid{grid-template-columns:repeat(2,1fr)}
  .ref-journey-grid{grid-template-columns:repeat(3,1fr);gap:28px 16px}
  .ref-journey-grid::before{display:none}
  .ref-why-grid{grid-template-columns:repeat(2,1fr)}
  .ref-clinic__grid{grid-template-columns:1fr;gap:28px;direction:rtl}
  .ref-clinic__copy{justify-self:stretch;max-width:none;text-align:center}
  .site-footer .footer-grid{grid-template-columns:repeat(2,1fr)!important}
}

@media(max-width:560px){
  .ref-home .shell{width:min(100% - 26px,1180px)}
  .ref-hero{padding-bottom:150px}
  .ref-hero__content{padding:22px 15px 96px}
  .ref-hero__copy h1{font-size:2.35rem;line-height:1.13}
  .ref-hero__copy>p{font-size:.89rem;line-height:1.8}
  .ref-hero__actions{flex-direction:column;align-items:stretch}
  .ref-btn{width:100%}
  .ref-google-badge{font-size:.65rem;padding:9px 12px;gap:7px}
  .ref-google-badge small{display:none}
  .ref-benefits{grid-template-columns:1fr 1fr;width:calc(100% - 26px);bottom:18px;border-radius:13px}
  .ref-benefit{padding:12px 10px;gap:8px;min-height:72px}
  .ref-icon{width:34px;height:34px;flex-basis:34px}
  .ref-benefit strong{font-size:.68rem}.ref-benefit small{font-size:.58rem}
  .ref-section{padding:54px 0}
  .ref-section-title h2{font-size:1.65rem}
  .ref-service-grid{grid-template-columns:1fr;gap:16px}
  .ref-service-card__image{aspect-ratio:1.45/1}
  .ref-service-card__body p{min-height:0}
  .ref-journey-grid{grid-template-columns:repeat(2,1fr)}
  .ref-step-icon{width:48px;height:48px}
  .ref-why-grid{grid-template-columns:1fr}
  .ref-clinic{padding:50px 0}
  .ref-clinic__copy h2{font-size:1.75rem}
  .site-footer .footer-grid{grid-template-columns:1fr!important;gap:24px!important;text-align:center!important}
  .site-footer .footer-brand img{margin-inline:auto!important}
}
