/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --gold: #D4AF37;
    --gold-light: #E6C55A;
    --gold-dark: #B8941F;
    --dark-green: #1B4B36;
    --dark-green-light: #2A6B4A;
    --dark-green-dark: #0F2E20;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --gray-light: #F8F9FA;
    --gray-medium: #6C757D;
    --gray-dark: #343A40;
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 12px 36px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

body.lightbox-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray-dark);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark-green);
    border: 2px solid var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--dark-green);
    border: 2px solid var(--dark-green);
}

.btn-outline:hover {
    background: var(--dark-green);
    color: var(--white);
}

/* Navigation */
/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    padding: 0.76rem 0;
    box-shadow: 0 16px 38px rgba(15, 35, 24, 0.07);
    border-bottom: 1px solid rgba(27, 75, 54, 0.08);
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.navbar.sticky {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
}

.nav-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 18px 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    text-decoration: none;
    flex-shrink: 0;
    margin-left: -6px;
}

.nav-logo img {
    width: 56px;
    height: auto;
    display: block;
}

.nav-logo-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.nav-logo-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--dark-green-dark);
}

.nav-logo-tagline {
    font-size: 0.76rem;
    line-height: 1.15;
    color: var(--gray-medium);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.05rem;
    align-items: center;
    justify-content: center;
    flex: 1;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-green);
    font-weight: 600;
    font-size: 0.99rem;
    line-height: 1;
    padding: 0.28rem 0.18rem;
    transition: var(--transition);
    position: relative;
    border: none;
    outline: none;
    background: transparent;
}

.nav-link:focus {
    outline: none;
}

.nav-link:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
    border-radius: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
    margin-left: auto;
    padding: 0.32rem;
    border-radius: 999px;
    background: rgba(241, 245, 241, 0.94);
    border: 1px solid rgba(27, 75, 54, 0.08);
    box-shadow: 0 10px 24px rgba(15, 35, 24, 0.06);
}

.nav-icon-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.nav-icon-link {
    background: transparent;
    color: var(--dark-green);
    border: 1px solid transparent;
}

.nav-icon-link:hover {
    background: rgba(255, 255, 255, 0.96);
    color: var(--gold-dark);
    transform: translateY(-2px);
    border-color: rgba(27, 75, 54, 0.08);
}

.nav-cta,
.nav-menu .btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 38px;
    padding: 0.68rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.84rem;
    line-height: 1;
    white-space: nowrap;
    color: var(--white);
    background: linear-gradient(135deg, #d6b241, #b99122);
    border: 1px solid rgba(150, 115, 16, 0.16);
    box-shadow: 0 12px 24px rgba(184, 148, 31, 0.2);
    transition: var(--transition);
}

.nav-actions .nav-cta {
    min-height: 36px;
    padding: 0.62rem 0.92rem;
    font-size: 0.81rem;
    box-shadow: 0 10px 20px rgba(184, 148, 31, 0.18);
}

.nav-cta:hover,
.nav-menu .btn-register:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(184, 148, 31, 0.24);
}

.nav-cta::after,
.nav-menu .btn-register::after {
    display: none;
}

.nav-item-mobile-only {
    display: none;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(15, 35, 24, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    min-width: 220px;
    list-style: none;
    padding: 0.6rem 0;
    margin: 0.75rem 0 0 0;
    border: 1px solid rgba(27, 75, 54, 0.08);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Show class for JavaScript controlled dropdowns */
.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.1rem;
    color: var(--dark-green);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropdown-menu a:hover {
    background: var(--gray-light);
    color: var(--gold);
    padding-left: 1.5rem;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown .nav-link i {
    font-size: 0.8rem;
    margin-left: 0.5rem;
    transition: var(--transition);
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

/* User Dropdown Button Styles */
.user-dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.72rem 1rem;
    background: linear-gradient(135deg, #d6b241, #b99122);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.84rem;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(184, 148, 31, 0.2);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.user-dropdown .nav-link:hover {
    background: linear-gradient(135deg, #dfbf58, #c39929);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(184, 148, 31, 0.24);
}

.user-dropdown .nav-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(221, 184, 146, 0.3);
}

.user-dropdown .nav-link i:first-child {
    font-size: 1rem;
}

.user-dropdown .nav-link i:last-child {
    font-size: 0.8rem;
    transition: var(--transition);
}

.user-dropdown .nav-link:hover i:last-child {
    transform: rotate(180deg);
}

/* Remove the default nav-link after pseudo element for user dropdown */
.user-dropdown .nav-link::after {
    display: none;
}

/* User dropdown positioning and functionality */
.user-dropdown {
    position: relative;
}

.user-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    min-width: 220px;
    border-radius: 12px;
    padding: 0.75rem 0;
    background: var(--white);
    box-shadow: var(--shadow-strong);
    border: 1px solid var(--gray-light);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

/* User dropdown show state */
.user-dropdown .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.user-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--dark-green);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.user-dropdown .dropdown-item:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--white);
    transform: translateX(5px);
}

.user-dropdown .dropdown-item.active {
    background: var(--gold);
    color: var(--white);
}

.user-dropdown .dropdown-item i {
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.user-dropdown .dropdown-divider {
    height: 1px;
    background: var(--gray-light);
    margin: 0.5rem 0;
}

/* Ensure dropdown is visible and clickable when shown */
.nav-menu .user-dropdown .dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    display: block !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--dark-green);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hamburger Animation */
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-actions {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        right: -320px;
        top: 72px;
        flex-direction: column;
        background-color: white;
        width: 280px;
        max-width: 85vw;
        text-align: left;
        transition: right 0.3s ease;
        box-shadow: 0 12px 32px rgba(15, 35, 24, 0.12);
        z-index: 1000;
        padding: 1rem 0.85rem;
        border-top: 1px solid rgba(27, 75, 54, 0.08);
        border-radius: 14px 0 0 14px;
        height: auto;
        max-height: 50vh;
        min-height: auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        list-style: none;
        margin: 0;
        gap: 4px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(15, 35, 24, 0.35);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }

    .nav-backdrop.show {
        opacity: 1;
        visibility: visible;
    }

    .nav-item {
        margin: 0;
        border-bottom: 1px solid #f3f5f3;
        padding: 0;
        list-style: none;
        width: 100%;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.95rem 1rem;
        display: flex;
        align-items: center;
        gap: 12px;
        color: var(--dark-green);
        text-decoration: none;
        border-radius: 12px;
        width: 100%;
        font-weight: 600;
        line-height: 1.3;
        white-space: normal;
    }

    .nav-link i {
        width: 22px;
        text-align: center;
        font-size: 1.05rem;
        color: var(--gold-dark);
        flex-shrink: 0;
    }

    .nav-link:hover {
        background-color: #f6f8f5;
        color: var(--gold-dark);
    }

    .nav-link.active {
        background-color: rgba(212, 175, 55, 0.12);
        color: var(--dark-green);
    }

    .nav-link::after {
        display: none;
    }

    .user-dropdown {
        width: 100%;
    }

    .user-dropdown .nav-link {
        width: 100%;
        justify-content: space-between;
        background: linear-gradient(135deg, var(--gold), var(--gold-dark));
        color: var(--dark-green);
    }

    .user-dropdown .nav-link i:last-child {
        color: var(--dark-green);
    }

    .user-dropdown .dropdown-menu {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        background: #f8faf9 !important;
        margin-top: 8px;
        border-radius: 12px;
        padding: 6px;
        display: none;
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }

    .user-dropdown .dropdown-menu.show {
        display: block !important;
    }

    .nav-item-mobile-only {
        display: block;
    }

    .mobile-cta-link {
        width: 100%;
        max-width: none;
        margin: 0.55rem 0 0.1rem;
        border-radius: 16px;
        background: linear-gradient(135deg, #d6b241, #b99122);
        color: var(--white);
        box-shadow: 0 12px 24px rgba(184, 148, 31, 0.18);
        text-align: center;
    }

    .mobile-cta-link::after {
        display: none;
    }

    .mobile-cta-link:hover {
        background: linear-gradient(135deg, #dfbf58, #c39929);
        color: var(--white);
    }
    
    /* Mobile dropdown styles */
    .dropdown .dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 1px solid rgba(27, 75, 54, 0.06);
        background: #f8f9fa;
        margin: 0.45rem 0 0.65rem;
        border-radius: 14px;
        padding: 0.35rem 0;
    }
    
    .dropdown .dropdown-menu .dropdown-item {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
        color: #555;
        background: transparent;
        border: none;
        text-align: left;
        width: 100%;
        display: block;
    }
    
    .dropdown .dropdown-menu .dropdown-item:hover {
        background-color: #e9ecef;
        color: var(--gold-dark);
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    
    /* User dropdown mobile styles */
    .user-dropdown {
        width: 100%;
        display: block;
        position: relative;
    }
    
    .user-dropdown .nav-link {
        width: 100%;
        padding: 0.95rem 1rem;
        font-size: 0.95rem;
        border-radius: 16px;
        min-width: 0;
        justify-content: space-between;
    }
    
    .user-dropdown .dropdown-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        width: 280px;
        max-width: 90vw;
        margin: 0.5rem auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        border-radius: 12px;
        border: 1px solid #e9ecef;
        background: white;
        z-index: 1001;
        pointer-events: none;
    }
    
    .user-dropdown .dropdown-menu.show {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
        display: block !important;
    }
    
    /* Ensure mobile navigation has proper z-index */
    .nav-menu.active {
        z-index: 1000;
    }
    
    /* Mobile dropdown items */
    .user-dropdown .dropdown-item {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
    
    .user-dropdown .dropdown-item i {
        font-size: 1.1rem;
        width: 20px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    min-height: min(860px, calc(100vh - 72px));
    padding: 2.2rem 0 4rem;
    background: #173524;
}

.guest-home .hero .container {
    max-width: 1320px;
    padding: 0 24px;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(104deg, rgba(10, 19, 15, 0.88) 10%, rgba(15, 35, 26, 0.76) 43%, rgba(17, 39, 29, 0.38) 100%),
        linear-gradient(180deg, rgba(12, 24, 19, 0.18) 0%, rgba(12, 24, 19, 0.66) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    color: var(--white);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 460px);
    gap: 4.25rem;
    align-items: center;
    min-height: calc(100vh - 200px);
}

.hero-copy {
    max-width: 700px;
    padding-block: 0.75rem;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1.05rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.34);
    background: rgba(15, 26, 21, 0.62);
    color: #f0d172;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.hero-kicker i {
    font-size: 0.9rem;
}

.hero-title {
    max-width: 760px;
    font-size: clamp(2.9rem, 4.4vw, 4.25rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin: 1.15rem 0 1.05rem;
    color: var(--white);
    text-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

.hero-title span {
    color: var(--gold-light);
}

.hero-subtitle {
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 1.85rem;
    color: rgba(255, 255, 255, 0.86);
    max-width: 620px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.55rem;
}

.hero-buttons .btn {
    min-width: 156px;
    padding: 0.92rem 1.35rem;
}

.hero-highlights {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    max-width: 720px;
}

.hero-highlight {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: auto;
    max-width: 100%;
    padding: 0.82rem 1rem;
    border-radius: 999px;
    background: rgba(24, 36, 31, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.94rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.hero-highlight i {
    color: var(--gold);
    font-size: 1rem;
}

.hero-search-panel {
    display: flex;
    justify-content: flex-end;
    align-self: center;
}

.hero-search-card {
    width: 100%;
    max-width: 448px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 28px;
    padding: 2rem 1.9rem 1.65rem;
    margin-left: auto;
    box-shadow: 0 32px 90px rgba(10, 24, 19, 0.26);
}

.hero-search-header {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
    margin-bottom: 1.35rem;
}

.hero-search-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.16);
    color: var(--gold-dark);
    flex-shrink: 0;
}

.hero-search-card h2 {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #183726;
    margin: 0;
}

.hero-search-card p {
    margin: 0.35rem 0 0;
    color: #65746c;
    font-size: 0.92rem;
    line-height: 1.6;
}

.hero-search-form {
    display: grid;
    gap: 1rem;
}

.hero-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.hero-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.hero-field label {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7c867f;
}

.hero-field input,
.hero-field select {
    width: 100%;
    padding: 0.9rem 0.95rem;
    border-radius: 14px;
    border: 1px solid #dde5df;
    background: #fbfcfb;
    color: #22362c;
    font: inherit;
    transition: var(--transition);
}

.hero-field input::placeholder {
    color: #97a29b;
}

.hero-field input:focus,
.hero-field select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.16);
}

.hero-search-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.hero-stat {
    padding: 0.88rem 0.95rem;
    border-radius: 18px;
    background: #f6f7f2;
    border: 1px solid #ebeee8;
}

.hero-stat-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #869089;
    margin-bottom: 0.35rem;
}

.hero-stat-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #183726;
}

