/* Lower homepage, 2026-11-04 approved design: "Why choose AlameinGo", "Make it special", "Partner with us",
   and the homepage footer's colours. Only the nine approved colours:
   Dark Navy #071827, Deep Navy #0B2239, Card Navy #102C46, Electric Blue #007BFF, Royal Blue #0056D6,
   Gold #E8B65C, Light Gold #F4D28B, White #FFFFFF, Soft Gray #B8C7D5 (plus transparent tints of them).
   Everything is scoped to .hl-* classes and body[data-route="home"], so no other page changes. */
.hl-why,.hl-special,.hl-partner{--hl-navy:#071827;--hl-deep:#0B2239;--hl-card:#102C46;--hl-blue:#007BFF;--hl-royal:#0056D6;
  --hl-gold:#E8B65C;--hl-gold-l:#F4D28B;--hl-white:#FFFFFF;--hl-grey:#B8C7D5;--hl-line:rgba(184,199,213,.24);
  --hl-serif:"Playfair Display",var(--hm-serif,Georgia),serif;--hl-pad:clamp(16px,4.2vw,64px)}
:root[lang="ar"] .hl-why,:root[lang="ar"] .hl-special,:root[lang="ar"] .hl-partner{--hl-serif:var(--display)}
.hl-why *,.hl-special *,.hl-partner *{box-sizing:border-box}

/* shared: eyebrow, lede, gold button */
.hl-eyebrow{margin:0 0 12px;font:700 max(13px,.8rem)/1.2 var(--body);letter-spacing:.22em;text-transform:uppercase;color:var(--hl-gold)}
:root[lang="ar"] .hl-eyebrow{letter-spacing:0;font-size:max(14px,.92rem)}
.hl-eyebrow-rule{display:flex;align-items:center;gap:14px}
.hl-eyebrow-rule::before{content:'';width:28px;height:2px;background:var(--hl-gold);flex:none}
.hl-eyebrow-under::after{content:'';display:block;width:56px;height:3px;margin-top:12px;background:var(--hl-gold);border-radius:2px}
.hl-lede{margin:0 0 22px;font-size:clamp(1rem,1.1vw,1.1rem);line-height:1.5}
.hl-btn-gold{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 28px;border:0;border-radius:999px;cursor:pointer;
  font:700 1.02rem/1 var(--body);color:var(--hl-navy);text-decoration:none;
  background:linear-gradient(180deg,var(--hl-gold-l) 0%,var(--hl-gold) 100%);
  box-shadow:0 8px 22px rgba(232,182,92,.28);transition:transform .2s ease,box-shadow .2s ease,filter .2s ease}
.hl-btn-gold:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(232,182,92,.38);filter:saturate(1.08)}
.hl-btn-gold:focus-visible{outline:3px solid var(--hl-blue);outline-offset:3px}
.hl-btn-gold:active{transform:translateY(0)}
.hl-btn-lg{min-height:54px;padding:0 34px;font-size:1.08rem}

/* 1. Why choose: coastal photo under a navy gradient, the four benefits on a glass panel */
.hl-why{position:relative;color:var(--hl-white);overflow:hidden;
  background:var(--hl-navy) url('/img/home/hero-coast-1440.webp') 80% 45%/cover no-repeat;
  background-image:image-set(url('/img/home/hero-coast-1440.webp') 1x,url('/img/home/hero-coast-2880.webp') 2x)}
.hl-why::before{content:'';position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(7,24,39,.94) 0%,rgba(7,24,39,.78) 32%,rgba(11,34,57,.35) 70%,rgba(11,34,57,.12) 100%),
    linear-gradient(0deg,rgba(7,24,39,.45) 0%,rgba(7,24,39,0) 40%)}
:root[dir="rtl"] .hl-why::before{background:linear-gradient(270deg,rgba(7,24,39,.94) 0%,rgba(7,24,39,.78) 32%,rgba(11,34,57,.35) 70%,rgba(11,34,57,.12) 100%),
    linear-gradient(0deg,rgba(7,24,39,.45) 0%,rgba(7,24,39,0) 40%)}
.hl-why-inner{position:relative;max-width:1440px;margin-inline:auto;padding:clamp(32px,3.4vw,48px) var(--hl-pad);
  display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.6fr);gap:28px clamp(24px,3vw,48px);align-items:center}
