:root {
    --green-950: #051610;
    --green-900: #0a2e22;
    --green-800: #0f4a35;
    --green-700: #156b4c;
    --green-600: #1a855e;
    --green-500: #22a06b;
    --gold-600: #b8860b;
    --gold-500: #d4a017;
    --gold-400: #f0c94a;
    --gold-300: #fde68a;
    --cream: #f4efe4;
    --cream-dark: #e8dfd0;
    --white: #ffffff;
    --text: #0f1a16;
    --text-muted: #4a5c55;
    --radius: 16px;
    --radius-lg: 22px;
    --shadow: 0 12px 40px rgba(5, 22, 16, 0.14);
    --shadow-lg: 0 24px 60px rgba(5, 22, 16, 0.22);

    /* legacy aliases */
    --emerald-900: var(--green-900);
    --emerald-800: var(--green-800);
    --emerald-700: var(--green-700);
    --emerald-600: var(--green-600);
    --sand-50: var(--cream);
    --sand-100: #ede6d8;
    --sand-200: var(--cream-dark);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    overflow-x: clip;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

body.font-ar { font-family: 'Cairo', 'Inter', sans-serif; }

main { text-align: center; }

.container { width: min(1200px, 92%); margin-inline: auto; }

.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--cream-dark);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 24px rgba(5, 22, 16, 0.08);
}

.header-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 0 0;
    position: relative;
    text-align: start;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding-bottom: 0.65rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    width: auto;
}

.brand-logo-img {
    display: block;
    height: 94px;
    width: auto;
    max-width: min(360px, 56vw);
    object-fit: contain;
}

.brand--footer {
    margin-bottom: 0.35rem;
    display: flex;
    justify-content: flex-start;
}

.brand-logo-img--footer {
    height: 79px;
    max-width: 306px;
    opacity: 0.95;
}

.header-search {
    flex: 1;
    max-width: 420px;
    display: flex;
    align-items: center;
    position: relative;
    min-width: 0;
}

.header-search__input {
    width: 100%;
    padding: 0.55rem 2.75rem 0.55rem 1rem;
    border: 1px solid var(--cream-dark);
    border-radius: 999px;
    background: var(--cream);
    color: var(--text);
    font: inherit;
    font-size: 0.88rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

[dir="rtl"] .header-search__input {
    padding: 0.55rem 1rem 0.55rem 2.75rem;
}

.header-search__input:focus {
    outline: none;
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px rgba(26, 133, 94, 0.15);
}

.header-search__input::placeholder {
    color: var(--text-muted);
    opacity: 0.85;
}

.header-search__btn {
    position: absolute;
    inset-inline-end: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 999px;
    background: var(--green-800);
    color: var(--gold-400);
    cursor: pointer;
    transition: background 0.2s;
}

.header-search__btn:hover {
    background: var(--green-700);
}

.search-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid var(--cream-dark);
    border-radius: 10px;
    background: var(--white);
    color: var(--green-800);
    cursor: pointer;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: 0.55rem 0 0.75rem;
    border-top: 1px solid var(--cream-dark);
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.7rem;
    border-radius: 8px;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
}

.main-nav a:hover {
    color: var(--green-700);
    background: var(--cream);
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    width: auto;
    flex-shrink: 0;
}

.header-auth {
    display: flex;
    align-items: center;
    padding-inline-start: 0.65rem;
    margin-inline-start: 0.15rem;
    border-inline-start: 1px solid var(--cream-dark);
}

.header-auth__guest {
    position: relative;
    display: flex;
    align-items: center;
}

.header-auth__toggle--guest {
    padding: 0.35rem 0.45rem;
}

.header-auth__avatar--guest {
    background: var(--cream);
    color: var(--green-800);
    border: 1px solid var(--green-800);
}

.header-auth__avatar--guest svg {
    display: block;
}

.header-auth__menu-link--accent {
    color: var(--green-800);
    font-weight: 700;
}

.header-auth__menu-link--accent:hover {
    background: rgba(26, 133, 94, 0.12);
}

.header-auth__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.15rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.header-auth__btn--ghost {
    color: var(--green-800);
    border-color: var(--green-800);
    background: transparent;
}

.header-auth__btn--ghost:hover {
    background: var(--cream);
}

.header-auth__btn--primary {
    background: var(--green-900);
    color: var(--gold-400);
}

.header-auth__btn--primary:hover {
    background: var(--green-800);
}

.header-auth__user {
    position: relative;
}

.header-auth__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.35rem;
    padding: 0.25rem 0.55rem 0.25rem 0.35rem;
    border: 1px solid var(--cream-dark);
    border-radius: 999px;
    background: var(--white);
    color: var(--green-900);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

[dir="rtl"] .header-auth__toggle {
    padding: 0.25rem 0.35rem 0.25rem 0.55rem;
}

.header-auth__toggle:hover,
.header-auth__toggle[aria-expanded="true"] {
    border-color: var(--green-600);
    background: var(--cream);
}

.header-auth__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    background: var(--green-900);
    color: var(--gold-400);
    font-size: 0.82rem;
    font-weight: 800;
    flex-shrink: 0;
}

.header-auth__label {
    max-width: 7.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-auth__chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.2s;
}

.header-auth__toggle[aria-expanded="true"] .header-auth__chevron {
    transform: rotate(180deg);
}

.header-auth__menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    inset-inline-end: 0;
    min-width: 230px;
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: calc(var(--radius) + 2px);
    box-shadow: 0 12px 32px rgba(5, 22, 16, 0.12);
    padding: 0.35rem;
    z-index: 120;
}

.header-auth__menu-link,
.header-auth__menu-link--logout {
    display: block;
    width: 100%;
    text-align: start;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    color: var(--green-900);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    background: transparent;
    border: 0;
    font: inherit;
    cursor: pointer;
}

.header-auth__menu-link:hover,
.header-auth__menu-link--logout:hover {
    background: var(--cream);
}

.header-auth__menu-link.is-active {
    background: rgba(26, 133, 94, 0.1);
    color: var(--green-800);
}

.header-auth__menu-divider {
    height: 1px;
    background: var(--cream-dark);
    margin: 0.35rem 0;
}

.header-auth__menu-link--logout {
    color: #b91c1c;
}

.header-auth__logout-form {
    margin: 0;
}

.main-nav__auth {
    display: none;
}

.main-nav__auth-title {
    margin: 0 0 0.5rem;
    padding: 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.main-nav__auth-link {
    display: block;
    width: 100%;
    padding: 0.7rem 0.75rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--green-900);
    background: transparent;
    border: 0;
    text-align: start;
    font: inherit;
    cursor: pointer;
}

.main-nav__auth-link:hover,
.main-nav__auth-link.is-active {
    background: var(--cream);
}

.main-nav__auth-link--primary {
    background: var(--green-900);
    color: var(--gold-400);
}

.main-nav__auth-link--primary:hover {
    background: var(--green-800);
}

.main-nav__auth-link--logout {
    color: #b91c1c;
}

.main-nav__panel {
    display: contents;
}

.main-nav__links {
    display: contents;
}

body.mobile-nav-open {
    overflow: hidden;
}

.lang-switch {
    background: var(--green-900);
    color: var(--gold-400);
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--sand-200);
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
    font-size: 1.2rem;
    cursor: pointer;
}

.hero {
    position: relative;
    background: linear-gradient(135deg, var(--emerald-900) 0%, var(--emerald-700) 60%, #0d9488 100%);
    color: var(--white);
    padding: 5rem 0 4rem;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: radial-gradient(circle at 20% 50%, var(--gold-400) 1px, transparent 1px),
                      radial-gradient(circle at 80% 20%, var(--gold-400) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-content { position: relative; text-align: center; max-width: 760px; margin-inline: auto; }

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.15s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: var(--gold-500);
    color: var(--green-950);
    box-shadow: 0 6px 24px rgba(212, 160, 23, 0.45);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--green-950);
    box-shadow: 0 8px 28px rgba(212, 160, 23, 0.4);
    font-weight: 700;
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.55);
    font-weight: 600;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
}

.btn-ghost {
    background: rgba(255,255,255,0.12);
    color: var(--white);
}

.section { padding: 4rem 0; }
.section-alt { background: var(--white); }

.section-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
    gap: 0.75rem;
}

.section-header h2 {
    font-size: 1.75rem;
    color: var(--emerald-800);
}

.section-header a {
    color: var(--emerald-600);
    text-decoration: none;
    font-weight: 600;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--white);
    border: 1px solid var(--sand-200);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.card:hover { transform: translateY(-4px); }

