/* Homepage hero: a complete first screen, with space for the existing masthead. */
.hero {
    --masthead-height: 148px;
    --hero-height: calc(100svh - var(--masthead-height));
    background: var(--brand-navy);
    color: #fff;
    min-height: var(--hero-height);
}
.hero-slide { min-height: var(--hero-height); }
.hero-background {
    opacity: 1;
    filter: saturate(.65);
    background-position: center;
}
.hero-slide::after,
html[dir=ltr] .hero-slide::after {
    background: linear-gradient(90deg, #142748 0%, #142748f5 28%, #142748a6 50%, #14274812 78%, #14274812 100%);
}
html[dir=rtl] .hero-slide::after {
    background: linear-gradient(270deg, #142748 0%, #142748f5 28%, #142748a6 50%, #14274812 78%, #14274812 100%);
}
html[dir=rtl] .hero-photo .hero-background { transform: scaleX(-1); }
.hero-layout {
    min-height: var(--hero-height);
    grid-template-columns: 1.1fr .9fr;
    gap: 42px;
    padding-block: clamp(42px, 7vh, 92px) 112px;
}
.hero-copy { position: relative; max-width: 660px; z-index: 1; }
.hero-copy::before {
    content: '';
    display: block;
    width: 58px;
    height: 3px;
    background: #c69950;
    margin-bottom: 27px;
}
.hero-copy h1,
.hero-copy h2 {
    color: #fff;
    font-size: clamp(38px, 4.5vw, 68px);
    line-height: 1.2;
    letter-spacing: -.8px;
    max-width: 660px;
    text-wrap: balance;
}
html[lang=ar] .hero-copy h1,
html[lang=ar] .hero-copy h2 { font-size: clamp(35px, 4.1vw, 60px); line-height: 1.55; letter-spacing: 0; }
.hero-copy p { color: #e0e7f3; font-size: 16px; line-height: 1.95; max-width: 490px; margin-block: 24px 30px; }
.hero-action { min-height: 54px; padding: 15px 28px; gap: 34px; }
.hero-product .hero-background { opacity: .12; }
.hero-product::after,
html[dir=ltr] .hero-product::after,
html[dir=rtl] .hero-product::after { background: linear-gradient(110deg, #172b50ed, #243d69cc); }
.hero-visual { height: clamp(270px, 48vh, 530px); position: relative; isolation: isolate; margin: 0; }
.hero-visual::before { content: ''; position: absolute; width: min(91%, 48vh); aspect-ratio: 1; border-radius: 50%; background: #f3f5fa; z-index: -1; }
.hero-visual img { width: 88%; height: 96%; object-fit: contain; mix-blend-mode: normal; filter: drop-shadow(0 18px 22px #00000024); }
.slider-controls { bottom: 25px; padding-top: 19px; border-top: 1px solid #ffffff30; }
.slide-position { display: flex; align-items: center; gap: 30px; }
.slide-status { display: flex; align-items: baseline; gap: 12px; direction: ltr; font-size: 19px; line-height: 1; font-variant-numeric: tabular-nums; }
.slide-status-divider, .slide-total { color: #becae0; font-size: 12px; }
.slide-dots { gap: 5px; }
.slide-dots button { width: 28px; height: 32px; border-radius: 0; background: transparent; position: relative; }
.slide-dots button::after { content: ''; position: absolute; inset-inline: 0; top: 15px; height: 2px; background: #ffffff50; }
.slide-dots button[aria-pressed=true] { width: 42px; background: transparent; border-radius: 0; }
.slide-dots button[aria-pressed=true]::after { background: #d3ad70; }
.slide-arrows { gap: 10px; }
.slide-arrows button { width: 44px; height: 44px; border-radius: 50%; background: transparent; color: #fff; border-color: #ffffff70; transition: background .18s, border-color .18s; }
.slide-arrows button:hover { background: #fff; color: var(--brand-navy); border-color: #fff; }
.hero-fallback { color: #fff; }
@media (min-width: 1500px) {
    .hero-copy h1, .hero-copy h2 { font-size: 72px; }
}
@media (max-width: 1030px) {
    .hero { --masthead-height: 138px; }
    .hero-layout { gap: 28px; }
    .hero-copy h1, .hero-copy h2 { font-size: 42px; }
    .hero-copy p { font-size: 15px; }
    .hero-visual { height: 330px; }
}
@media (max-width: 720px) {
    .hero { --masthead-height: 125px; }
    .hero-layout { grid-template-columns: 1fr; align-content: center; gap: 24px; padding-block: 38px 100px; }
    .hero-photo .hero-layout { align-content: end; }
    .hero-photo .hero-background { background-position: 58% center; }
    .hero-slide::after, html[dir=ltr] .hero-slide::after, html[dir=rtl] .hero-slide::after {
        background: linear-gradient(0deg, #142748 0%, #142748f5 26%, #142748b3 58%, #14274829 100%);
    }
    .hero-copy { max-width: 520px; }
    .hero-copy::before { margin-bottom: 19px; width: 43px; }
    .hero-copy h1, .hero-copy h2 { font-size: clamp(32px, 7vw, 43px); line-height: 1.28; }
    html[lang=ar] .hero-copy h1, html[lang=ar] .hero-copy h2 { font-size: clamp(29px, 7vw, 38px); line-height: 1.5; }
    .hero-copy p { font-size: 13px; line-height: 1.9; margin-block: 17px 23px; max-width: 440px; }
    .hero-copy .hero-action { font-size: 13px; min-height: 48px; padding: 12px 23px; gap: 24px; }
    .hero-product .hero-layout { gap: 20px; }
    .hero-product .hero-background { opacity: .08; }
    .hero-visual { height: clamp(150px, 26svh, 240px); margin-top: 0; grid-row: 1; }
    .hero-visual::before { width: auto; height: 100%; }
    .hero-visual img { width: 75%; height: 100%; }
    .hero-product .hero-copy h2 { font-size: 27px; }
    .slider-controls { bottom: 18px; padding-top: 14px; }
    .slide-position { gap: 17px; }
    .slide-status { font-size: 17px; gap: 9px; }
    .slide-dots button { width: 18px; }
    .slide-dots button[aria-pressed=true] { width: 28px; }
    .slide-arrows { gap: 7px; }
    .slide-arrows button { width: 39px; height: 39px; }
}
@media (max-width: 380px) {
    .hero { --masthead-height: 117px; }
    .slide-position { gap: 12px; }
    .slide-dots { gap: 4px; }
    .slide-dots button { width: 15px; }
    .slide-dots button[aria-pressed=true] { width: 24px; }
}
@media (max-width: 720px) and (max-height: 740px) {
    .hero-product .hero-layout { padding-block: 24px 88px; gap: 12px; }
    .hero-product .hero-visual { height: clamp(105px, 20svh, 150px); }
    .hero-product .hero-copy::before { display: none; }
    .hero-product .hero-copy h2,
    html[lang=ar] .hero-product .hero-copy h2 { font-size: 24px; line-height: 1.35; }
    .hero-product .hero-copy p { font-size: 12px; line-height: 1.75; margin-block: 12px 18px; }
    .hero-product .hero-action { min-height: 44px; padding: 10px 21px; }
}
@media (prefers-reduced-motion: reduce) { .slide-arrows button { transition: none; } }