.hero-search-submit {
    width: 100%;
    min-height: 54px;
    border-radius: 16px;
    font-weight: 700;
    box-shadow: 0 16px 30px rgba(184, 148, 31, 0.26);
}

.hero-search-submit i {
    margin-right: 0.55rem;
}

.hero-search-help {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
    color: #63716a;
    font-size: 0.92rem;
}

.hero-search-help i {
    color: #26b35f;
    font-size: 1.05rem;
}

.hero-search-help a {
    color: var(--gold-dark);
    font-weight: 700;
    text-decoration: none;
}

.hero-search-help a:hover {
    color: var(--dark-green);
}

/* Home Packages Showcase */
.trust-metrics {
    padding: 2.5rem 0 2.25rem;
    background: #f7f4eb;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.trust-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.trust-metric {
    text-align: center;
    padding: 0.75rem 1rem;
    position: relative;
}

.trust-metric:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -0.75rem;
    width: 1px;
    height: 52px;
    background: rgba(212, 175, 55, 0.22);
    transform: translateY(-50%);
}

.trust-metric-value {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 4vw, 3.5rem);
    line-height: 1;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.trust-metric-label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #4f5f56;
}

.featured-packages-home {
    padding: 4.75rem 0 5.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfaf5 100%);
}

.featured-packages-home .section-header {
    margin-bottom: 2.25rem;
}

.featured-packages-home .section-header h2 {
    font-size: clamp(2.5rem, 4.8vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
}

.featured-packages-home .section-header p {
    max-width: 760px;
    font-size: 1.12rem;
    line-height: 1.75;
}

.showcase-filter-bar {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(0, 1fr)) auto;
    gap: 0.9rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.showcase-filter-search {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 58px;
    padding: 0 1rem;
    border-radius: 18px;
    border: 1px solid #ebe9e1;
    background: #fffdf8;
    box-shadow: 0 8px 24px rgba(15, 35, 24, 0.04);
}

.showcase-filter-search i {
    color: #23392e;
    font-size: 0.95rem;
}

.showcase-filter-search input {
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    color: #20352a;
}

.showcase-filter-search input:focus {
    outline: none;
}

.showcase-filter-search input::placeholder {
    color: #a3a8a1;
}

.showcase-filter-select,
.showcase-filter-reset {
    min-height: 58px;
    border-radius: 18px;
    border: 1px solid #ebe9e1;
    background: #fffdf8;
    box-shadow: 0 8px 24px rgba(15, 35, 24, 0.04);
    font: inherit;
    color: #20352a;
}

.showcase-filter-select {
    width: 100%;
    padding: 0 1rem;
}

.showcase-filter-select:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.55);
}

.showcase-filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0 1rem;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.showcase-filter-reset:hover {
    color: var(--gold-dark);
    background: #ffffff;
}

.showcase-package-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.showcase-package-card {
    background: #ffffff;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(27, 75, 54, 0.08);
    box-shadow: 0 18px 54px rgba(15, 35, 24, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-package-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(15, 35, 24, 0.12);
}

.showcase-package-image {
    aspect-ratio: 1.36 / 1;
    overflow: hidden;
    background: #e6e0cf;
}

.showcase-package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showcase-package-body {
    padding: 1.55rem 1.4rem 1.3rem;
}

.showcase-package-body h3 {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 0.55rem;
    color: var(--dark-green);
}

.showcase-package-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
}

.showcase-package-price-value {
    font-family: var(--font-serif);
    font-size: 2.1rem;
    line-height: 1;
    font-weight: 800;
    color: var(--gold);
}

.showcase-package-price-unit {
    color: #9e8e54;
    font-weight: 600;
}

