/* icealex home refresh (Nov 2026): animated hero logo, richer programme banners, compact mobile footer */

/* 1. Hero: animated logo */
.hero h1.hero-logo { margin: 0 0 var(--sp-6); max-width: none; line-height: 0; }
.hero-logo .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lgA { display: block; width: min(440px, 78vw); height: auto; overflow: visible; margin-inline-start: -8px; }
.lgA-ice { fill: #28b6ea; }
.lgA-alex { fill: #fff; }
.lgA-d { fill: #28b6ea; transform-box: fill-box; transform-origin: center; }
.lgA-l { opacity: 0; transform: translateY(18px); animation: lgA-rise .7s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(.15s + var(--i) * .07s); }
.lgA-d { opacity: 0; transform: scale(0); animation: lgA-pop .55s cubic-bezier(.3,1.6,.5,1) forwards, lgA-twinkle 3.6s ease-in-out infinite; animation-delay: calc(.75s + var(--k) * .11s), calc(2.4s + var(--t) * .37s); }
@keyframes lgA-rise { to { opacity: 1; transform: none; } }
@keyframes lgA-pop { to { opacity: 1; transform: scale(1); } }
@keyframes lgA-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.hero { isolation: isolate; }
.hero-inner::before { content: ''; position: absolute; z-index: -1; width: 520px; height: 520px; inset-inline-start: 120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(40,182,234,.22) 0%, rgba(40,182,234,0) 65%); filter: blur(6px); animation: lgA-glow 7s ease-in-out infinite; pointer-events: none; }
.hero-inner::after { content: ''; position: absolute; z-index: -1; inset: -60px -20px -60px auto; width: 46%; background-image: radial-gradient(rgba(255,255,255,.16) 1.4px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, transparent 68%); mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, transparent 68%); pointer-events: none; }
[dir="rtl"] .hero-inner::after { inset: -60px auto -60px -20px; }
@keyframes lgA-glow { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.12); opacity: .6; } }
.hero .hero-eyebrow, .hero .lead, .hero .lead + p, .hero .hero-actions { opacity: 0; animation: lgA-rise .7s ease-out forwards; }
.hero .hero-eyebrow { animation-delay: 0s; }
.hero .lead { animation-delay: 1.2s; transform: translateY(12px); }
.hero .lead + p { animation-delay: 1.4s; transform: translateY(12px); }
.hero .hero-actions { animation-delay: 1.6s; transform: translateY(12px); }
@media (max-width: 768px) {
  .lgA { width: min(300px, 76vw); margin-inline-start: -5px; }
  .hero-inner::before { width: 340px; height: 340px; inset-inline-start: 20px; top: -90px; }
  .hero-inner::after { width: 70%; opacity: .7; }
}
@media (prefers-reduced-motion: reduce) {
  .lgA-l, .lgA-d, .hero .hero-eyebrow, .hero .lead, .hero .lead + p, .hero .hero-actions { animation: none; opacity: 1; transform: none; }
  .hero-inner::before { animation: none; }
}

/* 2. Programme cards: richer banner behind the logo */
.program-card-rich > a > div:first-child { overflow: hidden; isolation: isolate; }
.program-card-rich > a > div:first-child::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,.22) 0, rgba(255,255,255,0) 34%),
    radial-gradient(rgba(255,255,255,.2) 1.3px, transparent 1.5px);
  background-size: auto, 18px 18px;
  -webkit-mask-image: linear-gradient(105deg, transparent 22%, #000 78%); mask-image: linear-gradient(105deg, transparent 22%, #000 78%); }
.program-card-rich > a > div:first-child::after { content: ''; position: absolute; z-index: 0; pointer-events: none; width: 230px; height: 230px; right: -70px; bottom: -120px; border-radius: 50%;
  border: 26px solid rgba(255,255,255,.09); box-shadow: 0 0 0 26px rgba(255,255,255,.05), 0 0 0 58px rgba(255,255,255,.03); transition: transform .5s ease; }
[dir="rtl"] .program-card-rich > a > div:first-child::before { transform: scaleX(-1); }
[dir="rtl"] .program-card-rich > a > div:first-child::after { right: auto; left: -70px; }
.program-card-rich:hover > a > div:first-child::after { transform: scale(1.08); }

/* 3. Footer: compact, columned layout on phones and small tablets */
@media (max-width: 768px) {
  .site-footer { padding-top: var(--sp-10); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6) var(--sp-5); padding-bottom: var(--sp-6); }
  .footer-grid > .footer-brand { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2) var(--sp-4); }
  .footer-brand .footer-logo img { margin-bottom: 0; }
  .footer-brand .footer-tagline { order: 3; flex-basis: 100%; margin: 0; font-size: 12px; }
  .footer-brand .footer-contact { margin: 0; }
  .footer-col h4 { margin-bottom: var(--sp-3); font-size: 11px; }
  .footer-col ul li { margin-bottom: 9px; }
  .footer-col ul li a { font-size: 13.5px; }
  .footer-grid > .footer-col:last-child { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); border-top: 1px solid rgba(255,255,255,.1); padding-top: var(--sp-5); }
  .footer-grid > .footer-col:last-child h4 { margin: 0; }
  .footer-grid > .footer-col:last-child ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
  .footer-grid > .footer-col:last-child ul li { margin: 0; }
  .footer-grid > .footer-col:last-child ul li a { display: inline-block; padding: 6px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 100px; font-size: 12.5px; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; padding: var(--sp-4) 0; font-size: 12px; }
}

/* 4. Call-to-action band: keep the two buttons together, note underneath */
.cta-band .cta-actions { flex-wrap: wrap; justify-content: center; }
.cta-band .cta-actions > p { order: 3; flex-basis: 100%; margin-top: 4px !important; text-align: center; }

/* 5. icealex icon set: values and strategic pillars, drawn in the logo's dot language */
.ix-ic, .pillar-icon.ix-ic { width: 64px; height: 64px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; font-size: 0; color: #28b6ea; background: linear-gradient(135deg, #0a1628 0%, #15173f 100%); box-shadow: 0 10px 24px rgba(21,23,63,.22), inset 0 0 0 1px rgba(40,182,234,.28); position: relative; transition: transform .25s ease, box-shadow .25s ease; }
.ix-ic svg { width: 34px; height: 34px; display: block; overflow: visible; }
.ix-ic::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 30% 20%, rgba(40,182,234,.28), transparent 60%); pointer-events: none; }
.pillar-icon.ix-ic { margin-left: auto; margin-right: auto; margin-bottom: var(--sp-5); }
.ix-ic-sm { width: 52px; height: 52px; border-radius: 14px; margin-bottom: var(--sp-3); }
.ix-ic-sm svg { width: 28px; height: 28px; }
.ix-ic .ix-dot { transform-box: fill-box; transform-origin: center; }
.pillar-card:hover .ix-ic, a:hover > .ix-ic { transform: translateY(-3px) rotate(-3deg); box-shadow: 0 16px 30px rgba(21,23,63,.3), inset 0 0 0 1px rgba(40,182,234,.6); }
.pillar-card:hover .ix-dot, a:hover > .ix-ic .ix-dot { animation: ix-dot-pulse 1.1s ease-in-out infinite; }
.pillar-card:hover .ix-dot:nth-child(2n), a:hover > .ix-ic .ix-dot:nth-child(2n) { animation-delay: .25s; }
@keyframes ix-dot-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
@media (prefers-reduced-motion: reduce) { .ix-ic, .ix-ic .ix-dot { transition: none; animation: none !important; } }
