/* Homepage content: consistent rhythm and clear section hierarchy. */
.page-hero .hero-highlight { display: block; color: #f3b75a; margin-top: .25rem; }
.page-hero .hero-subtitle { font-size: 1rem; line-height: 1.8; color: #d2dce8; max-width: 48ch; margin: 0 0 26px; text-wrap: pretty; }
.home-hero-actions .btn { border-radius: 10px; font-weight: 600; }
.page-hero .hero-search-card { box-shadow: 0 16px 36px rgba(0, 0, 0, .14); }
.hero-stats-section .hero-stats-shell { box-shadow: 0 8px 28px rgba(11, 32, 58, .06); }
.hero-stats-section .hero-stats-value { font-size: .95rem; line-height: 1.4; }
.home-content { --home-border: #e3e9ef; }
.home-content .home-section { padding-top: 64px; padding-bottom: 64px; margin-bottom: 0; }
.home-content > .row.mb-5 { margin-bottom: 0 !important; padding-bottom: 64px; }
.home-content .section-title { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.25; letter-spacing: -.025em; }
.home-eyebrow { display: block; color: #8b601f; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 700; margin-bottom: 12px; }
.home-intro-grid { display: grid; grid-template-columns: .95fr 1.2fr; gap: 48px; align-items: center; padding-bottom: 8px; }
.home-intro-grid .section-title { margin-bottom: 24px; max-width: 22ch; }
.home-prose p { font-size: .95rem; line-height: 1.85; color: #526174; }
.home-text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--secondary); font-size: .875rem; font-weight: 650; }
.home-text-link:hover { color: #9b681d; }
.home-content .service-card, .home-content .why-card { padding: 26px; border-color: var(--home-border); box-shadow: 0 4px 14px rgba(11, 32, 58, .025); }
.home-content .service-card { display: flex; flex-direction: column; }
.home-content .service-card h3 { font-size: 1rem; line-height: 1.4; margin-bottom: 10px !important; }
.home-content .service-card h3 a { color: var(--secondary); }
.home-content .service-card h3 a:hover { color: #9b681d; }
.home-content .service-card p, .home-content .why-card p { line-height: 1.75; color: #647184 !important; }
.home-content .service-icon, .home-content .why-icon { border-radius: 12px; margin-bottom: 18px; }
.home-content .why-card { box-shadow: none; }
.home-section-heading { text-align: center; margin: 56px 0 30px; }
.home-booking-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; list-style: none; counter-reset: booking; margin: 0; padding: 0; }
.home-booking-steps li { counter-increment: booking; padding-top: 18px; border-top: 2px solid var(--home-border); }
.home-booking-steps li::before { content: '0' counter(booking); display: inline-block; margin-bottom: 18px; color: #a4732d; font-size: .85rem; font-weight: 700; }
.home-booking-steps h3 { font-size: .9rem; font-weight: 700; line-height: 1.4; }
.home-booking-steps p { font-size: .85rem; line-height: 1.7; color: #647184; margin-bottom: 0; }
.home-content .home-faq { padding-top: 0; }
.home-faq-layout { display: grid; grid-template-columns: .8fr 1.4fr; gap: 56px; }
.home-faq-layout > div:first-child { padding-top: 12px; }
.home-faq-item { background: #fff; border: 1px solid var(--home-border); border-radius: 12px; margin-bottom: 12px; padding: 20px 22px; }
.home-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-size: .9rem; line-height: 1.5; }
.home-faq-item summary::-webkit-details-marker { display: none; }
.home-faq-item summary::after { content: '+'; color: #9b681d; font-weight: 400; font-size: 1.4rem; }
.home-faq-item[open] summary::after { content: '−'; }
.home-faq-item[open] { border-color: #d7b47a; }
.home-faq-item p { font-size: .875rem; line-height: 1.8; padding-top: 6px; }
.home-contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 56px; padding: 36px 40px; border-radius: 20px; background: #0b203a; color: #fff; }
.home-contact-panel > div:first-child { max-width: 540px; }
.home-contact-panel .home-eyebrow { color: #f3b75a; }
.home-contact-panel .section-title { color: #fff; }
.home-contact-panel p { color: #c6d2df; font-size: .875rem; line-height: 1.75; margin-bottom: 0; }
.home-contact-actions { flex-shrink: 0; flex-wrap: nowrap; max-width: none; }
.home-contact-actions .btn { padding: 10px 14px; border-radius: 9px; font-size: .8125rem; font-weight: 600; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.home-deal-fallback[hidden] { display: none; }
.home-content .home-deal-fallback { min-height: 190px; background: linear-gradient(135deg, #0b203a, #285577); color: #fff; }
@media (max-width: 991.98px) {
    .home-intro-grid, .home-faq-layout { grid-template-columns: 1fr; gap: 24px; }
    .home-intro-grid .section-title { max-width: none; margin-bottom: 16px; }
    .home-booking-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-contact-panel { flex-direction: column; align-items: flex-start; }
    .home-contact-actions { max-width: none; }
}
@media (max-width: 575.98px) {
    .home-content .home-section { padding-top: 40px; padding-bottom: 40px; }
    .home-content > .row.mb-5 { padding-bottom: 40px; }
    .home-content .home-faq { padding-top: 0; }
    .home-content .service-card, .home-content .why-card { padding: 22px; }
    .home-booking-steps { grid-template-columns: 1fr; gap: 16px; }
    .home-booking-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 0 12px; }
    .home-booking-steps li::before { grid-row: span 2; margin: 0; }
    .home-contact-panel { padding: 28px 24px; margin-top: 32px; padding-right: 24px; }
    .home-faq-item { padding: 16px; }
    .home-section-heading { margin-top: 36px; }
}
.home-hero-actions .btn-theme-primary,
.home-contact-actions .btn-theme-primary {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: var(--secondary);
}
.home-hero-actions .btn-theme-primary:hover,
.home-contact-actions .btn-theme-primary:hover { background: #f6c977; border-color: #f6c977; }
.home-text-link:focus-visible,
.home-faq-item summary:focus-visible { outline: 2px solid #a4732d; outline-offset: 5px; border-radius: 4px; }

.home-content .home-package-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px 44px;
    gap: 8px;
    align-items: stretch;
}
.home-content .home-package-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: .875rem;
    font-weight: 600;
    white-space: nowrap;
}
.home-content .home-package-actions .home-package-contact {
    padding: 0;
    font-size: 1.15rem;
}
/* Let the card width determine the thumbnail size, rather than its old fixed height. */
.home-content .pkg-card > a {
    display: block;
    width: 100%;
}
.home-content .pkg-card .pkg-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
}
.home-content .pkg-card .pkg-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-hero .hero-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin-bottom: 20px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #d2dce8;
    font-size: .8125rem;
    font-weight: 500;
    line-height: 1.5;
}
.page-hero .hero-badge i { color: #f3b75a; font-size: 1rem; flex-shrink: 0; }
.home-hero-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    line-height: 1.4;
}
.home-hero-actions .btn i { font-size: 1rem; flex-shrink: 0; }
.home-hero-actions .home-hero-quote {
    color: #f8fafc;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .4);
}
.home-hero-actions .home-hero-quote:hover {
    color: #fff;
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .7);
}
.home-hero-actions .btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.home-intro-image {
    margin: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 24px;
    background: #0b4363;
    box-shadow: 0 12px 32px rgba(11, 32, 58, .1);
}
.home-intro-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 88% center;
}
@media (max-width: 991.98px) {
    .home-intro-image { aspect-ratio: 16 / 10; }
    .home-intro-image img { object-position: right center; }
}

.home-about-grid {
    display: grid;
    grid-template-columns: 1.2fr .95fr;
    gap: 48px;
    align-items: center;
}
.home-about .section-title { margin-bottom: 24px; }
.home-about .section-title a { color: inherit; }
.home-about .section-title a:hover { color: #9b681d; }
.home-about-image {
    margin: 0;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 24px;
    background: #e3e9ef;
    box-shadow: 0 12px 32px rgba(11, 32, 58, .1);
}
.home-about-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% center;
}
@media (max-width: 991.98px) {
    .home-about-grid { grid-template-columns: 1fr; gap: 28px; }
    .home-about-image { aspect-ratio: 16 / 10; }
    .home-about-image img { object-position: center; }
}

.home-hero-actions { flex-wrap: nowrap; }
.home-hero-actions .btn { white-space: nowrap; padding: 12px 16px; font-size: .875rem; gap: 8px; }
@media (max-width: 575.98px) {
    .home-hero-actions .btn { padding: 10px 12px; font-size: .8125rem; gap: 6px; }
}
@media (max-width: 359.98px) {
    .home-hero-actions { gap: 6px !important; }
    .home-hero-actions .btn { padding: 10px 9px; font-size: .75rem; }
}

.home-content .service-card p { padding-bottom: 18px; }
.home-content .home-service-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 46px;
    margin-top: auto;
    padding: 10px 14px;
    border: 1px solid var(--secondary);
    border-radius: 10px;
    background: var(--secondary);
    color: #fff;
    font-size: .8125rem;
    font-weight: 650;
    box-shadow: 0 4px 10px rgba(11, 32, 58, .12);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.home-content .home-service-button i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(243, 183, 90, .14);
    color: var(--primary);
}
.home-content .home-service-button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--secondary);
}
.home-content .home-service-button:hover i {
    background: rgba(11, 32, 58, .09);
    color: var(--secondary);
}
.home-content .home-service-button:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    .home-content .home-service-button { transition: none; }
}
/* Document sections share the same content width and vertical rhythm. */
.home-content > .home-section:not(:first-child) { padding-top: 0; }
.home-umrah-overview, .home-booking-section { padding-bottom: 64px; }
.home-umrah-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr);
    align-items: stretch;
    gap: 36px;
    padding: 40px;
    border-radius: 24px;
    background: #0b203a;
    color: #fff;
}
.home-umrah-panel .home-eyebrow { color: #f3b75a; }
.home-umrah-panel .section-title { color: #fff; margin-bottom: 16px; }
.home-umrah-intro { color: #cbd7e5; font-size: .95rem; line-height: 1.8; margin-bottom: 24px; }
.home-umrah-tiers { display: grid; gap: 12px; }
.home-umrah-tier {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 16px;
    gap: 12px;
    align-items: start;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    background: #142e4b;
    color: #fff;
    transition: border-color .2s ease, background .2s ease;
}
.home-umrah-tier > i { color: #f3b75a; font-size: 1.2rem; }
.home-umrah-tier > i:last-child { font-size: .9rem; }
.home-umrah-tier h3 { font-size: .95rem; font-weight: 650; margin-bottom: 8px; }
.home-umrah-tier p { font-size: .8125rem; line-height: 1.75; color: #d0dbe8; margin: 0; }
.home-umrah-tier:hover { background: #1b3958; border-color: #f3b75a; color: #fff; }
.home-umrah-tier:focus-visible { outline: 3px solid #f3b75a; outline-offset: 3px; }
.home-umrah-image { min-width: 0; min-height: 380px; margin: 0; overflow: hidden; border-radius: 16px; }
.home-umrah-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 56% center; }
.home-international-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr); align-items: center; gap: 48px; }
.home-international-image { width: 100%; aspect-ratio: 1 / 1; margin: 0; border-radius: 24px; overflow: hidden; background: #dbe4ed; }
.home-international-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-booking-section .home-section-heading { margin-top: 0; }
.home-booking-steps li { padding: 22px 18px; border: 1px solid #e3e9ef; border-radius: 14px; background: #fff; box-shadow: 0 4px 16px rgba(11, 32, 58, .025); }
.home-booking-steps li::before { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: #fbf0dc; color: #78501b; border-radius: 10px; }
.home-booking-steps h3 { min-height: 2.8em; }
@media (max-width: 991.98px) {
    .home-umrah-panel, .home-international-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .home-umrah-panel { padding: 28px; }
    .home-umrah-image { height: 340px; min-height: 0; }
    .home-international-image { aspect-ratio: 16 / 10; }
}
@media (max-width: 575.98px) {
    .home-umrah-overview, .home-booking-section { padding-bottom: 40px; }
    .home-umrah-panel { padding: 24px 20px; border-radius: 20px; }
    .home-umrah-tier { grid-template-columns: 24px minmax(0, 1fr) 14px; gap: 10px; padding: 18px 14px; }
    .home-umrah-image { height: 280px; }
    .home-booking-steps li { grid-template-columns: 36px 1fr; padding: 20px; }
    .home-booking-steps h3 { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .home-umrah-tier { transition: none; }
}
@media (max-width: 575.98px) {
    .page-hero .service-tabs {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100%;
    }
    .page-hero .service-tab {
        justify-content: center;
        gap: 4px;
        padding: 8px 4px;
        font-size: .75rem;
    }
    .page-hero .service-tab i { font-size: .875rem; }
}

@media (max-width: 359.98px) {
    .home-contact-actions { gap: 6px !important; }
    .home-contact-actions .btn { padding: 10px 8px; font-size: .75rem; }
}

/* Scale the two title lines to the actual text column on every viewport. */
.home-hero-copy { container-type: inline-size; }
.page-hero .hero-title {
    font-size: clamp(1.4rem, 8.1cqi, 3rem);
    line-height: 1.18;
    letter-spacing: -.035em;
    color: #fff;
    margin: 0 0 20px;
}
.page-hero .hero-title-line { display: block; white-space: nowrap; }