.showcase-package-duration,
.showcase-package-services span,
.showcase-package-availability {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.showcase-package-duration {
    margin-bottom: 1rem;
    color: #55645c;
    font-weight: 600;
}

.showcase-package-duration i,
.showcase-package-services i {
    font-size: 0.45rem;
    color: var(--gold);
}

.showcase-package-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    margin-bottom: 1rem;
    color: #5f6f67;
    font-size: 0.92rem;
}

.showcase-package-availability {
    margin-bottom: 1rem;
    color: #3e503f;
    font-weight: 600;
}

.showcase-package-availability i {
    color: var(--gold);
    font-size: 0.82rem;
}

.showcase-package-button {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #c5a329, #9b8120);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.showcase-package-button:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #cfad38, #a38722);
}

.home-service-advantages {
    padding: 4.5rem 0 5.4rem;
    background: linear-gradient(180deg, #fbfaf5 0%, #f7f4eb 100%);
}

.home-service-advantages-header {
    max-width: 720px;
    margin: 0 auto 2.35rem;
    text-align: center;
}

.home-service-advantages-header h2 {
    font-size: clamp(2.45rem, 4vw, 4rem);
    line-height: 1.08;
    margin-bottom: 0.9rem;
    color: var(--dark-green);
}

.home-service-advantages-header p {
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.04rem;
    line-height: 1.8;
    color: #5d6a63;
}

.home-service-advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.home-service-advantage-card {
    min-height: 220px;
    padding: 2.1rem 1.8rem 1.9rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(27, 75, 54, 0.06);
    box-shadow: 0 22px 56px rgba(15, 35, 24, 0.06);
    text-align: center;
}

.home-service-advantage-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 1.35rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.22));
    color: var(--gold-dark);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.home-service-advantage-icon i {
    font-size: 1.3rem;
}

.home-service-advantage-card h3 {
    font-size: 1.85rem;
    line-height: 1.18;
    margin-bottom: 0.7rem;
    color: var(--dark-green);
}

.home-service-advantage-card p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.75;
    color: #5f6d66;
}

.home-registration-steps {
    padding: 4.7rem 0 5.6rem;
    background: linear-gradient(180deg, #f7f4eb 0%, #ffffff 100%);
}

.home-registration-steps-header {
    max-width: 700px;
    margin: 0 auto 2.8rem;
    text-align: center;
}

.home-registration-steps-header h2 {
    font-size: clamp(2.45rem, 4vw, 4rem);
    line-height: 1.08;
    margin-bottom: 0.85rem;
    color: var(--dark-green);
}

.home-registration-steps-header p {
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.02rem;
    line-height: 1.75;
    color: #607067;
}

.home-registration-steps-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.home-registration-steps-track::before {
    content: "";
    position: absolute;
    top: 37px;
    left: 8.5%;
    right: 8.5%;
    height: 2px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.52), rgba(212, 175, 55, 0.82), rgba(212, 175, 55, 0.52));
    z-index: 0;
}

.home-registration-step-card {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 0.35rem;
}

.home-registration-step-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 1.15rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dec15c, #c8a62d);
    color: #ffffff;
    box-shadow: 0 16px 36px rgba(200, 166, 45, 0.24);
    border: 8px solid #fcfaf3;
}

.home-registration-step-icon i {
    font-size: 1.2rem;
}

.home-registration-step-number {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    right: 24px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-green);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(27, 75, 54, 0.22);
}

.home-registration-step-card h3 {
    font-size: 1.3rem;
    line-height: 1.18;
    margin-bottom: 0.45rem;
    color: var(--dark-green);
}

.home-registration-step-card p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #62716b;
}

.home-trust-story {
    padding: 5rem 0;
    background: linear-gradient(135deg, #214d37 0%, #173524 100%);
}

.home-trust-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.96fr);
    gap: 2.8rem;
    align-items: center;
}

.home-trust-story-copy h2 {
    max-width: 560px;
    margin-bottom: 0.95rem;
    font-size: clamp(2.6rem, 4vw, 4.15rem);
    line-height: 1.05;
    color: #ffffff;
}

.home-trust-story-subtitle {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(236, 243, 238, 0.8);
}

.home-trust-story-panels {
    display: grid;
    gap: 0.95rem;
}

.home-trust-story-panel {
    padding: 1.25rem 1.35rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 18px 40px rgba(9, 23, 16, 0.12);
}

.home-trust-story-panel-label {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.65rem;
    color: #e3c45a;
    font-weight: 700;
}

.home-trust-story-panel p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.75;
    color: rgba(245, 248, 246, 0.84);
}

.home-trust-story-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.55rem;
}

.home-trust-story-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 48px;
    padding: 0.85rem 1.1rem;
    border-radius: 14px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.18);
    color: #f5e4a0;
    font-weight: 700;
}

.home-trust-story-stat i {
    color: #eccb63;
}

.home-trust-story-gallery {
    display: grid;
    gap: 1rem;
}

.home-trust-story-main-image,
.home-trust-story-side-image {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(9, 23, 16, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.home-trust-story-main-image {
    aspect-ratio: 1.38 / 1;
}

.home-trust-story-side-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.home-trust-story-side-image {
    aspect-ratio: 1.12 / 1;
}

.home-trust-story-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-partner-showcase {
    padding: 4.9rem 0 5.2rem;
    background:
        radial-gradient(circle at top center, rgba(212, 175, 55, 0.12), transparent 28%),
        linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
}

.home-partner-showcase-header {
    max-width: 760px;
    margin: 0 auto 2.7rem;
    text-align: center;
}

.home-partner-showcase-header h2 {
    font-size: clamp(2.55rem, 4vw, 4rem);
    line-height: 1.08;
    margin-bottom: 0.85rem;
    color: var(--dark-green);
}

.home-partner-showcase-header p {
    max-width: 660px;
    margin: 0 auto;
    font-size: 1.02rem;
    line-height: 1.8;
    color: #5e6d66;
}

.home-partner-showcase-block + .home-partner-showcase-block {
    margin-top: 2.35rem;
}

.home-partner-showcase-label {
    margin-bottom: 1.35rem;
    text-align: center;
    font-family: var(--font-serif);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--dark-green);
}

.home-certification-intro {
    max-width: 760px;
    margin: 0 auto 1.6rem;
    padding: 1.1rem 1.4rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(27, 75, 54, 0.06));
    border: 1px solid rgba(212, 175, 55, 0.28);
    text-align: center;
    font-size: 1rem;
    line-height: 1.7;
    color: #2f4540;
}

.home-certification-intro strong {
    color: var(--dark-green);
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.home-partner-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.home-partner-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 1.5rem 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.home-partner-marquee-track {
    display: flex;
    align-items: center;
    gap: 2.6rem;
    width: max-content;
    animation: home-partner-marquee-scroll 38s linear infinite;
    will-change: transform;
}

.home-partner-marquee:hover .home-partner-marquee-track,
.home-partner-marquee:focus-within .home-partner-marquee-track {
    animation-play-state: paused;
}

.home-partner-marquee-tile {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    min-width: 132px;
    padding: 0.7rem 1.15rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(27, 75, 54, 0.08);
    box-shadow: 0 18px 42px rgba(15, 35, 24, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-partner-marquee-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 56px rgba(15, 35, 24, 0.12);
}

.home-partner-marquee-tile img {
    display: block;
    max-height: 52px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: saturate(0.92);
    opacity: 0.92;
}

.home-partner-marquee-caption {
    margin: 1.1rem auto 0;
    max-width: 680px;
    text-align: center;
    font-size: 0.94rem;
    line-height: 1.65;
    color: #607067;
}

@keyframes home-partner-marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .home-partner-marquee-track {
        animation: none;
    }
}
.home-partner-card {
    min-height: 220px;
    padding: 1.7rem 1.45rem 1.55rem;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(27, 75, 54, 0.08);
    box-shadow: 0 22px 56px rgba(15, 35, 24, 0.06);
    text-align: center;
}

.home-partner-card-icon,
.home-certification-card-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 1.15rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(27, 75, 54, 0.12));
    color: var(--gold-dark);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.home-partner-card-icon i,
.home-certification-card-icon i {
    font-size: 1.32rem;
}

