/* Scoped homepage refinements: keep the shared pages and brand unchanged. */
.home-page .hero { min-height: auto; padding: 72px 0 48px; }
.home-page .hero-content { animation: none; }
.home-page .hero h1 { display: flex; justify-content: center; flex-wrap: wrap; column-gap: .22em; letter-spacing: normal; line-height: 1.4; }
.home-page .hero-accent-text { margin-inline-start: 0; }
.home-page .hero-badges-wrapper { margin-bottom: 24px; opacity: 1; transform: none; animation: none; }
.home-page .hero-badge { animation: none; }
.home-page .hero-buttons { margin-bottom: 36px; }
.home-page .hero-quote { background: #f6a54b; color: #14263f; box-shadow: 0 8px 28px #ed89364d; }
.home-page .hero-quote:hover { background: #ffba6b; color: #14263f; transform: translateY(-2px); }
.home-page .hero-quote::before { display: none; }
.home-page .hero-explore { background: transparent; border: 1px solid #ffffff60; box-shadow: none; }
.home-page .nav-login-mobile { display: none; }
.home-page .hero a:focus-visible, .home-page .hero button:focus-visible, .home-page .ticker-viewport:focus-visible { outline: 3px solid #f6ad55; outline-offset: 3px; }

.home-announcements { width: 100%; max-width: 1140px; margin-inline: auto; text-align: start; }
.home-announcements[hidden] { display: none; }
.announcement-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.announcement-toolbar h2 { display: flex; align-items: center; gap: 8px; font: 600 .9rem 'Cairo', sans-serif; margin: 0; color: #e2e8f0; }
.announcement-toolbar h2 i { color: #f6ad55; }
.announcement-motion { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; background: #ffffff0d; border: 1px solid #ffffff38; border-radius: 8px; color: #e2e8f0; padding: 6px 12px; font: 400 .8rem 'Cairo', sans-serif; cursor: pointer; }
.announcement-motion:disabled { opacity: .6; cursor: default; }
.announcement-tickers { display: grid; gap: 10px; }
.announcement-ticker { border: 1px solid #ffffff24; border-radius: 10px; background: #ffffff07; overflow: hidden; }
.announcement-ticker[data-ticker="2"] { background: #ed89360a; border-color: #f6ad5533; }
.ticker-viewport { overflow: hidden; direction: ltr; }
.ticker-track { display: flex; width: max-content; animation: homeTicker var(--ticker-duration, 60s) linear infinite; }
.announcement-ticker[data-direction="right"] .ticker-track { animation-direction: reverse; }
.ticker-group { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-around; list-style: none; margin: 0; padding: 0; }
.ticker-item { display: flex; flex: 0 0 auto; align-items: center; gap: 24px; padding: 14px 24px; }
.ticker-item::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #f6ad55; flex: 0 0 auto; }
.ticker-copy { display: inline-flex; align-items: baseline; gap: 14px; white-space: nowrap; text-decoration: none; color: #cbd5e1; font-size: .85rem; line-height: 1.8; font-weight: 400; }
.ticker-copy strong { font-weight: 700; color: #fff; }
a.ticker-copy:hover strong { color: #f6ad55; text-decoration: underline; }
.home-announcements:hover .ticker-track { animation-play-state: paused; }
.home-announcements[data-paused="true"] .ticker-viewport, .ticker-viewport:focus, .ticker-viewport:has(.ticker-group:not(.ticker-duplicate):focus-within) { overflow-x: auto; }
.home-announcements[data-paused="true"] .ticker-track, .ticker-viewport:focus .ticker-track, .ticker-viewport:has(.ticker-group:not(.ticker-duplicate):focus-within) .ticker-track { animation: none; }
.home-announcements[data-paused="true"] .ticker-duplicate, .ticker-viewport:focus .ticker-duplicate, .ticker-viewport:has(.ticker-group:not(.ticker-duplicate):focus-within) .ticker-duplicate { display: none; }
@keyframes homeTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.home-page .services-grid { gap: 24px; }
.home-page .service-card { min-height: 0; border-radius: 18px; }
.home-page .service-card::before { display: none; }
.home-page .service-visual { height: 180px; flex: 0 0 180px; }
.home-page .service-content { padding: 24px 24px 20px; gap: 12px; align-items: stretch; text-align: start; }
.home-page .service-content h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.5; min-height: 3em; text-align: start; }
.home-page .service-content > p { max-width: none; margin: 0; color: #c4cfdf; font-size: .94rem; font-weight: 400; line-height: 1.8; text-align: start; height: 3.6em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.home-page .service-highlights { padding: 12px 0 0; margin: 0; display: grid; gap: 8px; list-style: none; }
.home-page .service-highlights li { display: flex; align-items: baseline; gap: 10px; color: #dbe4f0; font-size: .88rem; font-weight: 400; line-height: 1.6; }
.home-page .service-highlights i { color: #f6ad55; font-size: .7rem; }
.home-page .service-footer { margin-top: auto; padding: 0 24px 24px; min-height: 0; border: 0; }
.home-page .service-btn { width: 100%; min-width: 0; min-height: 48px; border: 1px solid #7596bd66; font-weight: 600; font-size: .95rem; justify-content: center; }
.home-page .service-btn:focus-visible { outline-color: #f6ad55; }
@media (max-width: 1024px) {
    body.home-page { padding-top: var(--navbar-height, 65px); }
    .home-page .navbar, .home-page .navbar.scrolled { padding: 8px 0; }
    .home-page .nav-container { gap: 8px; flex-wrap: nowrap; min-height: 48px; padding-inline: 16px; }
    .home-page .navbar .logo { font-size: 1.1rem; gap: 5px; flex-shrink: 0; }
    .home-page .navbar .logo-icon { width: 32px; height: 32px; font-size: .9rem; border-radius: 9px; }
    .home-page .nav-toggle { display: flex; order: 3; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
    .home-page .nav-actions { margin-inline-start: auto; flex-wrap: nowrap; }
    .home-page .nav-actions > .cta-btn { display: none; }
    .home-page .i18n-switcher__button { font-size: .78rem; min-height: 44px; padding: 6px 8px; gap: 4px; white-space: nowrap; }
    .home-page .nav-links { display: flex; position: fixed; flex-direction: column; right: 0; left: 0; top: var(--navbar-height, 65px); margin: 0; padding: 0 20px; gap: 0; background: #fff; border-radius: 0 0 16px 16px; box-shadow: 0 10px 30px #0002; visibility: hidden; max-height: 0; overflow: hidden; opacity: 0; }
    .home-page .nav-links.open { visibility: visible; opacity: 1; padding-block: 12px; max-height: calc(100dvh - var(--navbar-height, 65px)); overflow-y: auto; }
    .home-page .nav-links li { width: 100%; border-bottom: 1px solid #0000000f; }
    .home-page .nav-links li:last-child { border-bottom: 0; }
    .home-page .nav-links a { display: block; padding: 12px 16px; min-height: 44px; }
    .home-page .nav-login-mobile { display: block; }
    .home-page .nav-links .nav-login-mobile a { color: #a94708; display: flex; align-items: center; gap: 8px; }
}
@media (max-width: 768px) {
    .home-page .hero { padding: 32px 0 36px; }
    .home-page .hero-content { padding-inline: 16px; }
    .home-page .hero-badges-wrapper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; width: 100%; max-width: 430px; margin: 0 auto 24px; border: 1px solid #ffffff24; border-radius: 12px; padding: 10px 0; background: #ffffff05; }
    .home-page .hero-badge { display: flex; flex-direction: column; justify-content: center; gap: 4px; border: 0; border-radius: 0; border-inline-end: 1px solid #ffffff24; padding: 0 6px; font-size: .66rem; font-weight: 500; line-height: 1.5; background: none; box-shadow: none; backdrop-filter: none; }
    .home-page .hero-badge:last-child { border-inline-end: 0; }
    .home-page .hero-badge:hover { transform: none; }
    .home-page .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); margin-bottom: 14px; line-height: 1.5; }
    .home-page .hero-subtitle { font-size: 1rem; line-height: 1.9; margin-bottom: 24px; }
    .home-page .hero-buttons { gap: 10px; margin-bottom: 28px; }
    .home-page .hero-buttons a { min-height: 52px; font-size: 1rem; padding: 12px 20px; }
    .announcement-toolbar { margin-bottom: 8px; }
    .ticker-item { padding: 12px 18px; }
    .ticker-copy { font-size: .8rem; }
    .home-page .service-content { padding: 20px; }
    .home-page .service-content h3 { min-height: auto; font-size: 1.3rem; }
    .home-page .service-footer { padding: 0 20px 20px; }
}
@media (max-width: 360px) {
    .home-page .navbar .logo { font-size: 1rem; }
    .home-page .navbar .logo-icon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .home-page .ticker-track { animation: none; }
    .home-page .ticker-duplicate { display: none; }
    .home-page .ticker-viewport { overflow-x: auto; }
}