.card-image {
    height: 160px;
    background-size: cover;
    background-position: center;
}

.card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: var(--sand-100);
}

.card-body {
    padding: 1.25rem;
    text-align: center;
}

.card-body h3 {
    font-size: 1.1rem;
    color: var(--emerald-800);
    margin-bottom: 0.5rem;
}

.card-meta { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.5rem; }
.card-price { font-weight: 700; color: var(--emerald-700); margin-bottom: 0.75rem; }
.card-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.75rem; }
.card-link { color: var(--emerald-600); text-decoration: none; font-weight: 600; font-size: 0.9rem; }

.card-action,
.trip-category-link,
.home-category-card__action,
.community-item__more,
.contact-card__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    margin-top: auto;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.82rem;
    line-height: 1.3;
    text-align: center;
}

.card-action {
    margin-top: 0.85rem;
    background: rgba(26, 133, 94, 0.1);
    color: var(--emerald-700);
}

.package-card .card-body,
.company-card .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.package-card,
.company-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.company-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sand-100);
    font-size: 2rem;
    font-weight: 700;
    color: var(--emerald-700);
}

.company-logo img { max-height: 60px; max-width: 80%; object-fit: contain; }

.rating {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}
.rating .stars { color: var(--gold-500); font-weight: 700; }

.guide-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.guide-card {
    background: var(--sand-100);
    border: 1px solid var(--sand-200);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s, transform 0.2s;
}

.guide-card:hover { background: var(--white); transform: translateY(-3px); }
.guide-card span { font-size: 2.5rem; display: block; margin-bottom: 0.75rem; }
.guide-card h3 { color: var(--emerald-800); }

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.testimonial {
    background: var(--white);
    border: 1px solid var(--sand-200);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
}

.testimonial .stars { color: var(--gold-500); margin-bottom: 0.75rem; }
.testimonial p { font-style: italic; margin-bottom: 1rem; color: var(--text-muted); }
.testimonial footer { font-size: 0.9rem; }
.testimonial footer span { color: var(--text-muted); }

.page-header {
    background: linear-gradient(135deg, var(--emerald-800), var(--emerald-600));
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 { font-size: 2rem; }

.page-content { padding: 3rem 0; text-align: center; }

.page-content .card { text-align: center; margin-inline: auto; }

.page-content nav[role="navigation"] {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.pagination-wrap nav,
.pagination-wrap ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    padding: 0;
}

.site-footer {
    background: var(--green-950);
    color: rgba(255, 255, 255, 0.88);
    margin-top: 2rem;
    text-align: start;
}

.site-footer .container {
    width: min(1280px, 96%);
}

.footer-main {
    padding: 1.15rem 0;
    background: var(--green-950);
    border-top: 3px solid var(--gold-500);
}

.footer-layout {
    display: grid;
    grid-template-columns: minmax(160px, 1.15fr) repeat(4, minmax(0, 1fr));
    gap: 1rem 1.25rem;
    align-items: start;
}

.footer-layout__brand {
    padding-inline-end: 0.75rem;
    border-inline-end: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav-col__title {
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 0.45rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(240, 201, 74, 0.35);
}

.footer-brand__tagline {
    font-size: 0.75rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.35;
    padding: 0.2rem 0;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--gold-400);
}

.footer-links__highlight {
    color: var(--gold-400) !important;
    font-weight: 600;
}

.footer-bottom {
    padding: 0.45rem 0;
    background: rgba(0, 0, 0, 0.28);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.75rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom__copy {
    margin: 0;
}

.footer-lang {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 1.3;
    padding: 0.2rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    transition: border-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.footer-lang:hover {
    color: var(--gold-400);
    border-color: rgba(240, 201, 74, 0.45);
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.page-subtitle {
    margin-top: 0.75rem;
    opacity: 0.9;
    max-width: 640px;
    margin-inline: auto;
}

.breadcrumb {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.page-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.85rem 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.page-back:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: translateX(-2px);
}

[dir="rtl"] .page-back:hover {
    transform: translateX(2px);
}

[dir="rtl"] .page-back__icon {
    transform: scaleX(-1);
}

.page-back__icon {
    font-size: 1.05rem;
    line-height: 1;
}

.breadcrumb a { color: var(--white); text-decoration: none; }
.breadcrumb span { opacity: 0.7; }

.section-block { margin-bottom: 3rem; }
.block-title {
    font-size: 1.35rem;
    color: var(--emerald-800);
    margin-bottom: 1.25rem;
    text-align: center;
}

.pagination-wrap { margin-top: 2rem; }

.search-page-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.search-page-form__input {
    flex: 1;
    min-width: min(100%, 280px);
    padding: 0.75rem 1rem;
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius);
    background: var(--white);
    font: inherit;
    font-size: 1rem;
}

.search-page-form__input:focus {
    outline: none;
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px rgba(26, 133, 94, 0.15);
}

.card-link-wrap {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-badge {
    display: inline-block;
    background: var(--sand-100);
    color: var(--emerald-700);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

.trip-category-grid,
.type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.trip-category-card,
.type-category-card {
    background: var(--white);
    border: 1px solid var(--sand-200);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
}

.trip-category-card:hover,
.type-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(6, 78, 59, 0.16);
}

.trip-category-icon,
.type-category-icon {
    font-size: 2.25rem;
    display: block;
    margin-bottom: 0.75rem;
}

.trip-category-card h3,
.type-category-card h3 {
    color: var(--emerald-800);
    margin-bottom: 0.5rem;
}

.trip-category-card p,
.type-category-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.trip-category-link,
.type-count {
    background: var(--sand-100);
    color: var(--emerald-700);
}

.type-category-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.company-grid .company-card { height: 100%; }

.employee-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}

.employee-card {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    height: 100%;
    min-height: 220px;
    padding: 1.35rem 1.5rem;
    text-align: start;
}

.employee-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.employee-card__avatar {
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--green-800), var(--green-600));
    color: var(--gold-400);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    font-weight: 800;
    flex-shrink: 0;
}

.employee-card__avatar--photo {
    object-fit: cover;
}

.employee-card__identity h3 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    color: var(--green-900);
}

.employee-card__job {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.employee-card__rating {
    margin: 0.45rem 0 0;
    color: var(--gold-500);
    font-weight: 700;
    font-size: 0.95rem;
}

.employee-card__rating .stars {
    color: var(--gold-500);
}

.employee-card__company {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--cream-dark);
}

.employee-card__company-label {
    margin: 0 0 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.employee-card__company-link {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: var(--green-800);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
}

@media (max-width: 992px) {
    .employee-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .employee-grid {
        grid-template-columns: 1fr;
    }

    .employee-card {
        min-height: 0;
    }
}

.employee-card__company-link:hover {
    color: var(--green-700);
    text-decoration: underline;
}

.company-card-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: var(--emerald-600);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
}

.verified-badge--lg {
    width: auto;
    height: auto;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
}

.company-detail-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.company-profile,
.company-reviews {
    padding: 1.5rem;
}

.company-profile-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.25rem;
    text-align: center;
}

.company-logo--large {
    width: 88px;
    height: 88px;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.company-about {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.info-list {
    display: grid;
    gap: 0.65rem;
    font-size: 0.95rem;
    text-align: center;
    justify-items: center;
}

.info-list a { color: var(--emerald-700); }

.testimonial--compact {
    padding: 1rem 0;
    border-bottom: 1px solid var(--sand-200);
    box-shadow: none;
    border-radius: 0;
    text-align: center;
}

.testimonial--compact:last-child { border-bottom: none; }

/* ===== HOMEPAGE ===== */
.home-page { overflow-x: hidden; }

.home-hero {
    position: relative;
    background: linear-gradient(135deg, var(--green-950) 0%, var(--green-800) 45%, var(--green-600) 100%);
    color: var(--white);
    padding: 5.5rem 0 4rem;
    overflow: hidden;
}

.home-hero__glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(240, 201, 74, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(34, 160, 107, 0.25) 0%, transparent 45%);
}

.home-hero__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    text-align: center;
}

.home-hero__content {
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
}

.home-hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.6rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    font-weight: 800;
}

.home-hero p {
    font-size: 1.12rem;
    opacity: 0.92;
    margin-bottom: 2rem;
    max-width: 560px;
    line-height: 1.8;
    margin-inline: auto;
}

.home-hero__actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
}

.home-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
}

.home-stat {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    padding: 1.25rem 1rem;
    text-align: center;
    backdrop-filter: blur(6px);
}