.home-partner-card h3,
.home-certification-card h3 {
    margin-bottom: 0.55rem;
    font-size: 1.55rem;
    line-height: 1.15;
    color: var(--dark-green);
}

.home-partner-card p,
.home-certification-card p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.72;
    color: #62706a;
}

.home-certification-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.home-certification-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    min-height: 200px;
    padding: 1.55rem 1.45rem;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(27, 75, 54, 0.08);
    box-shadow: 0 22px 56px rgba(15, 35, 24, 0.06);
}

.home-certification-card-icon {
    margin: 0;
}

.home-certification-card-copy {
    min-width: 0;
}

.home-certification-card-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 0.65rem;
    padding: 0.35rem 0.72rem;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.12);
    color: #866917;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.home-documentation-showcase {
    padding: 5rem 0 5.5rem;
    background: linear-gradient(180deg, #fdfcf7 0%, #ffffff 100%);
}

.home-documentation-showcase-header {
    max-width: 780px;
    margin: 0 auto 2rem;
    text-align: center;
}

.home-documentation-showcase-header h2 {
    font-size: clamp(2.55rem, 4vw, 4rem);
    line-height: 1.08;
    margin-bottom: 0.9rem;
    color: var(--dark-green);
}

.home-documentation-showcase-header p {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.02rem;
    line-height: 1.8;
    color: #5f6e67;
}

.home-documentation-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.home-documentation-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.home-documentation-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.72rem 1.2rem;
    border-radius: 999px;
    border: 1px solid #ece6d4;
    background: #ffffff;
    color: #44574c;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.home-documentation-filter:hover {
    border-color: rgba(212, 175, 55, 0.68);
    background: linear-gradient(135deg, #dfc25f, #caa730);
    color: #ffffff;
}

.home-documentation-showcase #doc-filter-all:checked ~ .home-documentation-filters label[for="doc-filter-all"],
.home-documentation-showcase #doc-filter-keberangkatan:checked ~ .home-documentation-filters label[for="doc-filter-keberangkatan"],
.home-documentation-showcase #doc-filter-ziarah:checked ~ .home-documentation-filters label[for="doc-filter-ziarah"],
.home-documentation-showcase #doc-filter-madinah:checked ~ .home-documentation-filters label[for="doc-filter-madinah"],
.home-documentation-showcase #doc-filter-makkah:checked ~ .home-documentation-filters label[for="doc-filter-makkah"] {
    border-color: rgba(212, 175, 55, 0.68);
    background: linear-gradient(135deg, #dfc25f, #caa730);
    color: #ffffff;
}

.home-documentation-filter:hover,
.home-documentation-filter.is-active {
    border-color: rgba(212, 175, 55, 0.68);
    background: linear-gradient(135deg, #dfc25f, #caa730);
    color: #ffffff;
}

.home-documentation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.home-documentation-showcase #doc-filter-all:checked ~ .home-documentation-grid .home-documentation-card {
    display: none;
}

.home-documentation-showcase #doc-filter-all:checked ~ .home-documentation-grid .doc-item--featured {
    display: block;
}

.home-documentation-showcase #doc-filter-keberangkatan:checked ~ .home-documentation-grid .home-documentation-card,
.home-documentation-showcase #doc-filter-ziarah:checked ~ .home-documentation-grid .home-documentation-card,
.home-documentation-showcase #doc-filter-madinah:checked ~ .home-documentation-grid .home-documentation-card,
.home-documentation-showcase #doc-filter-makkah:checked ~ .home-documentation-grid .home-documentation-card {
    display: none;
}

.home-documentation-showcase #doc-filter-keberangkatan:checked ~ .home-documentation-grid .doc-item--keberangkatan,
.home-documentation-showcase #doc-filter-ziarah:checked ~ .home-documentation-grid .doc-item--ziarah,
.home-documentation-showcase #doc-filter-madinah:checked ~ .home-documentation-grid .doc-item--madinah,
.home-documentation-showcase #doc-filter-makkah:checked ~ .home-documentation-grid .doc-item--makkah {
    display: block;
}

.home-documentation-card {
    background: #ffffff;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(27, 75, 54, 0.08);
    box-shadow: 0 20px 52px rgba(15, 35, 24, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-documentation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 60px rgba(15, 35, 24, 0.12);
}

.home-documentation-card.is-hidden {
    display: none;
}

.home-documentation-image {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    aspect-ratio: 0.9 / 1;
    overflow: hidden;
    background: #e8e1cf;
    cursor: default;
    text-align: left;
    text-decoration: none;
}

.home-documentation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.home-documentation-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(22, 57, 40, 0.78);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    backdrop-filter: blur(8px);
    pointer-events: none;
    z-index: 1;
}

.home-documentation-preview-hint {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 34px;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition);
    pointer-events: none;
    z-index: 1;
}

.home-documentation-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(22, 57, 40, 0.02) 0%, rgba(22, 57, 40, 0.4) 100%);
    opacity: 0;
    transition: var(--transition);
}

.home-documentation-image:hover::after,
.home-documentation-image:focus-visible::after {
    opacity: 1;
}

.home-documentation-image:hover .home-documentation-preview-hint,
.home-documentation-image:focus-visible .home-documentation-preview-hint {
    opacity: 1;
    transform: translateY(0);
}

.home-documentation-image:focus-visible {
    outline: 3px solid rgba(212, 175, 55, 0.45);
    outline-offset: 4px;
}

.home-documentation-body {
    padding: 1.2rem 1.2rem 1.35rem;
}

.home-documentation-body h3 {
    font-size: 1.35rem;
    line-height: 1.24;
    margin-bottom: 0.45rem;
    color: var(--dark-green);
}

.home-documentation-body p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: #607067;
}

.home-documentation-footer {
    margin-top: 2.2rem;
    text-align: center;
}

.home-documentation-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.home-documentation-lightbox:target {
    display: flex;
}

.home-documentation-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 15, 11, 0.76);
    backdrop-filter: blur(6px);
}

.home-documentation-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 960px);
    max-height: calc(100vh - 3rem);
    overflow: auto;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.home-documentation-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(18, 49, 34, 0.82);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition);
}

.home-documentation-lightbox-close:hover {
    background: rgba(18, 49, 34, 0.96);
    transform: scale(1.05);
}

.home-documentation-lightbox-media {
    background: #f3efe2;
}

.home-documentation-lightbox-image {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    display: block;
}

.home-documentation-lightbox-copy {
    padding: 1.3rem 1.4rem 1.5rem;
}

.home-documentation-lightbox-copy h3 {
    font-size: 1.7rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--dark-green);
}

.home-documentation-lightbox-description {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #5f6e67;
}

/* Services Overview */
.services-overview {
    padding: 5rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--dark-green);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-medium);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: var(--transition);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.service-card.featured {
    background: linear-gradient(135deg, var(--dark-green), var(--dark-green-light));
    color: var(--white);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gold);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.service-card.featured .service-icon {
    background: var(--white);
    color: var(--dark-green);
}

.service-card h3 {
    color: var(--dark-green);
    margin-bottom: 1rem;
}

.service-card.featured h3 {
    color: var(--white);
}

.service-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features i {
    color: var(--gold);
}

.service-price {
    margin: 2rem 0;
}

.price-from {
    display: block;
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.service-card.featured .price-from {
    color: rgba(255, 255, 255, 0.8);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    font-family: var(--font-serif);
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background: var(--gray-light);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-card {
    display: none;
    text-align: center;
    padding: 2rem;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.2rem;
    color: var(--gray-dark);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gray-light);
    border: 3px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-medium);
    font-size: 1.5rem;
}

.author-info h4 {
    color: var(--dark-green);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.author-info span {
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.author-info small {
    font-size: 0.8rem;
    color: var(--gray-medium);
    margin-top: 0.25rem;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-warning {
    background-color: var(--gold);
    color: var(--white);
}

.badge-sm {
    padding: 0.15rem 0.4rem;
    font-size: 0.65rem;
}

.stars .text-muted {
    color: var(--gray-light) !important;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-medium);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--gold);
}

/* Blog Preview */
.blog-preview {
    padding: 5rem 0;
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-image-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-light) 0%, #f0f0f0 100%);
    color: var(--gray-medium);
    text-align: center;
    padding: 2rem 1rem;
}