.hl-why-copy h2{margin:0;font-family:var(--hl-serif);font-weight:700;font-size:clamp(1.9rem,2.9vw,2.75rem);line-height:1.12;color:var(--hl-white)}
.hl-why-copy h2 em{font-style:normal;color:var(--hl-gold)}
.hl-why-grid{list-style:none;margin:0;padding:22px 8px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  background:rgba(16,44,70,.78);border:1px solid var(--hl-line);border-radius:20px;
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 18px 40px rgba(7,24,39,.35)}
.hl-why-grid li{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:4px clamp(10px,1.2vw,20px)}
.hl-why-grid li+li{border-inline-start:1px solid var(--hl-line)}
.hl-ico{display:grid;place-items:center;width:54px;height:54px;margin-bottom:6px;border-radius:50%;color:var(--hl-gold);
  background:var(--hl-deep);border:1px solid rgba(232,182,92,.45);transition:transform .25s ease,background .25s ease}
.hl-ico svg{width:28px;height:28px}
.hl-why-grid li:hover .hl-ico{transform:translateY(-3px);background:var(--hl-card)}
.hl-why-grid b{font-size:clamp(1.02rem,1.15vw,1.16rem);line-height:1.25;color:var(--hl-white)}
.hl-why-grid li>span:not(.hl-ico){font-size:max(14px,.92rem);line-height:1.45;color:var(--hl-grey)}

/* 2. Make it special: light band, copy beside three photo cards with a navy caption panel */
.hl-special{background:var(--hl-white);color:var(--hl-navy)}
.hl-special-inner{max-width:1440px;margin-inline:auto;padding:clamp(32px,3.2vw,48px) var(--hl-pad);
  display:grid;grid-template-columns:minmax(220px,.62fr) minmax(0,2fr);gap:28px clamp(24px,2.6vw,40px);align-items:center}
.hl-special .hl-eyebrow{color:var(--hl-navy)}
.hl-special-copy h2{margin:0 0 12px;font-family:var(--hl-serif);font-weight:700;font-size:clamp(1.8rem,2.6vw,2.5rem);line-height:1.12;color:var(--hl-navy)}
.hl-special .hl-lede{color:var(--hl-card)}
.hl-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,1.4vw,20px)}
.hl-card{position:relative;display:block;width:100%;aspect-ratio:3/2;padding:0;border:0;border-radius:18px;overflow:hidden;cursor:pointer;
  background:var(--hl-card);color:var(--hl-white);text-decoration:none;text-align:start;font:inherit;
  box-shadow:0 10px 26px rgba(7,24,39,.16);transition:transform .25s ease,box-shadow .25s ease}
.hl-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.hl-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(7,24,39,.24)}
.hl-card:hover img{transform:scale(1.04)}
.hl-card:focus-visible{outline:3px solid var(--hl-blue);outline-offset:3px}
.hl-card-body{position:absolute;inset-inline:0;bottom:0;display:flex;align-items:center;gap:14px;padding:14px 18px;min-height:40%;
  background:linear-gradient(180deg,rgba(11,34,57,.78) 0%,rgba(7,24,39,.92) 100%);border-top:1px solid var(--hl-line)}
.hl-card-ico{flex:none;width:34px;height:34px;color:var(--hl-gold-l)}
.hl-card-ico svg{width:100%;height:100%}
.hl-card-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.hl-card-text b{font-size:clamp(1.05rem,1.25vw,1.22rem);line-height:1.2;color:var(--hl-white)}
.hl-card-text small{font-size:max(13.5px,.88rem);line-height:1.35;color:var(--hl-grey)}

/* 3. Partner with us: photo on the start side cut on a diagonal, navy content on the end side */
.hl-partner{position:relative;display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);min-height:clamp(220px,17vw,280px);
  background:linear-gradient(90deg,var(--hl-deep) 0%,var(--hl-navy) 100%);color:var(--hl-white);overflow:hidden}
:root[dir="rtl"] .hl-partner{background:linear-gradient(270deg,var(--hl-deep) 0%,var(--hl-navy) 100%)}
.hl-partner-photo{background:var(--hl-card) url('/img/home/partner-pool.webp') 60% 55%/cover no-repeat;
  clip-path:polygon(0 0,100% 0,82% 100%,0 100%);margin-inline-end:-12%}
:root[dir="rtl"] .hl-partner-photo{clip-path:polygon(0 0,100% 0,100% 100%,18% 100%)}
.hl-partner-content{position:relative;display:grid;grid-template-columns:minmax(0,1.5fr) auto;align-items:center;gap:clamp(20px,2.4vw,40px);
  padding:clamp(24px,2.4vw,34px) var(--hl-pad) clamp(24px,2.4vw,34px) clamp(40px,5.6vw,88px)}