.home-stat strong {
    display: block;
    font-size: 1.65rem;
    color: var(--gold-400);
    margin-bottom: 0.25rem;
}

.home-stat span {
    font-size: 0.82rem;
    opacity: 0.85;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: 0.65rem;
}

.section-eyebrow--light { color: var(--gold-300); }
.section-eyebrow--gold { color: var(--gold-400); }

.section-intro {
    margin-bottom: 2.25rem;
    max-width: 640px;
    margin-inline: auto;
    text-align: center;
}
.section-intro--center { margin-inline: auto; text-align: center; }
.section-intro--light h2,
.section-intro--light p { color: var(--white); }
.section-intro--light p { opacity: 0.85; }
.section-intro--row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: none;
    text-align: center;
}

.section-intro h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    color: var(--green-900);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section-intro--light h2 { color: var(--white); }

.section-intro p {
    color: var(--text-muted);
    font-size: 1.02rem;
}

.home-section { padding: 5rem 0; }
.home-section--muted { background: var(--white); }

.home-section--pilgrim-photos {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 0%, rgba(240, 201, 74, 0.16) 0%, transparent 38%),
        radial-gradient(circle at 88% 100%, rgba(26, 133, 94, 0.18) 0%, transparent 42%),
        linear-gradient(180deg, #faf7f0 0%, #edf7f1 52%, #f4efe4 100%);
}

.home-section--pilgrim-photos::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 74, 53, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 74, 53, 0.035) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 85%);
    pointer-events: none;
}

.home-section--pilgrim-photos > .container {
    position: relative;
    z-index: 1;
}

.home-section--pilgrim-photos .section-eyebrow {
    color: var(--gold-600);
}

.home-section--pilgrim-photos .section-intro h2 {
    color: var(--green-950);
}

.home-section--pilgrim-photos .section-intro p {
    color: var(--green-800);
    opacity: 0.82;
}

.home-section--pilgrim-photos .home-link-more {
    margin-top: 0;
    background: var(--green-900);
    color: var(--gold-400);
    border-color: var(--green-900);
    box-shadow: 0 10px 28px rgba(5, 22, 16, 0.16);
}

.home-section--pilgrim-photos .home-link-more:hover {
    background: var(--green-800);
    border-color: var(--green-800);
    color: var(--gold-300);
    box-shadow: 0 14px 32px rgba(5, 22, 16, 0.22);
}

.home-section--dark {
    background: linear-gradient(160deg, var(--green-950), var(--green-800));
    color: var(--white);
}

.home-section--dark .company-card {
    border: none;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.home-section--dark .company-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
}

.home-section__cta {
    text-align: center;
    margin-top: 2.5rem;
}

.home-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.home-category-card {
    position: relative;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--white);
    overflow: hidden;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: var(--shadow-lg);
}

.home-category-card:hover {
    transform: translateY(-6px);
}

.home-category-card--1 { background: linear-gradient(145deg, #0a2e22, #156b4c); }
.home-category-card--2 { background: linear-gradient(145deg, #0f4a35, #1a855e); }
.home-category-card--3 { background: linear-gradient(145deg, #1a3d2e, #b8860b); }
.home-category-card--4 { background: linear-gradient(145deg, #1a2f4a, #3d5a80); }

.home-category-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.home-category-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.home-category-card p {
    opacity: 0.88;
    font-size: 0.92rem;
    flex: 1;
    line-height: 1.7;
}

.home-category-card__action {
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.14);
    color: var(--gold-300);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.home-packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.home-featured-trips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.home-featured-trip {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--cream-dark);
    box-shadow: var(--shadow-lg);
    transition: transform 0.25s, box-shadow 0.25s;
}

.home-featured-trip:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(5, 22, 16, 0.18);
}

.home-featured-trip__media {
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-featured-trip__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 22, 16, 0.15) 0%, rgba(5, 22, 16, 0.72) 100%);
}

.home-featured-trip--umrah .home-featured-trip__media:not([style]) {
    background: linear-gradient(145deg, #0a2e22, #156b4c);
}

.home-featured-trip--hajj .home-featured-trip__media:not([style]) {
    background: linear-gradient(145deg, #0f4a35, #1a855e);
}

.home-featured-trip--individual .home-featured-trip__media:not([style]) {
    background: linear-gradient(145deg, #1a3d2e, #b8860b);
}

.home-featured-trip__icon {
    position: relative;
    z-index: 1;
    font-size: 3rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.home-featured-trip__body {
    padding: 1.25rem 1.35rem 1.35rem;
    text-align: center;
}

.home-featured-trip__body h3 {
    font-size: 1.15rem;
    color: var(--green-900);
    font-weight: 800;
    margin-bottom: 0.45rem;
}

.home-featured-trip__body p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.home-featured-trip__price {
    display: block;
    font-weight: 800;
    color: var(--green-700);
    margin-bottom: 0.65rem;
}

.home-featured-trip__link {
    display: inline-block;
    font-weight: 700;
    color: var(--green-700);
    font-size: 0.9rem;
}

.home-package-group {
    background: var(--cream);
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.home-package-group__head {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--green-700);
    text-align: center;
}

.home-package-group__head h3 {
    font-size: 1rem;
    color: var(--green-900);
    font-weight: 800;
}

.home-package-group__head a {
    color: var(--green-700);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
}

.home-package-list { display: grid; gap: 0.75rem; }

.package-compact {
    display: block;
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius);
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    text-align: center;
}

.package-compact:hover {
    border-color: var(--green-600);
    box-shadow: var(--shadow);
}

.package-compact__top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.package-compact__price {
    font-weight: 800;
    color: var(--green-700);
    font-size: 0.9rem;
}

.package-compact h4 {
    font-size: 0.95rem;
    color: var(--green-900);
    margin-bottom: 0.35rem;
    line-height: 1.5;
}

.package-compact__meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.card-badge {
    background: var(--green-900);
    color: var(--gold-400);
}

.home-testimonials {
    background: linear-gradient(160deg, var(--green-900) 0%, var(--green-950) 100%);
    color: var(--white);
}

.home-testimonials__stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
}

.testimonial-stat {
    text-align: center;
}

.testimonial-stat strong {
    display: block;
    font-size: 2rem;
    color: var(--gold-400);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.testimonial-stat span {
    font-size: 0.85rem;
    opacity: 0.8;
}

.home-testimonials__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.pilgrim-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.pilgrim-review-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
    background: var(--white);
    color: var(--text);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.35rem 1.15rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.pilgrim-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.pilgrim-review-card__top {
    display: flex;
    justify-content: center;
}

.pilgrim-review-card__quote {
    margin: 0;
    flex: 1;
    font-size: 0.98rem;
    line-height: 1.85;
    color: var(--text);
    font-style: italic;
}

.pilgrim-review-card__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--cream-dark);
}

.pilgrim-review-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--green-800), var(--green-600));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.pilgrim-review-card__meta {
    display: grid;
    gap: 0.25rem;
}

.pilgrim-review-card__meta strong {
    color: var(--green-900);
    font-size: 0.95rem;
}

.pilgrim-review-card__company {
    color: var(--green-700);
    font-size: 0.82rem;
    text-decoration: none;
    line-height: 1.5;
}

.pilgrim-review-card__company:hover {
    color: var(--gold-500);
    text-decoration: underline;
}

.home-testimonials__cta {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.testimonial-featured {
    background: var(--white);
    color: var(--text);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.testimonial-featured__quote {
    position: absolute;
    top: 0.5rem;
    inset-inline-start: 1.25rem;
    font-size: 5rem;
    line-height: 1;
    color: var(--green-700);
    opacity: 0.15;
    font-family: Georgia, serif;
}

.testimonial-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    margin-bottom: 1rem;
}

.testimonial-stars--sm { margin-bottom: 0.65rem; }

.star-filled { color: var(--gold-500); }
.star-empty { color: #d1d5db; }

.testimonial-score {
    margin-inline-start: 0.5rem;
    font-weight: 800;
    color: var(--green-800);
    font-size: 1.1rem;
}

.testimonial-featured__text {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-featured__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border-top: 1px solid var(--cream-dark);
    padding-top: 1.25rem;
    text-align: center;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--green-800), var(--green-600));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-featured__footer strong {
    display: block;
    color: var(--green-900);
}

.testimonial-featured__footer span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-list {
    display: grid;
    gap: 1rem;
}

.testimonial-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 1.25rem;
    backdrop-filter: blur(4px);
    text-align: center;
}

.testimonial-card p {
    color: rgba(255,255,255,0.92);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 0.85rem;
}

.testimonial-card footer strong {
    display: block;
    color: var(--gold-300);
    font-size: 0.9rem;
}

.testimonial-card footer span {
    font-size: 0.8rem;
    opacity: 0.7;
}

.home-bottom-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
    text-align: center;
}

.guide-card--strong {
    background: var(--white);
    border: 1px solid var(--cream-dark);
    box-shadow: var(--shadow);
}

.guide-card--strong:hover {
    border-color: var(--green-600);
}

.community-list { display: grid; gap: 0.85rem; }

.community-item {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: center;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius);
    padding: 1rem;
}

.community-item__avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--green-800);
    color: var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.community-item strong {
    display: block;
    color: var(--green-900);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.community-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.community-item--more {
    text-decoration: none;
    color: var(--green-700);
    justify-content: center;
    min-height: 72px;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.community-item--more:hover {
    border-color: var(--green-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.community-item__more {
    padding: 0.5rem 1.1rem;
    background: var(--sand-100);
    color: var(--green-800);
    border-radius: 999px;
}

.home-link-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    padding: 0.55rem 1.1rem;
    color: var(--green-800);
    font-weight: 700;
    text-decoration: none;
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.home-link-more:hover {
    border-color: var(--green-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 78, 59, 0.12);
}

@media (max-width: 1100px) {
    .home-categories { grid-template-columns: repeat(2, 1fr); }
    .home-featured-trips { grid-template-columns: repeat(2, 1fr); }
    .pilgrim-reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .brand-logo-img {
        height: 84.6px;
        max-width: min(324px, 50.4vw);
    }

    .menu-toggle { display: flex; align-items: center; justify-content: center; }
    .search-toggle { display: flex; }

    .header-search {
        display: none;
        order: 3;
        flex: 1 1 100%;
        max-width: none;
        padding-bottom: 0.5rem;
    }

    .header-search.open { display: flex; }

    .header-row {
        flex-wrap: wrap;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        inset-inline: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        border-bottom: 1px solid var(--sand-200);
        border-top: none;
        box-shadow: var(--shadow);
        z-index: 110;
        max-height: min(78vh, calc(100dvh - 5.75rem));
        overflow: hidden;
    }

    .main-nav.open { display: flex; }

    .main-nav__panel {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-height: inherit;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--green-600) var(--cream);
        padding: 0.75rem 1rem 1.25rem;
    }

    .main-nav__panel::-webkit-scrollbar {
        width: 8px;
    }

    .main-nav__panel::-webkit-scrollbar-track {
        background: var(--cream);
        border-radius: 999px;
    }

    .main-nav__panel::-webkit-scrollbar-thumb {
        background: var(--green-600);
        border-radius: 999px;
    }

    .main-nav__auth {
        display: block;
        width: 100%;
        flex-shrink: 0;
        padding-bottom: 0.75rem;
        margin-bottom: 0.75rem;
        border-bottom: 1px solid var(--cream-dark);
    }

    .main-nav__links {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.15rem;
    }

    .header-auth__label,
    .header-auth__chevron {
        display: none;
    }

    .header-auth__guest .header-auth__chevron {
        display: none;
    }

    .header-auth {
        border-inline-start: 0;
        padding-inline-start: 0;
        margin-inline-start: 0;
    }

    .main-nav a {
        padding: 0.65rem 0.75rem;
        text-align: start;
    }

    .header-inner { position: relative; }
    .company-detail-grid { grid-template-columns: 1fr; }
    .home-stats { grid-template-columns: repeat(2, 1fr); }
    .home-categories { grid-template-columns: 1fr; }
    .home-featured-trips { grid-template-columns: 1fr; }
    .home-packages-grid { grid-template-columns: 1fr; }
    .home-testimonials__grid { grid-template-columns: 1fr; }
    .pilgrim-reviews-grid { grid-template-columns: 1fr; }
    .home-bottom-grid { grid-template-columns: 1fr; }
    .home-testimonials__stats { gap: 1.25rem; }
}

/* ===== AUTH & ACCOUNT ===== */
.auth-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: start;
}

.auth-card--wide {
    max-width: 560px;
}

.account-type-fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 1.25rem;
}

.account-type-fieldset legend {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--green-900);
    font-size: 0.9rem;
}