.blog-image-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.blog-image-placeholder span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Empty state within grid containers */
.services-grid .empty-state,
.blog-grid .empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.services-grid .empty-state i,
.blog-grid .empty-state i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.services-grid .empty-state h3,
.blog-grid .empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-green);
}

.services-grid .empty-state p,
.blog-grid .empty-state p {
    color: var(--gray-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.category {
    background: var(--gold);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 500;
}

.date {
    color: var(--gray-medium);
}

.blog-content h3 {
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.blog-content p {
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--gold-dark);
    gap: 0.75rem;
}

.blog-cta {
    text-align: center;
}

/* Contact CTA Section */
.contact-cta {
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
    color: var(--dark-green);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(44, 85, 48, 0.1);
    border-bottom: 1px solid rgba(44, 85, 48, 0.1);
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(44, 85, 48, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        linear-gradient(45deg, transparent 0%, rgba(44, 85, 48, 0.02) 50%, transparent 100%);
    background-size: 300px 300px, 400px 400px, 100% 100%;
    pointer-events: none;
}

.contact-cta .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-content h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-green);
    text-shadow: 0 2px 10px rgba(44, 85, 48, 0.1);
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: var(--gray-dark);
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 200px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.15);
}

.cta-buttons .btn-primary {
    background: linear-gradient(135deg, var(--dark-green), var(--dark-green-dark));
    color: var(--white);
    border: 2px solid var(--dark-green);
}

.cta-buttons .btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-green-dark), var(--dark-green));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.3);
    color: var(--white);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: var(--dark-green);
    border: 2px solid var(--dark-green);
    backdrop-filter: blur(5px);
}

.cta-buttons .btn-outline:hover {
    background: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.2);
    color: var(--white);
}

.cta-buttons .btn i {
    font-size: 1rem;
}

/* Responsive Design for CTA */
@media (max-width: 768px) {
    .contact-cta {
        padding: 4rem 0;
    }
    
    .cta-content {
        padding: 0 1rem;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        min-width: 250px;
        padding: 0.875rem 2rem;
    }
}

@media (max-width: 480px) {
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons .btn {
        min-width: 200px;
        font-size: 1rem;
    }
}

/* Landing page polish for the 1447 H update */
.guest-home .hero {
    min-height: 760px;
    padding: 6rem 0 5rem;
}

.guest-home .hero-overlay {
    background:
        linear-gradient(100deg, rgba(8, 20, 14, 0.9) 0%, rgba(12, 32, 22, 0.78) 42%, rgba(12, 32, 22, 0.28) 100%),
        linear-gradient(180deg, rgba(6, 14, 10, 0.08) 0%, rgba(6, 14, 10, 0.64) 100%);
}

.guest-home .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.78fr);
    min-height: 620px;
    gap: clamp(2.5rem, 5vw, 5.6rem);
}

.guest-home .hero-copy {
    max-width: 820px;
}

.guest-home .hero-title {
    max-width: 850px;
    font-size: clamp(3.4rem, 5.4vw, 5.8rem);
    letter-spacing: 0;
    line-height: 0.98;
    margin-bottom: 1.25rem;
}

.guest-home .hero-subtitle {
    max-width: 690px;
    font-size: clamp(1.05rem, 1.2vw, 1.22rem);
    color: rgba(255, 255, 255, 0.9);
}

.guest-home .hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 999px;
}

.guest-home .hero-highlight {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.guest-home .hero-search-card {
    max-width: 430px;
    border-radius: 20px;
    padding: 1.65rem;
    border: 1px solid rgba(255, 255, 255, 0.68);
    box-shadow: 0 26px 72px rgba(7, 20, 14, 0.32);
}

.guest-home .hero-field input,
.guest-home .hero-field select,
.guest-home .showcase-filter-search,
.guest-home .showcase-filter-select,
.guest-home .showcase-filter-reset {
    border-radius: 12px;
}

.guest-home .trust-metrics {
    padding: 2.9rem 0;
    background: #fbf7ec;
}

.guest-home .trust-metric-value {
    font-size: clamp(2.4rem, 3.2vw, 3.2rem);
    color: #c59a25;
}

.guest-home .featured-packages-home,
.guest-home .home-service-advantages,
.guest-home .home-documentation-showcase,
.guest-home .testimonials,
.guest-home .home-partner-showcase,
.guest-home .home-registration-steps,
.guest-home .blog-preview,
.guest-home .contact-cta {
    padding-top: clamp(4.5rem, 6vw, 6.5rem);
    padding-bottom: clamp(4.5rem, 6vw, 6.5rem);
}

.guest-home .section-header,
.guest-home .featured-packages-home .section-header,
.guest-home .home-service-advantages-header,
.guest-home .home-documentation-showcase-header,
.guest-home .home-partner-showcase-header,
.guest-home .home-registration-steps-header {
    margin-bottom: 2.2rem;
}

.guest-home .section-header h2,
.guest-home .featured-packages-home .section-header h2,
.guest-home .home-service-advantages-header h2,
.guest-home .home-documentation-showcase-header h2,
.guest-home .home-partner-showcase-header h2,
.guest-home .home-registration-steps-header h2,
.guest-home .cta-content h2 {
    font-size: clamp(2.25rem, 3.4vw, 3.35rem);
    letter-spacing: 0;
}

.guest-home .showcase-filter-bar {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(150px, 1fr)) auto;
}

.guest-home .empty-state {
    padding: 2.5rem 1.5rem;
    border-radius: 18px;
    background: #fffdf8;
    border: 1px solid rgba(27, 75, 54, 0.08);
}

.guest-home .home-service-advantage-card,
.guest-home .showcase-package-card,
.guest-home .home-documentation-card,
.guest-home .blog-card,
.guest-home .home-certification-card,
.guest-home .home-partner-card {
    border-radius: 16px;
}

.guest-home .home-service-advantage-card {
    min-height: 0;
    padding: 1.65rem 1.35rem;
}

.guest-home .home-service-advantage-card h3,
.guest-home .home-registration-step-card h3,
.guest-home .home-certification-card h3,
.guest-home .home-partner-card h3 {
    font-family: var(--font-sans);
    font-size: 1.06rem;
    font-weight: 750;
    line-height: 1.28;
    letter-spacing: 0;
}

.guest-home .home-documentation-grid,
.guest-home .home-service-advantages-grid,
.guest-home .home-certification-grid,
.guest-home .blog-grid {
    gap: 1.35rem;
}

.guest-home .home-documentation-image {
    aspect-ratio: 0.82 / 1;
}

.guest-home .home-partner-marquee {
    padding: 1rem 0 1.3rem;
}

.guest-home .home-partner-marquee-track {
    gap: 1rem;
}

.guest-home .home-partner-marquee-tile {
    min-width: 154px;
    min-height: 86px;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: #ffffff;
    flex-direction: column;
    gap: 0.55rem;
}

.guest-home .home-partner-marquee-tile img {
    max-width: 126px;
    max-height: 42px;
    filter: none;
    opacity: 1;
}

.guest-home .home-partner-marquee-tile span {
    max-width: 132px;
    color: #385247;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.guest-home .home-trust-story-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
}

.guest-home .home-trust-story-panel,
.guest-home .home-trust-story-main-image,
.guest-home .home-trust-story-side-image {
    border-radius: 16px;
}