:root[dir="rtl"] .hl-partner-content{padding:clamp(24px,2.4vw,34px) clamp(40px,5.6vw,88px) clamp(24px,2.4vw,34px) var(--hl-pad)}
.hl-partner h2{margin:0 0 10px;font-family:var(--hl-serif);font-weight:700;font-size:clamp(1.6rem,2.1vw,2.1rem);line-height:1.15;color:var(--hl-white)}
.hl-partner .hl-lede{color:var(--hl-grey);max-width:46ch}
.hl-partner-list{list-style:none;margin:0;padding:6px 0;padding-inline-start:clamp(20px,2.2vw,34px);border-inline-start:1px solid rgba(232,182,92,.6);
  display:flex;flex-direction:column;gap:16px}
.hl-partner-list li{position:relative;padding-inline-start:32px;font-size:clamp(1rem,1.05vw,1.08rem);line-height:1.35;color:var(--hl-white)}
.hl-partner-list li::before{content:'';position:absolute;inset-inline-start:0;top:.12em;width:20px;height:20px;background:var(--hl-gold);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center/contain no-repeat}

/* Homepage footer: same links, text and operator line; only the colours follow the navy design. */
body[data-route="home"] .site-footer{background:#071827;border-top:1px solid rgba(184,199,213,.18);color:#B8C7D5}
body[data-route="home"] .site-footer .footer-links a,body[data-route="home"] .site-footer .footer-help-links a{color:#FFFFFF}
body[data-route="home"] .site-footer .footer-links a:hover,body[data-route="home"] .site-footer .footer-help-links a:hover{color:#F4D28B}
body[data-route="home"] .site-footer .footer-links a:focus-visible,body[data-route="home"] .site-footer .footer-help-links a:focus-visible{outline:2px solid #F4D28B;outline-offset:3px}
body[data-route="home"] .site-footer .footer-help-title{color:#E8B65C}
body[data-route="home"] .site-footer .footer-bottom,body[data-route="home"] .site-footer .footer-help{border-color:rgba(184,199,213,.18)}
body[data-route="home"] .site-footer .footer-bottom span,body[data-route="home"] .site-footer .footer-brand-of{color:#B8C7D5}
body[data-route="home"] .site-footer .logo img.logo-mark:not(.logo-mark-light){display:none}
body[data-route="home"] .site-footer .logo img.logo-mark.logo-mark-light{display:block}

/* tablets */
@media (max-width:1100px){
  .hl-why-inner{grid-template-columns:minmax(0,1fr)}
  .hl-special-inner{grid-template-columns:minmax(0,1fr)}
  .hl-special-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;align-items:end}
  .hl-special-copy .hl-eyebrow,.hl-special-copy h2,.hl-special-copy .hl-lede{grid-column:1}
  .hl-special-copy .hl-btn-gold{grid-column:2;grid-row:1/4;align-self:end;margin-bottom:22px}
  .hl-partner{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr)}
  .hl-partner-content{grid-template-columns:minmax(0,1fr)}
  .hl-partner-list{border-inline-start:0;padding-inline-start:0;border-top:1px solid rgba(232,182,92,.6);padding-top:18px;gap:12px}
}
@media (max-width:860px){
  .hl-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hl-cards .hl-card:last-child{grid-column:1/-1;aspect-ratio:21/9}
  .hl-partner{grid-template-columns:minmax(0,1fr)}
  .hl-partner-photo,:root[dir="rtl"] .hl-partner-photo{min-height:clamp(180px,42vw,260px);margin:0;clip-path:polygon(0 0,100% 0,100% 86%,0 100%)}
  .hl-partner-content,:root[dir="rtl"] .hl-partner-content{padding:22px var(--hl-pad) 32px}
}
/* phones */
@media (max-width:640px){
  .hl-why-inner{padding-block:28px}
  .hl-why-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:18px;padding:18px 4px}
  .hl-why-grid li:nth-child(3){border-inline-start:0}
  .hl-why-grid li:nth-child(n+3){padding-top:18px;border-top:1px solid var(--hl-line)}
  .hl-special-copy{display:block}
  .hl-special-copy .hl-btn-gold{margin:0}
  .hl-cards{grid-template-columns:minmax(0,1fr)}
  .hl-cards .hl-card,.hl-cards .hl-card:last-child{aspect-ratio:16/9;grid-column:auto}
  .hl-partner .hl-btn-gold{width:100%;justify-content:center}
}
@media (prefers-reduced-motion:reduce){
  .hl-card,.hl-card img,.hl-btn-gold,.hl-ico{transition:none}
  .hl-card:hover,.hl-card:hover img,.hl-btn-gold:hover,.hl-why-grid li:hover .hl-ico{transform:none}
}