.account-type-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}

@media (min-width: 520px) {
    .account-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.account-type-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.85rem 0.65rem;
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius);
    background: var(--cream);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.account-type-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.account-type-card:has(input:checked) {
    border-color: var(--green-700);
    background: #f0fdf4;
    box-shadow: 0 0 0 1px var(--green-700);
}

.account-type-card__icon {
    font-size: 1.5rem;
    line-height: 1;
}

.account-type-card__title {
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--green-900);
}

.account-type-card__desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.form-error {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: #b91c1c;
}

.form-group {
    margin-bottom: 1rem;
    text-align: start;
}

.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    color: var(--green-900);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius);
    font: inherit;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px rgba(26, 133, 94, 0.12);
}

.password-field {
    position: relative;
}

.password-field input {
    width: 100%;
    padding-inline-end: 5.5rem;
}

.password-field__toggle {
    position: absolute;
    inset-inline-end: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: var(--cream);
    color: var(--green-800);
    border-radius: calc(var(--radius) - 2px);
    padding: 0.35rem 0.65rem;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.2;
}

.password-field__toggle:hover {
    background: var(--cream-dark);
}

.password-field__toggle:focus-visible {
    outline: 2px solid var(--green-600);
    outline-offset: 2px;
}

.auth-demo-hint {
    max-width: 420px;
    margin: 0 auto 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    background: #fffbeb;
    border: 1px solid #fcd34d;
    font-size: 0.88rem;
    color: #78350f;
}

.auth-demo-hint ul {
    margin: 0.5rem 0;
    padding-inline-start: 1.2rem;
}

.auth-demo-hint code {
    font-size: 0.85em;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.btn-block { width: 100%; margin-top: 0.5rem; }

.btn-outline-dark {
    background: transparent;
    color: var(--green-900);
    border: 2px solid var(--green-800);
}

.btn-ghost-dark {
    background: var(--cream);
    color: var(--green-900);
    border: 1px solid var(--cream-dark);
}

.btn-sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
}

.auth-card__footer {
    margin-top: 1.25rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-card__footer a {
    color: var(--green-700);
    font-weight: 700;
    text-decoration: none;
}

.flash {
    max-width: 720px;
    margin: 0 auto 1.5rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    text-align: start;
}

.flash--success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.flash--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.flash ul { margin: 0; padding-inline-start: 1.1rem; }

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dashboard-stat {
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius);
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.dashboard-stat strong {
    display: block;
    font-size: 1.75rem;
    color: var(--green-800);
    margin-bottom: 0.25rem;
}

.dashboard-stat--points strong { color: var(--gold-600); }

.dashboard-stat span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.dashboard-panel {
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: start;
    box-shadow: var(--shadow);
}

.activity-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.activity-list li {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--cream-dark);
}

.activity-list li:last-child { border-bottom: none; padding-bottom: 0; }

.activity-list strong {
    display: block;
    color: var(--green-900);
    margin-bottom: 0.2rem;
}

.activity-list span,
.activity-list time {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.empty-inline {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.profile-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--cream-dark);
}

.profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--green-800), var(--green-600));
    color: var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.profile-summary strong,
.profile-summary span {
    display: block;
}

.comments-section,
.review-form-card,
.guide-section-card,
.article-card {
    margin-top: 2rem;
    padding: 1.5rem;
    text-align: start;
}

.comment-form textarea {
    width: 100%;
    margin-bottom: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius);
    font: inherit;
    line-height: 1.7;
    resize: vertical;
}

.comment-form.card,
.comment-form--guest.card {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.comment-form__label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--green-900);
}

.comments-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.comment-item {
    display: flex;
    gap: 0.85rem;
    text-align: start;
    padding: 1rem 1.1rem;
    background: var(--white);
    border: 1px solid var(--sand-200);
    border-radius: var(--radius);
}

.comment-item--reply {
    margin-top: 0.75rem;
    background: var(--sand-50);
}

.comment-item__avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--green-800);
    color: var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.comment-item__body { flex: 1; min-width: 0; }

.comment-item__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.comment-item__head time {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.comment-item__text {
    line-height: 1.75;
    color: var(--text);
    word-break: break-word;
}

.comment-item__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.comment-replies {
    margin-top: 0.85rem;
    padding-inline-start: 0.5rem;
    border-inline-start: 2px solid var(--sand-200);
}

.comment-reply-form {
    margin-top: 0.85rem;
    padding: 0.85rem;
    background: var(--cream);
    border-radius: var(--radius);
}

.comment-reply-form textarea {
    width: 100%;
    margin-bottom: 0.65rem;
    padding: 0.75rem;
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius);
    font: inherit;
}