@media (max-width: 1024px) {
    .guest-home .hero {
        min-height: auto;
        padding: 5rem 0 4rem;
    }

    .guest-home .hero-grid,
    .guest-home .home-trust-story-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .guest-home .hero-search-panel {
        justify-content: stretch;
    }

    .guest-home .hero-search-card {
        max-width: none;
        margin-left: 0;
    }

    .guest-home .showcase-filter-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guest-home .showcase-filter-search,
    .guest-home .showcase-filter-reset {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .guest-home .hero {
        padding: 3.6rem 0 3rem;
    }

    .guest-home .hero .container {
        padding: 0 18px;
    }

    .guest-home .hero-grid {
        gap: 2rem;
    }

    .guest-home .hero-title {
        font-size: clamp(2.1rem, 9vw, 2.85rem);
        line-height: 1.08;
    }

    .guest-home .hero-copy {
        text-align: center;
    }

    .guest-home .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .guest-home .hero-buttons,
    .guest-home .hero-highlights {
        display: grid;
        grid-template-columns: 1fr;
    }

    .guest-home .hero-buttons .btn,
    .guest-home .hero-highlight {
        width: 100%;
    }

    .guest-home .hero-highlight {
        text-align: left;
    }

    .guest-home .hero-field-grid,
    .guest-home .hero-search-stats,
    .guest-home .trust-metrics-grid,
    .guest-home .showcase-filter-bar,
    .guest-home .home-service-advantages-grid,
    .guest-home .home-documentation-grid,
    .guest-home .home-certification-grid,
    .guest-home .home-partner-grid,
    .guest-home .blog-grid {
        grid-template-columns: 1fr;
    }

    .guest-home .trust-metric:not(:last-child)::after {
        display: none;
    }

    .guest-home .home-registration-steps-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem 1rem;
    }

    .guest-home .home-registration-steps-track::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .guest-home .hero-search-card {
        padding: 1.2rem;
        border-radius: 16px;
    }

    .guest-home .featured-packages-home,
    .guest-home .home-service-advantages,
    .guest-home .home-documentation-showcase,
    .guest-home .testimonials,
    .guest-home .home-partner-showcase,
    .guest-home .home-registration-steps,
    .guest-home .blog-preview,
    .guest-home .contact-cta {
        padding-top: 3.4rem;
        padding-bottom: 3.4rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--dark-green-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%);
    background-size: 400px 400px, 300px 300px, 100% 100%;
    animation: footerPattern 20s linear infinite;
}

.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.5;
}

@keyframes footerPattern {
    0% {
        background-position: 0% 0%, 100% 100%, 0% 0%;
    }
    100% {
        background-position: 100% 100%, 0% 0%, 100% 100%;
    }
}

.footer-main {
    padding: 3rem 0 2rem;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section {
    position: relative;
}

.footer-section h3,
.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    position: relative;
    font-weight: 600;
}

.footer-section h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
}

.footer-section h4 i {
    color: var(--gold-light);
    width: 20px;
}

.footer-section h3 {
    font-size: 1.8rem;
}

/* About Section */
.about-section .footer-logo {
    margin-bottom: 1.5rem;
}

.about-section .footer-logo h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.accent {
    color: var(--gold-light);
}