.comment-reply-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.comment-reply-toggle {
    border: none;
    background: transparent;
    color: var(--green-800);
    font-weight: 700;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}

.vote-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.vote-bar form {
    margin: 0;
}

.vote-btn {
    border: 1px solid var(--cream-dark);
    background: var(--cream);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    cursor: pointer;
    font-size: 0.84rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.vote-btn.is-active {
    border-color: var(--green-700);
    background: rgba(26, 133, 94, 0.12);
    color: var(--green-900);
}

.vote-btn--down.is-active {
    border-color: #b45309;
    background: rgba(180, 83, 9, 0.1);
}

.vote-btn--readonly {
    cursor: default;
}

.article-card__meta {
    margin-bottom: 1rem;
}

.article-card__votes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--sand-200);
}

.article-card__votes-label {
    font-weight: 700;
    color: var(--green-900);
}

.article-card__votes-hint {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.topic-compose-form__intro {
    margin-bottom: 1.25rem;
    padding: 1rem 1.25rem;
    background: var(--sand-50);
}

.topic-compose-form__intro p {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
}

.topic-compose-form__actions {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
}

.guide-section-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.guide-section-card__head h2 {
    color: var(--green-900);
    font-size: 1.2rem;
}

@media (max-width: 900px) {
    .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
    .dashboard-grid { grid-template-columns: 1fr; }
    .rewards-grid { grid-template-columns: 1fr; }
}

/* ===== RANKS & REWARDS ===== */
.rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--rank-color, var(--green-800)) 12%, white);
    border: 1px solid color-mix(in srgb, var(--rank-color, var(--green-800)) 35%, white);
    color: var(--rank-color, var(--green-800));
    font-weight: 700;
    font-size: 0.82rem;
}

.rank-badge--lg { font-size: 0.95rem; padding: 0.45rem 0.85rem; }
.rank-badge--sm { font-size: 0.72rem; padding: 0.2rem 0.5rem; }

.rank-progress-card {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    text-align: start;
}

.rank-progress-card__top {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.rank-progress-bar {
    height: 10px;
    background: var(--cream);
    border-radius: 999px;
    overflow: hidden;
}

.rank-progress-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--green-700), var(--gold-500));
    border-radius: 999px;
}

.earn-rules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.earn-rule {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 0.85rem;
    text-align: center;
}

.earn-rule strong {
    display: block;
    color: var(--gold-600);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.earn-rules-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.earn-rules-panel { margin-bottom: 1.5rem; }

.leaderboard-me {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    text-align: start;
}

.leaderboard-me__row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.75rem;
}

.ranks-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.ranks-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--rank-color) 10%, white);
    border: 1px solid color-mix(in srgb, var(--rank-color) 30%, white);
    font-size: 0.82rem;
    font-weight: 600;
}

.ranks-legend__item small { opacity: 0.75; }

.leaderboard-table { padding: 0.5rem; text-align: start; }

.leaderboard-row {
    display: grid;
    grid-template-columns: 48px 42px 1fr auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem;
    border-bottom: 1px solid var(--cream-dark);
}

.leaderboard-row:last-child { border-bottom: none; }
.leaderboard-row--me { background: #ecfdf5; border-radius: var(--radius); }

.leaderboard-position {
    font-weight: 800;
    color: var(--green-800);
    text-align: center;
}

.leaderboard-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--green-800);
    color: var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.leaderboard-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.leaderboard-points {
    font-weight: 800;
    color: var(--gold-600);
}

.rewards-balance {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: start;
}

.rewards-balance strong {
    display: block;
    font-size: 1.5rem;
    color: var(--green-800);
}

.rewards-balance span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.reward-card {
    padding: 1.25rem;
    text-align: center;
}

.reward-card__icon { font-size: 2.5rem; display: block; margin-bottom: 0.75rem; }

.reward-card h3 {
    color: var(--green-900);
    margin-bottom: 0.5rem;
}

.reward-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    min-height: 3.5rem;
}

.reward-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.invite-box {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0;
}

.invite-box__input {
    flex: 1;
    min-width: min(100%, 260px);
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius);
    font: inherit;
    background: var(--cream);
}

/* Member photos gallery */
.member-photo-upload,
.member-photo-login-prompt {
    margin-bottom: 2rem;
}

.member-photo-login-prompt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.member-photo-login-prompt p {
    flex: 1 1 100%;
    margin: 0;
}

.form-hint {
    display: block;
    margin-top: 0.35rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.member-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.member-photo-card {
    background: var(--white);
    border: 1px solid var(--sand-200);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.member-photo-card:hover {
    transform: translateY(-3px);
}

.member-photo-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--sand-100);
}

.member-photo-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-photo-card__count {
    position: absolute;
    bottom: 0.5rem;
    inset-inline-end: 0.5rem;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}

.member-photo-card__body {
    padding: 0.85rem 1rem 1rem;
    text-align: center;
}

.member-photo-card__caption {
    font-size: 0.9rem;
    color: var(--emerald-800);
    margin: 0 0 0.35rem;
    line-height: 1.4;
}

.member-photo-card__meta {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.company-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.company-nav a {
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--sand-200);
    background: var(--white);
    color: var(--emerald-700);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.dashboard-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.dashboard-nav a {
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--sand-200);
    background: var(--white);
    color: var(--emerald-700);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.dashboard-nav a.is-active,
.company-nav a.is-active {
    background: var(--green-800);
    color: var(--gold-400);
    border-color: var(--green-800);
}

.dashboard-nav a.nav-view-site,
.company-nav a.nav-view-site {
    margin-inline-start: auto;
    background: linear-gradient(135deg, rgba(212, 160, 23, 0.18), rgba(26, 133, 94, 0.12));
    border-color: var(--gold-500);
    color: var(--green-900);
    box-shadow: 0 4px 16px rgba(212, 160, 23, 0.15);
}

.dashboard-nav a.nav-view-site:hover,
.company-nav a.nav-view-site:hover {
    background: var(--gold-500);
    color: var(--green-900);
    border-color: var(--gold-500);
}

@media (max-width: 768px) {
    .dashboard-nav a.nav-view-site,
    .company-nav a.nav-view-site {
        margin-inline-start: 0;
        width: 100%;
        text-align: center;
    }
}

.company-stats--secondary {
    margin-top: -0.5rem;
}

.pilgrim-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.35rem 0;
}

.pilgrim-carousel__viewport {
    overflow: hidden;
    flex: 1;
    border-radius: calc(var(--radius-lg) + 4px);
}

.pilgrim-carousel__track {
    display: flex;
    gap: 1rem;
    transition: transform 0.45s ease;
    padding: 0.35rem 0.15rem;
}

.pilgrim-carousel__slide {
    flex: 0 0 calc((100% - 3rem) / 4);
    min-width: 220px;
    background: var(--white);
    border: 1px solid rgba(15, 74, 53, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(5, 22, 16, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pilgrim-carousel__slide:hover {
    transform: translateY(-4px);
    border-color: rgba(240, 201, 74, 0.55);
    box-shadow: 0 18px 42px rgba(5, 22, 16, 0.16);
}

.pilgrim-carousel__image-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    background: linear-gradient(145deg, var(--green-900), var(--green-600));
}

.pilgrim-carousel__image-wrap::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 42%;
    background: linear-gradient(to top, rgba(5, 22, 16, 0.42), transparent);
    pointer-events: none;
}

.pilgrim-carousel__instagram,
.member-photo-card__instagram {
    position: absolute;
    top: 0.55rem;
    inset-inline-end: 0.55rem;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    background: rgba(5, 22, 16, 0.78);
    color: var(--gold-300);
    border: 1px solid rgba(240, 201, 74, 0.35);
    font-size: 0.68rem;
    font-weight: 700;
    text-decoration: none;
    z-index: 2;
}

.member-photo-card__media {
    position: relative;
}

.pilgrim-carousel__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pilgrim-carousel__caption {
    padding: 0.9rem 1rem 1.05rem;
    text-align: center;
    display: grid;
    gap: 0.3rem;
    background: linear-gradient(180deg, var(--white) 0%, #f8f4ea 100%);
    border-top: 3px solid var(--gold-400);
}

.pilgrim-carousel__caption strong {
    color: var(--green-900);
    font-size: 0.96rem;
}

.pilgrim-carousel__caption span {
    color: var(--green-700);
    font-size: 0.84rem;
    line-height: 1.45;
}

.pilgrim-carousel__nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--green-800);
    background: linear-gradient(145deg, var(--green-900), var(--green-800));
    color: var(--gold-400);
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 8px 22px rgba(5, 22, 16, 0.18);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pilgrim-carousel__nav:hover {
    background: linear-gradient(145deg, var(--green-800), var(--green-700));
    color: var(--gold-300);
    transform: translateY(-1px);
}

@media (max-width: 1100px) {
    .pilgrim-carousel__slide {
        flex-basis: calc((100% - 2rem) / 3);
    }
}

@media (max-width: 768px) {
    .pilgrim-carousel__nav {
        display: none;
    }

    .pilgrim-carousel__slide {
        flex-basis: calc((100% - 1rem) / 2);
        min-width: 160px;
    }
}

@media (max-width: 520px) {
    .pilgrim-carousel__slide {
        flex-basis: calc((100% - 1rem) / 2);
        min-width: 0;
    }
}

/* ── Chat widgets (WhatsApp + Messenger) ── */
.chat-widgets {
    position: fixed;
    bottom: 1.5rem;
    inset-inline-end: 1.5rem;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-widgets__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.chat-widgets__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
    color: var(--white);
}

.chat-widgets__btn svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: currentColor;
    flex-shrink: 0;
}

.chat-widgets__btn--whatsapp {
    background: #25d366;
}

.chat-widgets__btn--messenger {
    background: #0084ff;
}

@media (max-width: 520px) {
    .chat-widgets__btn span {
        display: none;
    }

    .chat-widgets__btn {
        width: 3.25rem;
        height: 3.25rem;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}

/* ── Contact page ── */
.contact-page {
    text-align: start;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-grid--secondary {
    margin-top: 0.5rem;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.35rem 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--sand-200);
    background: var(--white);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    min-height: 100%;
}

.contact-card:hover {
    border-color: var(--emerald-300);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.contact-card--compact {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.contact-card--compact .contact-card__body {
    flex: 1;
    min-width: 180px;
}

.contact-card--compact .contact-card__action {
    margin-inline-start: auto;
}

.contact-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-card__icon svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: currentColor;
}

.contact-card--email .contact-card__icon { background: rgba(26, 133, 94, 0.12); color: var(--emerald-700); }
.contact-card--whatsapp .contact-card__icon { background: rgba(37, 211, 102, 0.15); color: #128c7e; }
.contact-card--phone .contact-card__icon { background: rgba(212, 160, 23, 0.15); color: var(--gold-600); }

.contact-card__body strong {
    display: block;
    color: var(--emerald-900);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-card__body p {
    margin: 0 0 0.65rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.contact-card__value {
    display: inline-block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--emerald-800);
    direction: ltr;
    unicode-bidi: isolate;
}

.contact-card__action {
    margin-top: auto;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--emerald-700);
    background: var(--sand-100);
}

.contact-card--whatsapp:hover .contact-card__action { color: #128c7e; }
.contact-card--phone:hover .contact-card__action { color: var(--gold-600); }
.contact-card--email:hover .contact-card__action { color: var(--emerald-800); }
.contact-card--messenger:hover .contact-card__action { color: #0084ff; }
.contact-card--facebook:hover .contact-card__action { color: #1877f2; }

@media (max-width: 640px) {
    .contact-card--compact {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-card--compact .contact-card__action {
        margin-inline-start: 0;
    }
}

/* ── Footer social buttons ── */
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.footer-social__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: transform 0.15s ease;
}

.footer-social__btn svg {
    width: 0.95rem;
    height: 0.95rem;
    fill: currentColor;
}

.footer-social__btn:hover {
    transform: translateY(-1px);
    color: var(--white);
}

.footer-social__btn--whatsapp { background: #25d366; }
.footer-social__btn--messenger { background: #0084ff; }
.footer-social__btn--facebook { background: #1877f2; }

@media (max-width: 900px) {
    .footer-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem 1rem;
    }

    .footer-layout__brand {
        grid-column: 1 / -1;
        padding-inline-end: 0;
        border-inline-end: none;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-nav-col__title {
        font-size: 0.6875rem;
    }

    .footer-links a {
        font-size: 0.75rem;
        padding: 0.15rem 0;
    }

    .footer-brand__tagline {
        display: none;
    }
}

@media (max-width: 640px) {
    .footer-layout {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-layout__brand {
        grid-column: 1 / -1;
        border-inline-end: none;
        padding-inline-end: 0;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-brand__tagline {
        display: block;
    }

    .footer-bottom__inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ── Earn points page ── */
.points-page {
    text-align: start;
}

.points-page .block-title {
    text-align: start;
}

.points-intro {
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.points-dual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 0;
    overflow: hidden;
    margin-bottom: 2rem;
}

.points-dual__item {
    padding: 1.35rem 1.5rem;
}

.points-dual__item + .points-dual__item {
    border-inline-start: 1px solid var(--sand-200);
}

.points-dual__item strong {
    display: block;
    color: var(--emerald-800);
    margin-bottom: 0.35rem;
}

.points-dual__item p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0;
}

.points-section {
    margin-bottom: 2.25rem;
}

.points-section--split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.points-card {
    padding: 1.5rem;
    text-align: start;
}

.points-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.points-list {
    margin: 0.75rem 0 0;
    padding-inline-start: 1.25rem;
    color: var(--text-muted);
}

.points-list li + li {
    margin-top: 0.35rem;
}

.points-split-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.points-split-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px dashed var(--sand-200);
    font-size: 0.92rem;
}

.points-split-list li:last-child {
    border-bottom: none;
}

.points-split-list strong {
    color: var(--emerald-700);
}

.earn-rules--page {
    margin-bottom: 0.75rem;
}

.earn-rule--page {
    text-align: start;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.earn-rule__amount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.25rem;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: var(--emerald-800);
    color: var(--gold-400);
    font-size: 0.9rem;
}

.earn-rule__label {
    font-size: 0.92rem;
    color: var(--text);
}

.points-ranks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.85rem;
}

.points-rank {
    background: var(--white);
    border: 1px solid var(--sand-200);
    border-top: 3px solid var(--rank-color, var(--gold-500));
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
}

.points-rank__icon {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

.points-rank strong {
    display: block;
    color: var(--emerald-900);
    margin-bottom: 0.2rem;
}

.points-rank span:last-child {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.points-cta {
    padding: 2rem 1.75rem;
    text-align: center;
}

.points-cta .block-title,
.points-cta p {
    text-align: center;
}

.points-cta p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 1.25rem;
}

.points-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

@media (max-width: 768px) {
    .points-dual,
    .points-section--split {
        grid-template-columns: 1fr;
    }

    .points-dual__item + .points-dual__item {
        border-inline-start: none;
        border-top: 1px solid var(--sand-200);
    }
}

/* ── Company dashboard ── */
.company-dashboard {
    text-align: start;
}

.page-header--compact {
    padding: 2rem 0 1.25rem;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.company-stat {
    background: var(--white);
    border: 1px solid var(--sand-200);
    border-radius: var(--radius-lg);
    padding: 1rem 1.15rem;
}

.company-stat--highlight {
    border-color: var(--gold-500);
    background: linear-gradient(135deg, rgba(212, 160, 23, 0.08), var(--white));
}

.company-stat__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.company-stat strong {
    display: block;
    font-size: 1.45rem;
    color: var(--emerald-900);
    line-height: 1.2;
}

.company-stat small {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.company-dashboard-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.company-panel {
    background: var(--white);
    border: 1px solid var(--sand-200);
    border-radius: var(--radius-lg);
    padding: 1.15rem 1.25rem;
}

.company-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.company-panel__head h2 {
    font-size: 1.05rem;
    color: var(--emerald-900);
}

.company-panel__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--emerald-700);
    text-decoration: none;
}

.company-orders {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.company-order {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.75rem 1rem;
    align-items: center;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--sand-200);
    border-radius: var(--radius);
    background: var(--cream);
}

.company-order--new {
    border-color: var(--gold-500);
    background: rgba(240, 201, 74, 0.08);
}

.company-order__main strong {
    display: block;
    color: var(--emerald-900);
}

.company-order__meta {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.company-order__contact {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.82rem;
}

.company-order__contact a {
    color: var(--emerald-700);
    text-decoration: none;
    direction: ltr;
    unicode-bidi: isolate;
}

.company-order__status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    white-space: nowrap;
}

.company-order__status--new { background: #fef3c7; color: #92400e; }
.company-order__status--contacted { background: #dbeafe; color: #1e40af; }
.company-order__status--confirmed { background: #d1fae5; color: #065f46; }
.company-order__status--closed { background: #e5e7eb; color: #374151; }

.company-notifications {
    list-style: none;
    padding: 0;
    margin: 0;
}

.company-notifications__item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--sand-200);
}

.company-notifications__item:last-child {
    border-bottom: none;
}

.company-notifications__item p {
    margin: 0 0 0.35rem;
    font-size: 0.875rem;
}

.company-notifications__item a {
    display: inline-block;
    font-size: 0.82rem;
    color: var(--emerald-700);
    direction: ltr;
}

.company-notifications__item time {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.company-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.company-nav a.is-active {
    background: var(--emerald-800);
    color: var(--white);
    border-color: var(--emerald-800);
}

.company-nav__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    margin-inline-start: 0.35rem;
    border-radius: 999px;
    background: #ef4444;
    color: var(--white);
    font-size: 0.7rem;
    line-height: 1;
}

.company-inquiries-table-wrap {
    overflow-x: auto;
    background: var(--white);
    border: 1px solid var(--sand-200);
    border-radius: var(--radius-lg);
}

.company-inquiries-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.company-inquiries-table th,
.company-inquiries-table td {
    padding: 0.75rem 0.85rem;
    text-align: start;
    border-bottom: 1px solid var(--sand-200);
    vertical-align: top;
}

.company-inquiries-table th {
    background: var(--cream);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.company-inquiries-table__row--new {
    background: rgba(240, 201, 74, 0.06);
}

.company-inquiries-table__time {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.company-inquiry-form select {
    padding: 0.35rem 0.5rem;
    border-radius: 8px;
    border: 1px solid var(--sand-200);
    font-size: 0.8125rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.package-show {
    text-align: start;
}

.package-show-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.package-show__price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--emerald-800);
    margin-bottom: 0.5rem;
}

.package-show__meta {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.package-show__desc {
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.package-show__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.package-show__inquiry h2 {
    font-size: 1.15rem;
    color: var(--emerald-900);
    margin-bottom: 0.35rem;
}

.package-show__inquiry p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.contact-hub {
    margin-top: 1.25rem;
}

.contact-hub__intro {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.contact-hub__panel {
    padding: 1rem 0;
    border-top: 1px solid var(--border-soft, #e8ece9);
}

.contact-hub__panel--approved {
    margin-top: 0.5rem;
}

.contact-hub__panel h3 {
    font-size: 1rem;
    color: var(--emerald-900);
    margin-bottom: 0.5rem;
}

.contact-hub__notice {
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
}

.contact-hub__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.contact-chat__messages {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 360px;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding: 0.25rem;
}

.contact-chat__message {
    background: var(--surface-muted, #f4f7f5);
    border-radius: 0.75rem;
    padding: 0.75rem 0.9rem;
    max-width: 92%;
}

.contact-chat__message.is-self {
    align-self: flex-end;
    background: rgba(26, 133, 94, 0.12);
}

.contact-chat__message strong {
    display: block;
    font-size: 0.82rem;
    margin-bottom: 0.25rem;
}

.contact-chat__message p {
    margin: 0;
    line-height: 1.55;
}

.contact-chat__message time {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.contact-chat__form textarea {
    width: 100%;
}

.contact-inbox-list {
    display: grid;
    gap: 0.75rem;
}

.contact-inbox-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
}

.contact-inbox-item p {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-inbox-item__package {
    display: block;
    color: var(--emerald-800);
    font-size: 0.85rem;
    margin-top: 0.15rem;
}

.contact-inbox-item time {
    white-space: nowrap;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.contact-thread__head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-thread__meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.contact-thread__status {
    font-size: 0.8rem;
    color: var(--emerald-800);
    background: rgba(26, 133, 94, 0.1);
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
}

.contact-thread__handler {
    margin: -0.35rem 0 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-inbox-note,
.contact-monitor-note {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    background: rgba(26, 133, 94, 0.08);
    border: 1px solid rgba(26, 133, 94, 0.12);
    color: var(--green-800);
    font-size: 0.9rem;
    text-align: start;
}

.contact-inbox-item__assignee {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: var(--emerald-800);
    font-weight: 600;
}

.contact-assign {
    margin-bottom: 1rem;
    text-align: start;
}

.contact-assign--info {
    color: var(--text-muted);
}

.contact-assign__title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    color: var(--green-900);
}

.contact-assign__hint {
    margin: 0 0 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-assign__form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem 1rem;
}

.contact-assign__form .form-group {
    flex: 1;
    min-width: min(100%, 260px);
    margin-bottom: 0;
}

.contact-assign__select {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius);
    font: inherit;
    background: var(--white);
}

.activity-log-intro {
    margin: 0 0 1rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    text-align: start;
}

.activity-log-filters {
    margin-bottom: 1rem;
    text-align: start;
}

.activity-log-filters__select {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius);
    font: inherit;
    background: var(--white);
}

.activity-log-table-wrap {
    margin-top: 0.5rem;
}

.activity-log-table__time {
    white-space: nowrap;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.activity-log-badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--cream);
    color: var(--green-800);
}

.activity-log-badge--login,
.activity-log-badge--logout {
    background: rgba(26, 133, 94, 0.12);
}

.activity-log-badge--conversation_assigned,
.activity-log-badge--conversation_message_sent {
    background: rgba(212, 160, 23, 0.18);
    color: #92400e;
}

.activity-log-badge--inquiry_status_updated {
    background: rgba(13, 148, 136, 0.12);
    color: #0f766e;
}

.company-affiliation {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.82rem;
    color: var(--emerald-800);
}

.profile-alert--info {
    background: rgba(26, 133, 94, 0.08);
    border: 1px solid rgba(26, 133, 94, 0.15);
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.invite-url-field {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--border-soft, #e8ece9);
    border-radius: 0.5rem;
    font-size: 0.85rem;
}

@media (max-width: 960px) {
    .company-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .company-dashboard-grid,
    .package-show-grid {
        grid-template-columns: 1fr;
    }

    .company-order {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ── Identity badge & profile passport ── */
.identity-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(26, 133, 94, 0.12);
    color: var(--emerald-700);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
    vertical-align: middle;
}

.identity-badge__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background: var(--emerald-700);
    color: var(--white);
    font-size: 0.7rem;
}

.dashboard-welcome {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.profile-summary__name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.profile-form__section {
    font-size: 1.05rem;
    color: var(--emerald-900);
    margin: 1.5rem 0 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid var(--sand-200);
}

.profile-form__hint {
    margin: -0.35rem 0 1rem;
}

.profile-form__subsection {
    font-size: 0.98rem;
    color: var(--emerald-900);
    margin: 1.25rem 0 0.5rem;
}

.profile-form__note {
    margin: 1rem 0;
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius);
    background: var(--cream);
    font-size: 0.88rem;
    color: var(--text-muted);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.5rem 1rem;
}

.religious-sites-panel {
    margin-bottom: 1rem;
}

.trip-program-list,
.trip-sites-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.trip-sites-list li {
    padding: 0.45rem 0.75rem;
    background: var(--cream);
    border-radius: var(--radius);
}

.profile-alert {
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    background: rgba(212, 160, 23, 0.12);
    border: 1px solid rgba(212, 160, 23, 0.35);
    color: #92400e;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.profile-passport-preview {
    margin-top: 0.75rem;
}

.profile-passport-preview img {
    max-width: 220px;
    max-height: 160px;
    border-radius: var(--radius);
    border: 1px solid var(--sand-200);
    object-fit: cover;
}

.auth-page {
    text-align: start;
}

.profile-form {
    text-align: start;
}

/* ── Provider identification & business profile ── */
.provider-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.3;
    vertical-align: middle;
    white-space: nowrap;
}

.provider-badge--unidentified {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.package-card__title,
.package-compact__title,
.package-show__title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.profile-section-title {
    margin: 1.5rem 0 0.35rem;
    font-size: 1.05rem;
    color: var(--green-900);
}

.profile-section-desc {
    margin-bottom: 1rem;
}

.company-profile-alert {
    max-width: none;
    margin-bottom: 1.25rem;
}

.company-profile-alert a {
    color: var(--green-800);
    font-weight: 700;
    margin-inline-start: 0.35rem;
}

.flash--warning {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    color: #92400e;
}

.auth-card--wide {
    max-width: 620px;
}

/* ── Trip cards & sorting ── */
.section-block__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.trip-sort-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
}

.trip-sort-bar label {
    color: var(--text-muted);
    font-weight: 600;
}

.trip-sort-bar select {
    min-width: 140px;
    padding: 0.45rem 0.65rem;
    border: 1px solid var(--sand-200);
    border-radius: var(--radius);
    background: var(--white);
}

.trip-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.trip-card__company {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid var(--sand-100);
}

.trip-card__company-logo {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--sand-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
    color: var(--emerald-800);
}

.trip-card__company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trip-card__company-meta {
    flex: 1;
    min-width: 0;
}

.trip-card__company-meta strong {
    display: block;
    font-size: 0.92rem;
    color: var(--emerald-900);
}

.trip-card__company-rating {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.trip-card__offer {
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: rgba(212, 160, 23, 0.15);
    color: #92400e;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.trip-card__body {
    padding: 1rem;
    flex: 1;
}

.trip-card__title {
    font-size: 1.05rem;
    margin: 0.35rem 0 0.5rem;
}

.trip-card__hotel {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 0.65rem;
}

.trip-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    font-size: 0.82rem;
    color: var(--emerald-800);
    margin-bottom: 0.75rem;
}

.trip-card__price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--emerald-800);
    margin: 0;
}

.trip-card__footer {
    padding: 0 1rem 1rem;
    margin-top: auto;
}

/* ── Trip detail page ── */
.trip-show__company {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.trip-show__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.trip-show__badge,
.trip-show__no-offer {
    display: inline-flex;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}

.trip-show__badge {
    background: rgba(26, 133, 94, 0.1);
    color: var(--emerald-800);
}

.trip-show__no-offer {
    background: var(--sand-100);
    color: var(--text-muted);
}

.trip-show__main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trip-show__section h2 {
    font-size: 1.05rem;
    color: var(--emerald-900);
    margin-bottom: 0.75rem;
}

.trip-show__price-card {
    padding: 1rem 1.15rem;
}

.trip-show__note {
    margin-top: 0.85rem;
    font-size: 0.88rem;
    color: #92400e;
    background: rgba(212, 160, 23, 0.1);
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius);
}

.trip-table-wrap {
    overflow-x: auto;
}

.trip-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.trip-table th,
.trip-table td {
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid var(--sand-200);
    text-align: start;
}

.trip-table th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.82rem;
}

.trip-reviews {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.trip-review {
    padding: 0.85rem;
    border: 1px solid var(--sand-200);
    border-radius: var(--radius);
}

.trip-review__head {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.trip-show__supervisor-inner {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.trip-show__supervisor-photo {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sand-200);
}

.photo-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.photo-preview-grid img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--sand-200);
}

.repeater-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.repeater-row {
    padding: 0.85rem;
    border: 1px dashed var(--sand-200);
    border-radius: var(--radius);
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
}

.auth-card__links {
    margin: 0.35rem 0 0.85rem;
    text-align: end;
}

.auth-card__links a {
    color: var(--green-700);
    font-weight: 600;
    font-size: 0.92rem;
}

.maintenance-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.maintenance-page__wrap {
    width: 100%;
    max-width: 560px;
}

.maintenance-page__card {
    background: #fff;
    border-radius: 22px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.maintenance-page__card h1 {
    margin: 1rem 0 0.75rem;
    color: var(--green-900);
}

.maintenance-page__card p {
    color: #4a5c55;
    margin-bottom: 1.25rem;
}

/* Rich text editor (TinyMCE) */
.rich-text-editor-wrap .tox-tinymce {
    border-radius: var(--radius);
    border-color: var(--sand-200);
    overflow: hidden;
}

.rich-text-editor-wrap .tox .tox-edit-area__iframe {
    background: #fff;
}

.rich-text-editor-hint {
    margin-top: 0.5rem;
}

/* Rendered article HTML */
.rich-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--green-900);
    word-wrap: break-word;
}

.rich-content > *:first-child {
    margin-top: 0;
}

.rich-content > *:last-child {
    margin-bottom: 0;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
    margin: 1.5rem 0 0.75rem;
    color: var(--green-900);
    line-height: 1.35;
}

.rich-content h2 { font-size: 1.65rem; }
.rich-content h3 { font-size: 1.35rem; }
.rich-content h4 { font-size: 1.15rem; }

.rich-content p {
    margin: 0 0 1rem;
}

.rich-content ul,
.rich-content ol {
    margin: 0 0 1rem;
    padding-inline-start: 1.5rem;
}

.rich-content li {
    margin-bottom: 0.35rem;
}

.rich-content a {
    color: var(--green-700);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1rem 0;
}

.rich-content blockquote {
    margin: 1.25rem 0;
    padding: 0.85rem 1.15rem;
    border-inline-start: 4px solid var(--gold-500);
    background: var(--sand-50);
    border-radius: 0 12px 12px 0;
    color: #4a5c55;
}

.rich-content pre {
    margin: 1.25rem 0;
    padding: 1rem 1.15rem;
    background: var(--green-900);
    color: var(--sand-50);
    border-radius: 12px;
    overflow-x: auto;
    font-size: 0.92rem;
    line-height: 1.6;
}

.rich-content code {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.92em;
}

.rich-content :not(pre) > code {
    padding: 0.15rem 0.4rem;
    background: var(--sand-100);
    border-radius: 6px;
    color: var(--green-900);
}

.rich-content table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.95rem;
}

.rich-content th,
.rich-content td {
    border: 1px solid var(--sand-200);
    padding: 0.65rem 0.85rem;
    text-align: start;
}

.rich-content th {
    background: var(--sand-50);
    font-weight: 600;
}

.rich-content hr {
    border: none;
    border-top: 1px solid var(--sand-200);
    margin: 1.5rem 0;
}

.rich-content figure {
    margin: 1.25rem 0;
}

.rich-content figcaption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #4a5c55;
    text-align: center;
}

.compare-toggle {
    border: 1px solid var(--sand-200);
    background: #fff;
    color: var(--green-800);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.compare-toggle.is-active {
    background: var(--green-800);
    border-color: var(--green-800);
    color: #fff;
}

.company-card__footer,
.trip-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.compare-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    background: var(--green-900);
    color: #fff;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
}

.compare-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
}

.compare-bar__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.compare-modal {
    position: fixed;
    inset: 0;
    z-index: 130;
    padding: 1rem;
}

.compare-modal:not([hidden]) {
    display: grid;
    place-items: center;
}

.compare-modal[hidden] {
    display: none !important;
}

.compare-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 46, 34, 0.55);
}

.compare-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 480px);
    padding: 1.5rem;
    text-align: center;
}

.compare-modal__close {
    position: absolute;
    top: 0.75rem;
    inset-inline-end: 0.75rem;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
}

.compare-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1rem;
}

.compare-table-wrap {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    padding: 0.85rem;
    border-bottom: 1px solid var(--sand-200);
    text-align: start;
    vertical-align: top;
}

.compare-table th {
    background: var(--sand-50);
}

.compare-guest-card {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.topic-list-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--sand-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.topic-list-toolbar__hint {
    margin: 0;
    color: var(--text-muted);
}

.topic-list-toolbar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.topic-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.topic-card {
    width: 100%;
}

.topic-card:hover {
    transform: none;
}

.topic-card__body {
    padding: 1.25rem 1.5rem;
}

.topic-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-bottom: 0.65rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.topic-card__title {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
    line-height: 1.45;
}

.topic-card__title a {
    color: var(--green-900);
    text-decoration: none;
}

.topic-card__title a:hover {
    color: var(--green-700);
}

.topic-card__excerpt {
    margin: 0 0 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.topic-card__link {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: var(--green-800);
    text-decoration: none;
}

.topic-card__link:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .container {
        width: min(1200px, 94%);
    }

    .hero {
        padding: 3rem 0 2.5rem;
    }

    .page-header {
        padding: 2rem 0;
    }

    .page-header h1 {
        font-size: clamp(1.35rem, 6vw, 2rem);
    }

    .page-content {
        padding: 2rem 0;
    }

    .auth-card {
        padding: 1.35rem 1.15rem;
    }

    .article-card,
    .comments-section,
    .review-form-card,
    .guide-section-card {
        padding: 1.15rem;
    }

    .topic-list-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .topic-list-toolbar__actions {
        width: 100%;
    }

    .compare-bar__inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 0.65rem;
    }

    .compare-bar__actions {
        justify-content: center;
    }

    .home-stat strong {
        font-size: 1.35rem;
    }
}

@media (max-width: 480px) {
    .company-stats,
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
}