.logo-tagline {
    color: var(--gold-light);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.social-link.facebook:hover { background: linear-gradient(135deg, #1877f2, #0d47a1); }
.social-link.instagram:hover { background: linear-gradient(135deg, #e1306c, #833ab4); }
.social-link.whatsapp:hover { background: linear-gradient(135deg, #25d366, #128c7e); }
.social-link.youtube:hover { background: linear-gradient(135deg, #ff0000, #cc0000); }
.social-link.telegram:hover { background: linear-gradient(135deg, #0088cc, #005580); }

/* Footer Links */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
    position: relative;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-left: 1rem;
    display: block;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-light);
    padding-left: 1.5rem;
}

.footer-links a:hover::before {
    width: 8px;
    height: 8px;
}

/* Contact Section */
.contact-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--dark-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--white);
    font-size: 1.25rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.contact-label {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
}

.contact-value {
    color: var(--gold);
    font-weight: 600;
    font-size: 1.05rem;
    display: block;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-bottom-left p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.4;
}

.footer-license {
    font-size: 0.85rem;
    color: var(--gold-light) !important;
    font-weight: 500;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    position: relative;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--gold);
}

.footer-bottom-links a:hover::after {
    width: 100%;
}

.footer-bottom-extra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.back-to-top-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-top-btn:hover {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.back-to-top-btn i {
    transition: var(--transition);
}

.back-to-top-btn:hover i {
    transform: translateY(-2px);
}

.footer .footer-main {
    padding: 4rem 0 2.3rem;
}

.footer .footer-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.72fr) minmax(150px, 0.72fr) minmax(280px, 1fr);
    gap: 1.75rem;
    align-items: start;
}

.footer .footer-section {
    min-width: 0;
}

.footer .footer-section h4 {
    margin-bottom: 1.15rem;
    font-size: 1.08rem;
    letter-spacing: 0.02em;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    margin-bottom: 1.4rem;
}

.footer-brand-mark {
    width: 82px;
    height: 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.footer-brand-mark img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.footer-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.footer-brand-copy strong {
    color: #ffffff;
    font-size: 1.45rem;
    line-height: 1.05;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.01em;
}

.footer-brand-copy span:last-child {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footer .footer-description {
    max-width: 460px;
    margin-bottom: 1.4rem;
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.82);
}

.footer-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.4rem;
}

.footer-action-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 48px;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--dark-green-dark);
    background: linear-gradient(135deg, #f3d37a, #d4af37);
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

.footer-action-pill:hover {
    color: var(--dark-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(212, 175, 55, 0.28);
}

.footer-action-pill-secondary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.footer-action-pill-secondary:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

.footer-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-trust-list span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.4;
}

.footer-trust-list i {
    color: var(--gold-light);
}

.footer .footer-links li {
    margin-bottom: 0.85rem;
}

.footer .footer-links a {
    padding-left: 1rem;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.45;
}

.footer .footer-links a:hover {
    color: #ffffff;
}

.footer-contact-section {
    padding: 1.45rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(14px);
    max-width: 340px;
    margin-left: auto;
}

.footer-contact-list {
    display: grid;
    gap: 0.85rem;
}

.footer-contact-card {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    text-decoration: none;
    background: rgba(248, 246, 238, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: var(--dark-green-dark);
    transition: var(--transition);
}

.footer-contact-card:hover {
    color: var(--dark-green-dark);
    transform: translateY(-2px);
    background: #ffffff;
}

.footer-contact-card-static:hover {
    transform: none;
}

.footer-contact-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    flex-shrink: 0;
    background: var(--dark-green);
    color: #ffffff;
}

.footer-contact-copy {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}

.footer-contact-label {
    color: rgba(35, 69, 51, 0.72);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.footer-contact-value {
    color: var(--dark-green-dark);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.45;
    word-break: break-word;
}

.footer-contact-cta {
    margin-top: 1rem;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 999px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    background: linear-gradient(135deg, #2f5d42, #1f3f2f);
    transition: var(--transition);
}

.footer-contact-cta:hover {
    color: #ffffff;
    transform: translateY(-2px);
    background: linear-gradient(135deg, #376c4c, #234533);
}

.footer .footer-bottom {
    padding: 1.6rem 0 1.8rem;
}

.footer .footer-bottom-content {
    margin-bottom: 1.25rem;
    gap: 1.25rem;
}

.footer .footer-bottom-left p {
    color: rgba(255, 255, 255, 0.76);
}

.footer .footer-license {
    margin-top: 0.2rem;
    color: rgba(243, 211, 122, 0.96) !important;
}

.footer .footer-bottom-links {
    gap: 1.4rem;
}

.footer .footer-bottom-links a {
    color: rgba(255, 255, 255, 0.74);
}

.footer .footer-bottom-links a:hover {
    color: #ffffff;
}

.footer .footer-bottom-extra {
    justify-content: flex-end;
}

.footer .back-to-top-btn {
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .trust-metrics-grid {
        gap: 1rem;
    }

    .featured-packages-home .section-header h2 {
        font-size: 3.1rem;
    }

    .showcase-filter-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .showcase-filter-search {
        grid-column: 1 / -1;
    }

    .showcase-package-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-service-advantages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-registration-steps-track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 2rem;
    }

    .home-registration-steps-track::before {
        left: 16%;
        right: 16%;
    }

    .home-trust-story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .home-trust-story-copy h2 {
        max-width: 100%;
    }

    .home-documentation-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav-container {
        gap: 1rem;
    }

    .nav-menu {
        gap: 0.95rem;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0 3.6rem;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 410px);
        min-height: auto;
        gap: 2.5rem;
    }

    .hero-search-panel {
        justify-content: flex-end;
    }

    .hero-search-card {
        max-width: 410px;
    }

    .hero-title {
        max-width: 680px;
        font-size: 3.4rem;
    }

    .hero-copy {
        max-width: 680px;
    }

    .hero-highlights {
        max-width: 680px;
    }
    
    .footer .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem;
    }

    .footer .about-section {
        grid-column: 1 / -1;
        margin-bottom: 1.5rem;
    }

    .footer .footer-description {
        max-width: 100%;
    }

    .footer .footer-contact-section {
        grid-column: 1 / -1;
        max-width: none;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .trust-metrics {
        padding: 2rem 0 1.85rem;
    }

    .trust-metrics-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .trust-metric:not(:last-child)::after {
        display: none;
    }

    .featured-packages-home {
        padding: 3.5rem 0 4rem;
    }

    .featured-packages-home .section-header h2 {
        font-size: 2.35rem;
    }

    .featured-packages-home .section-header p {
        font-size: 1rem;
    }

    .showcase-filter-bar {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 1.75rem;
    }

    .showcase-filter-select,
    .showcase-filter-search,
    .showcase-filter-reset {
        min-height: 52px;
    }

    .showcase-package-grid {
        grid-template-columns: 1fr;
    }

    .home-service-advantages {
        padding: 3.6rem 0 4rem;
    }

    .home-service-advantages-header {
        margin-bottom: 1.8rem;
    }

    .home-service-advantages-header h2 {
        font-size: 2.45rem;
    }

    .home-service-advantages-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .home-service-advantage-card {
        min-height: auto;
        padding: 1.8rem 1.3rem 1.55rem;
        border-radius: 22px;
    }

    .home-service-advantage-card h3 {
        font-size: 1.6rem;
    }

    .home-registration-steps {
        padding: 3.7rem 0 4.2rem;
    }

    .home-registration-steps-header {
        margin-bottom: 2rem;
    }

    .home-registration-steps-header h2 {
        font-size: 2.45rem;
    }

    .home-registration-steps-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.4rem 1rem;
    }

    .home-registration-steps-track::before {
        display: none;
    }

    .home-registration-step-card {
        padding: 1.45rem 1rem 1.35rem;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(27, 75, 54, 0.06);
        box-shadow: 0 18px 48px rgba(15, 35, 24, 0.06);
    }

    .home-registration-step-icon {
        width: 68px;
        height: 68px;
        margin-bottom: 0.95rem;
    }

    .home-registration-step-number {
        top: 0.9rem;
        right: 0.9rem;
    }

    .home-trust-story {
        padding: 3.9rem 0 4.2rem;
    }

    .home-trust-story-grid {
        gap: 1.6rem;
    }

    .home-trust-story-copy h2 {
        font-size: 2.65rem;
        text-align: center;
    }

    .home-trust-story-subtitle {
        text-align: center;
    }

    .home-trust-story-stats {
        justify-content: center;
    }

    .home-trust-story-main-image,
    .home-trust-story-side-image {
        border-radius: 20px;
    }

    .home-partner-showcase {
        padding: 3.8rem 0 4.2rem;
    }

    .home-partner-showcase-header {
        margin-bottom: 2rem;
    }

    .home-partner-showcase-header h2 {
        font-size: 2.45rem;
    }

    .home-partner-grid,
    .home-certification-grid {
        grid-template-columns: 1fr;
    }

    .home-partner-card,
    .home-certification-card {
        min-height: auto;
    }

    .home-certification-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home-certification-card-icon {
        margin: 0 auto 1rem;
    }

    .home-partner-marquee {
        padding: 1.1rem 0;
    }

    .home-partner-marquee-track {
        gap: 1.4rem;
        animation-duration: 30s;
    }

    .home-partner-marquee-tile {
        min-width: 108px;
        min-height: 60px;
        padding: 0.55rem 0.9rem;
        border-radius: 14px;
    }

    .home-partner-marquee-tile img {
        max-height: 42px;
        max-width: 120px;
    }

    .home-partner-marquee-caption {
        font-size: 0.88rem;
    }

    .home-documentation-showcase {
        padding: 3.8rem 0 4.2rem;
    }

    .home-documentation-showcase-header {
        margin-bottom: 1.7rem;
    }

    .home-documentation-showcase-header h2 {
        font-size: 2.45rem;
    }

    .home-documentation-filters {
        gap: 0.6rem;
        margin-bottom: 1.5rem;
    }

    .home-documentation-grid {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }

    .home-documentation-image {
        aspect-ratio: 1.05 / 1;
    }

    .home-documentation-lightbox {
        padding: 1rem;
    }

    .home-documentation-lightbox-dialog {
        border-radius: 22px;
    }
    
    /* Mobile Navigation */
    .nav-container {
        padding: 0 15px;
        position: relative;
        overflow: visible;
        gap: 0.85rem;
    }

    .nav-logo img {
        width: 52px;
    }

    .nav-logo-title {
        font-size: 1rem;
    }

    .nav-logo-tagline {
        font-size: 0.72rem;
    }
    
    .navbar {
        padding: 0.75rem 0;
        position: relative;
        z-index: 1001;
    }
    
    /* Ensure nav wrapper doesn't clip dropdowns */
    .nav-wrapper {
        position: relative;
        overflow: visible;
    }
    
    /* Content adjustments */
    .hero {
        min-height: auto;
        padding: 1.4rem 0 2.9rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-copy {
        max-width: none;
        text-align: center;
        padding-block: 0;
    }

    .hero-kicker {
        justify-content: center;
    }

    .hero-title {
        max-width: 100%;
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-buttons .btn,
    .hero-search-submit {
        width: 100%;
    }

    .hero-highlights {
        justify-content: center;
        align-items: center;
        max-width: none;
    }

    .hero-field-grid,
    .hero-search-stats {
        grid-template-columns: 1fr;
    }

    .hero-highlight {
        width: auto;
        justify-content: center;
        text-align: center;
        border-radius: 18px;
    }

    .hero-search-panel {
        justify-content: stretch;
    }

    .hero-search-card {
        max-width: none;
        margin-left: 0;
        padding: 1.55rem;
    }

    .hero-search-header,
    .hero-search-help {
        text-align: center;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer .footer-main {
        padding: 1.9rem 0 1.45rem;
    }

    .footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.35rem;
    }

    .footer-brand {
        align-items: flex-start;
        margin-bottom: 1rem;
    }

    .footer-brand-mark {
        width: 72px;
        height: 72px;
    }

    .footer-brand-mark img {
        width: 54px;
        height: 54px;
    }

    .footer-brand-copy strong {
        font-size: 1.28rem;
    }

    .footer .footer-section h4 {
        margin-bottom: 0.8rem;
        font-size: 1rem;
    }

    .footer .footer-links li {
        margin-bottom: 0.6rem;
    }

    .footer .footer-description {
        margin-bottom: 1rem;
        font-size: 0.93rem;
        line-height: 1.7;
    }

    .footer-action-row,
    .footer-trust-list {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-action-pill {
        width: 100%;
    }

    .footer .footer-contact-section {
        padding: 1.1rem;
        border-radius: 22px;
        max-width: none;
        margin-left: 0;
    }

    .footer-contact-card {
        padding: 0.9rem 0.95rem;
        border-radius: 16px;
    }

    .footer-contact-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .footer-contact-label {
        font-size: 0.78rem;
    }

    .footer-contact-value {
        font-size: 0.92rem;
        line-height: 1.4;
    }

    .footer .footer-bottom-content,
    .footer .footer-bottom-extra {
        justify-content: flex-start;
    }

    .footer .footer-bottom-links {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .trust-metric-value {
        font-size: 2.3rem;
    }

    .showcase-package-body {
        padding: 1.35rem 1.15rem 1.15rem;
    }

    .showcase-package-body h3 {
        font-size: 1.4rem;
    }

    .showcase-package-price-value {
        font-size: 1.8rem;
    }

    .home-service-advantages-header h2 {
        font-size: 2.1rem;
    }

    .home-service-advantages-header p {
        font-size: 0.96rem;
    }

    .home-service-advantage-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.1rem;
    }

    .home-service-advantage-icon i {
        font-size: 1.15rem;
    }

    .home-service-advantage-card h3 {
        font-size: 1.42rem;
    }

    .home-registration-steps-header h2 {
        font-size: 2.1rem;
    }

    .home-registration-steps-header p {
        font-size: 0.96rem;
    }

    .home-registration-steps-track {
        grid-template-columns: 1fr;
    }

    .home-registration-step-icon {
        width: 62px;
        height: 62px;
    }

    .home-registration-step-icon i {
        font-size: 1.05rem;
    }

    .home-registration-step-card h3 {
        font-size: 1.22rem;
    }

    .home-registration-step-card p {
        font-size: 0.86rem;
    }

    .home-trust-story-copy h2 {
        font-size: 2.2rem;
    }

    .home-trust-story-subtitle {
        font-size: 0.95rem;
    }

    .home-trust-story-panel {
        padding: 1.05rem 1rem;
    }

    .home-trust-story-panel p {
        font-size: 0.92rem;
    }

    .home-trust-story-stat {
        width: 100%;
        justify-content: center;
    }

    .home-trust-story-side-images {
        grid-template-columns: 1fr;
    }

    .home-partner-showcase-header h2 {
        font-size: 2.15rem;
    }

    .home-partner-showcase-header p {
        font-size: 0.96rem;
    }

    .home-partner-showcase-label {
        font-size: 1.55rem;
    }

    .home-partner-card,
    .home-certification-card {
        padding: 1.25rem 1rem 1.15rem;
        border-radius: 22px;
    }

    .home-partner-card-icon,
    .home-certification-card-icon {
        width: 58px;
        height: 58px;
        border-radius: 18px;
    }

    .home-partner-card h3,
    .home-certification-card h3 {
        font-size: 1.3rem;
    }

    .home-partner-card p,
    .home-certification-card p {
        font-size: 0.88rem;
    }

    .home-partner-marquee-track {
        gap: 1rem;
        animation-duration: 26s;
    }

    .home-partner-marquee-tile {
        min-width: 96px;
        min-height: 54px;
        padding: 0.45rem 0.75rem;
        border-radius: 12px;
    }

    .home-partner-marquee-tile img {
        max-height: 36px;
        max-width: 104px;
    }

    .home-partner-marquee-caption {
        font-size: 0.84rem;
    }

    .home-documentation-showcase-header h2 {
        font-size: 2.15rem;
    }

    .home-documentation-showcase-header p {
        font-size: 0.96rem;
    }

    .home-documentation-filter {
        flex: 1 1 calc(50% - 0.6rem);
        min-width: 0;
        padding-inline: 0.8rem;
        font-size: 0.78rem;
    }

    .home-documentation-body {
        padding: 1rem 1rem 1.15rem;
    }

    .home-documentation-body h3 {
        font-size: 1.22rem;
    }

    .home-documentation-body p {
        font-size: 0.88rem;
    }

    .home-documentation-preview-hint {
        right: 0.8rem;
        bottom: 0.8rem;
        min-height: 30px;
        padding: 0.38rem 0.68rem;
        font-size: 0.7rem;
    }

    .home-documentation-lightbox {
        padding: 0.75rem;
    }

    .home-documentation-lightbox-dialog {
        border-radius: 18px;
    }

    .home-documentation-lightbox-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 38px;
        height: 38px;
    }

    .home-documentation-lightbox-copy {
        padding: 1rem 1rem 1.15rem;
    }

    .home-documentation-lightbox-copy h3 {
        font-size: 1.35rem;
    }

    .home-documentation-lightbox-description {
        font-size: 0.9rem;
    }

    .container {
        padding: 0 15px;
    }
    
    /* Mobile Navigation for small screens */
    .nav-container {
        padding: 0 10px;
    }

    .nav-logo img {
        width: 46px;
    }

    .nav-logo-copy {
        gap: 0.05rem;
    }

    .nav-logo-title {
        font-size: 0.94rem;
    }

    .nav-logo-tagline {
        display: none;
    }
    
    .hero-title {
        font-size: 2.35rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-kicker {
        width: 100%;
        justify-content: center;
        text-align: center;
        line-height: 1.45;
    }

    .hero-search-card {
        padding: 1.3rem;
        border-radius: 22px;
    }

    .hero-bg-image {
        object-position: 62% center;
    }

    .hero-search-help {
        align-items: flex-start;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    
    .footer .footer-main {
        padding: 1.35rem 0 1rem;
    }

    .footer-brand {
        gap: 0.8rem;
    }

    .footer-brand-mark {
        width: 64px;
        height: 64px;
        border-radius: 20px;
    }

    .footer-brand-mark img {
        width: 48px;
        height: 48px;
    }

    .footer-brand-copy span:last-child {
        font-size: 0.78rem;
    }

    .footer-brand-copy strong {
        font-size: 1.15rem;
    }

    .footer .footer-section h4 {
        font-size: 0.96rem;
    }

    .footer .footer-description {
        font-size: 0.9rem;
    }

    .footer-trust-list span {
        width: 100%;
        justify-content: flex-start;
    }

    .footer-contact-section {
        padding: 1rem;
        border-radius: 20px;
    }

    .footer-contact-card {
        gap: 0.75rem;
        padding: 0.82rem 0.85rem;
    }

    .footer .footer-bottom {
        padding: 1rem 0;
    }

    .footer .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 0.75rem;
    }

    .footer .footer-bottom-links {
        gap: 0.65rem;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========================================
   AUTHENTICATION PAGES STYLES
   ======================================== */

/* WhatsApp Redirect Page */
.whatsapp-info {
    text-align: center;
    padding: 20px 0;
}

.registration-code-display {
    margin-bottom: 30px;
}

.registration-code-display h3 {
    color: #333;
    margin-bottom: 15px;
}

.code-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.registration-code {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 24px;
    font-weight: bold;
    background: #f8f9fa;
    padding: 15px 25px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    letter-spacing: 2px;
    color: #495057;
}

.copy-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.copy-btn:hover {
    background: #5a6268;
}

.instructions {
    text-align: left;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.instructions h4 {
    color: #495057;
    margin-bottom: 15px;
}

.instructions ol {
    margin: 0;
    padding-left: 20px;
}

.instructions li {
    margin-bottom: 8px;
    color: #6c757d;
}

.whatsapp-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s;
}

.btn-whatsapp:hover {
    background: #128C7E;
    color: white;
    text-decoration: none;
}

.btn-status {
    background: #6c757d;
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s;
}

.btn-status:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
}

.help-info {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 15px;
    font-size: 14px;
    color: #856404;
}

.help-info p {
    margin-bottom: 8px;
}

.help-info p:last-child {
    margin-bottom: 0;
}

/* Registration Status Pages */
.status-info {
    text-align: center;
    padding: 20px 0;
}

.status-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.status-icon.pending {
    background: #fff3cd;
    color: #856404;
    border: 3px solid #ffeaa7;
}

.status-icon.verified {
    background: #d1ecf1;
    color: #0c5460;
    border: 3px solid #bee5eb;
}

.status-icon.completed {
    background: #d4edda;
    color: #155724;
    border: 3px solid #c3e6cb;
}

.status-icon.expired {
    background: #f8d7da;
    color: #721c24;
    border: 3px solid #f5c6cb;
}

.status-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #dee2e6;
}

.detail-item:last-child {
    border-bottom: none;
}

.label {
    font-weight: 600;
    color: #495057;
}

.value {
    color: #6c757d;
}

.status-pending {
    color: #856404;
    background: #fff3cd;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.status-verified {
    color: #0c5460;
    background: #d1ecf1;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.status-completed {
    color: #155724;
    background: #d4edda;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.status-expired {
    color: #721c24;
    background: #f8d7da;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
}

.btn-refresh {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s;
}

.btn-refresh:hover {
    background: #0056b3;
}

.btn-refresh:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.help-text {
    text-align: left;
    background: #e7f3ff;
    border: 1px solid #b8daff;
    border-radius: 6px;
    padding: 15px;
    margin-top: 20px;
}

.help-text p {
    margin-bottom: 10px;
    font-weight: 600;
    color: #004085;
}

.help-text ul {
    margin: 0;
    padding-left: 20px;
}

.help-text li {
    margin-bottom: 5px;
    color: #004085;
}

/* Authentication Pages Responsive Design */
@media (min-width: 576px) {
    .whatsapp-actions {
        flex-direction: row;
        justify-content: center;
    }
    
    .actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* Animation for spinning refresh icon */
.fa-spin {
    animation: fa-spin 2s infinite linear;
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(359deg);
    }
}

/* ========================================

/* Footer credit (Developed by) */
.footer-credit {
    margin-top: 0.35rem !important;
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer-credit a {
    color: var(--gold) !important;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.footer-credit a:hover {
    color: var(--gold-light) !important;
    text-decoration: underline;
}
