/* ==========================================================================
   City Systems KSA — Homepage Styles (Shared + Version A & B)
   Brand Colors: Navy #14375a, Green #6fa12b, Gold #ffd700
   ========================================================================== */

/* --- Container --- */
.hp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Section Headers --- */
.hp-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.hp-section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6fa12b;
    background: rgba(111, 161, 43, 0.1);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.hp-section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #14375a;
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hp-section-desc {
    font-size: 1.05rem;
    color: #5a7184;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Buttons --- */
.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 2px solid transparent;
    line-height: 1.4;
}

.hp-btn--primary {
    background: #6fa12b;
    color: #fff;
    border-color: #6fa12b;
}

.hp-btn--primary:hover {
    background: #5c8a22;
    border-color: #5c8a22;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(111, 161, 43, 0.35);
    color: #fff;
    text-decoration: none;
}

.hp-btn--secondary {
    background: #fff;
    color: #14375a;
    border-color: #d0dae5;
}

.hp-btn--secondary:hover {
    border-color: #14375a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(20, 55, 90, 0.1);
    color: #14375a;
    text-decoration: none;
}

.hp-btn--navy {
    background: #14375a;
    color: #fff;
    border-color: #14375a;
}

.hp-btn--navy:hover {
    background: #0f2a45;
    border-color: #0f2a45;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(20, 55, 90, 0.35);
    color: #fff;
    text-decoration: none;
}

.hp-btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.hp-btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
    text-decoration: none;
}

.hp-btn--outline-dark {
    background: transparent;
    color: #14375a;
    border-color: #c8d5e2;
}

.hp-btn--outline-dark:hover {
    border-color: #6fa12b;
    color: #6fa12b;
    text-decoration: none;
}

.hp-btn--lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.hp-btn--white {
    background: #fff;
    color: #14375a;
    border-color: #fff;
}

.hp-btn--white:hover {
    background: #f0f5fa;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    color: #14375a;
    text-decoration: none;
}

/* --- Small button variant --- */
.hp-btn--sm {
    font-size: 0.85rem;
    padding: 0.6rem 1.5rem;
}

/* ==========================================================================
   ORO WRAPPER OVERRIDE — full-width homepage
   ========================================================================== */
.page-main__content:has(.hp-a),
.page-main__content:has(.hp-b) {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
}

/* ==========================================================================
   PROMO BANNERS
   ========================================================================== */
.hp-promo-section {
    padding: 4rem 0;
    background: #fff;
}

.hp-promo-section--green {
    background: linear-gradient(135deg, #f0f5f0 0%, #e8f0e0 100%);
}

.hp-promo-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.hp-promo-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.hp-promo-card {
    border-radius: 16px;
    padding: 2.5rem;
}

.hp-promo-card--dark {
    background: linear-gradient(135deg, #14375a, #1a4570);
    color: #fff;
}

.hp-promo-card--green {
    background: linear-gradient(135deg, #6fa12b, #5c8a22);
    color: #fff;
}

.hp-promo-card--light {
    background: #f5f8fb;
    border: 1px solid #d0dae5;
}

.hp-promo-card__title {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0.75rem 0;
}

.hp-promo-card__title--navy {
    color: #14375a;
}

.hp-promo-card__text {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 1.25rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.hp-promo-card__text--white {
    color: rgba(255, 255, 255, 0.8);
}

.hp-promo-card__text--muted {
    color: #5a7184;
}

.hp-section-tag--green-on-dark {
    color: #9fcf5a;
    background: rgba(111, 161, 43, 0.2);
}

.hp-section-tag--white-on-green {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   BANNER SLIDER
   ========================================================================== */
.hp-banner-slider {
    position: relative;
    overflow: hidden;
    background: #fff;
    -webkit-user-select: none;
    user-select: none;
}

.hp-banner-slider__track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.hp-banner-slider__track.is-dragging {
    transition: none;
    cursor: grabbing;
}

.hp-banner-slider__track > .hp-slide,
.hp-banner-slider__track > div > .hp-slide {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
}

.hp-banner-slider__track .hp-slide {
    overflow: hidden;
}

.hp-banner-slider__track .hp-slide a {
    display: block;
    -webkit-user-drag: none;
}

.hp-banner-slider__track .hp-slide picture {
    display: block;
    width: 100%;
}

.hp-banner-slider__track .hp-slide img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}

.hp-banner-slider__track .hp-slide source {
    width: 100%;
}

.hp-banner-slider__prev,
.hp-banner-slider__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(20, 55, 90, 0.7);
    color: #fff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, opacity 0.2s;
    opacity: 0;
}

.hp-banner-slider:hover .hp-banner-slider__prev,
.hp-banner-slider:hover .hp-banner-slider__next {
    opacity: 1;
}

.hp-banner-slider__prev:hover,
.hp-banner-slider__next:hover {
    background: rgba(20, 55, 90, 0.9);
}

.hp-banner-slider__prev { left: 1rem; }
.hp-banner-slider__next { right: 1rem; }

.hp-banner-slider__dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    z-index: 2;
}

.hp-banner-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.hp-banner-slider__dot--active {
    background: #6fa12b;
    transform: scale(1.3);
}

/* Mobile: always show arrows, smaller size */
@media (max-width: 768px) {
    .hp-banner-slider__prev,
    .hp-banner-slider__next {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        opacity: 1;
    }
    .hp-banner-slider__prev { left: 0.5rem; }
    .hp-banner-slider__next { right: 0.5rem; }
}

@media (max-width: 480px) {
    .hp-banner-slider__prev,
    .hp-banner-slider__next {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   BRANDS — full grid for brand list page
   ========================================================================== */
.hp-brands__grid--full {
    margin-bottom: 0;
}

/* ==========================================================================
   SEARCH LINK (HTMLPurifier-safe)
   ========================================================================== */
.hp-search-link {
    max-width: 640px;
    margin: 0 auto 2rem;
}

.hp-search-link__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #8899aa;
    background: #fff;
    border-radius: 12px;
    border: 2px solid #d0dae5;
    box-shadow: 0 4px 20px rgba(20, 55, 90, 0.08);
    text-decoration: none;
    transition: all 0.25s ease;
}

.hp-search-link__btn:hover {
    border-color: #6fa12b;
    color: #6fa12b;
    box-shadow: 0 4px 20px rgba(111, 161, 43, 0.15);
    text-decoration: none;
}

/* ==========================================================================
   VERSION A — HERO (Search-First, Light with Green Accent)
   ========================================================================== */
.hp-hero-a {
    background: linear-gradient(180deg, #f0f5f0 0%, #e8f0e0 100%);
    padding: 4.5rem 2rem 3.5rem;
    text-align: center;
    border-bottom: 4px solid #6fa12b;
}

.hp-hero-a__content {
    max-width: 720px;
    margin: 0 auto;
}

.hp-hero-a__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #14375a;
    line-height: 1.2;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.hp-hero-a__subtitle {
    font-size: 1.1rem;
    color: #5a7184;
    margin: 0 0 2rem;
    line-height: 1.6;
}

.hp-hero-a__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hp-hero-a__trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #14375a;
    font-weight: 700;
}

.hp-hero-a__trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    font-size: 0.8rem;
}

/* ==========================================================================
   VERSION B — HERO (Dark Navy Banner)
   ========================================================================== */
.hp-hero-b {
    position: relative;
    background: linear-gradient(135deg, #0c2240 0%, #14375a 40%, #1a4570 100%);
    padding: 6rem 2rem 5rem;
    overflow: hidden;
    text-align: center;
}

.hp-hero-b::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(111, 161, 43, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hp-hero-b::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(111, 161, 43, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hp-hero-b__overlay {
    position: absolute;
    inset: 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");
    pointer-events: none;
}

.hp-hero-b__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hp-hero-b__badge {
    display: inline-block;
    background: rgba(111, 161, 43, 0.2);
    color: #9fcf5a;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    border: 1px solid rgba(111, 161, 43, 0.35);
    margin-bottom: 1.5rem;
}

.hp-hero-b__title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 1.25rem;
    letter-spacing: -0.02em;
}

.hp-hero-b__highlight {
    color: #9fcf5a;
}

.hp-hero-b__subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 2rem;
}

.hp-hero-b .hp-search-link__btn {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hp-hero-b .hp-search-link__btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.hp-hero-b__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hp-hero-b__stats-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hp-hero-b__stat {
    text-align: center;
}

.hp-hero-b__stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #9fcf5a;
}

.hp-hero-b__stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* ==========================================================================
   QUICK ACTIONS BAR (Version B)
   ========================================================================== */
.hp-quick-actions {
    background: #14375a;
    padding: 1.5rem 0;
    border-bottom: 3px solid #6fa12b;
}

.hp-quick-actions__inner {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hp-quick-actions .hp-btn {
    min-width: 180px;
}

/* ==========================================================================
   CATEGORIES
   ========================================================================== */
.hp-categories {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f5f8fb 0%, #edf2f7 100%);
}

.hp-categories__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.hp-cat-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #d0dae5;
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hp-cat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6fa12b, #14375a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.hp-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(20, 55, 90, 0.12);
    border-color: transparent;
    text-decoration: none;
    color: inherit;
}

.hp-cat-card:hover::before {
    transform: scaleX(1);
}

.hp-cat-card__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(20, 55, 90, 0.06), rgba(111, 161, 43, 0.06));
    border-radius: 14px;
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
    line-height: 1;
    transition: all 0.3s ease;
}

.hp-cat-card__icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.hp-cat-card:hover .hp-cat-card__icon {
    background: linear-gradient(135deg, #14375a, #1a4570);
    transform: scale(1.05);
}

.hp-cat-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #14375a;
    margin: 0 0 0.5rem;
}

.hp-cat-card__desc {
    font-size: 0.9rem;
    color: #5a7184;
    line-height: 1.6;
    margin: 0 0 1rem;
    flex: 1;
}

.hp-cat-card__meta {
    font-size: 0.8rem;
    color: #8899aa;
    margin: 0 0 0.75rem;
    font-weight: 600;
}

.hp-cat-card__link {
    font-size: 0.85rem;
    font-weight: 700;
    color: #6fa12b;
    transition: color 0.2s;
}

.hp-cat-card:hover .hp-cat-card__link {
    color: #5c8a22;
}

/* ==========================================================================
   FEATURED PRODUCTS
   ========================================================================== */
.hp-products {
    padding: 5rem 0;
    background: #fff;
}

.hp-products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.hp-product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #d0dae5;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.hp-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(20, 55, 90, 0.1);
    text-decoration: none;
    color: inherit;
}

.hp-product-card__img {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f0f5f0, #e8eef5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hp-product-card__img img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.hp-product-card__img-placeholder {
    font-size: 3rem;
    line-height: 1;
    opacity: 0.4;
}

.hp-product-card__body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hp-product-card__sku {
    font-size: 0.75rem;
    color: #8899aa;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.hp-product-card__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #14375a;
    margin: 0 0 0.75rem;
    line-height: 1.4;
    flex: 1;
}

.hp-product-card__actions {
    display: flex;
    gap: 0.5rem;
}

.hp-product-card__actions .hp-btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    flex: 1;
}

/* ==========================================================================
   WHY US — Compact (Version A)
   ========================================================================== */
.hp-why {
    padding: 5rem 0;
}

.hp-why--compact {
    background: linear-gradient(135deg, #14375a 0%, #1a4570 100%);
}

.hp-why--compact .hp-section-title {
    color: #fff;
}

.hp-why--compact .hp-why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.hp-why--compact .hp-why__item {
    text-align: center;
    padding: 1.5rem 1rem;
}

.hp-why--compact .hp-why__icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(111, 161, 43, 0.15);
    border: 1px solid rgba(111, 161, 43, 0.25);
    border-radius: 14px;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    line-height: 1;
}

.hp-why--compact .hp-why__item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.4rem;
}

.hp-why--compact .hp-why__item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0;
}

/* WHY US — Cards (Version B) */
.hp-why--cards {
    background: #f5f8fb;
}

.hp-why--cards .hp-why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.hp-why--cards .hp-why__card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: #fff;
    border: 1px solid #d0dae5;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.hp-why--cards .hp-why__card:hover {
    border-color: #6fa12b;
    box-shadow: 0 12px 32px rgba(20, 55, 90, 0.08);
    transform: translateY(-4px);
}

.hp-why--cards .hp-why__icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #14375a, #1a4570);
    color: #fff;
    border-radius: 14px;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    line-height: 1;
}

.hp-why--cards .hp-why__card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #14375a;
    margin: 0 0 0.6rem;
}

.hp-why--cards .hp-why__card p {
    font-size: 0.9rem;
    color: #5a7184;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.hp-stats {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0c2240 0%, #14375a 100%);
}

.hp-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.hp-stats__item {
    padding: 1.5rem;
}

.hp-stats__number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #9fcf5a;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.hp-stats__label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* ==========================================================================
   BRANDS
   ========================================================================== */
.hp-brands {
    padding: 5rem 0;
    background: #fff;
}

.hp-brands__grid {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hp-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    height: 64px;
    background: #f5f8fb;
    border: 1px solid #d0dae5;
    border-radius: 10px;
    padding: 0 1.25rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #14375a;
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
}

.hp-brand:hover {
    border-color: #6fa12b;
    color: #6fa12b;
    box-shadow: 0 4px 12px rgba(111, 161, 43, 0.15);
    transform: translateY(-2px);
    background: #fff;
}

.hp-brand img {
    max-height: 36px;
    max-width: 100px;
    object-fit: contain;
}

.hp-brands__more {
    text-align: center;
    font-size: 0.9rem;
    color: #5a7184;
}

.hp-brands__more a {
    color: #6fa12b;
    font-weight: 600;
    text-decoration: none;
}

.hp-brands__more a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   BRANCHES
   ========================================================================== */
.hp-branches {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f5f8fb 0%, #edf2f7 100%);
}

.hp-branches__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.hp-branch-card {
    background: #fff;
    border: 1px solid #d0dae5;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.25s ease;
    border-top: 3px solid #14375a;
}

.hp-branch-card:hover {
    border-top-color: #6fa12b;
    box-shadow: 0 8px 20px rgba(20, 55, 90, 0.08);
    transform: translateY(-3px);
}

.hp-branch-card__city {
    font-size: 1.05rem;
    font-weight: 700;
    color: #14375a;
    margin: 0 0 0.5rem;
}

.hp-branch-card__phone {
    font-size: 0.85rem;
    color: #6fa12b;
    font-weight: 600;
    margin: 0 0 0.35rem;
    text-decoration: none;
    display: block;
}

.hp-branch-card__phone:hover {
    text-decoration: underline;
}

.hp-branch-card__address {
    font-size: 0.8rem;
    color: #5a7184;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.hp-cta {
    padding: 5rem 0;
}

.hp-cta--a {
    background: #fff;
}

.hp-cta--b {
    background: #f5f8fb;
}

.hp-cta__inner {
    text-align: center;
    background: linear-gradient(135deg, #14375a 0%, #0c2240 50%, #14375a 100%);
    border-radius: 24px;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(111, 161, 43, 0.3);
}

.hp-cta__inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(111, 161, 43, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hp-cta__title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.75rem;
    position: relative;
}

.hp-cta__text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 520px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    position: relative;
}

.hp-cta__actions {
    position: relative;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .hp-categories__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-products__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hp-why--compact .hp-why__grid,
    .hp-why--cards .hp-why__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-branches__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hp-hero-b__title {
        font-size: 2.5rem;
    }

    .hp-hero-a__title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hp-hero-a {
        padding: 3rem 1.5rem 2.5rem;
    }

    .hp-hero-b {
        padding: 4rem 1.5rem 3rem;
    }

    .hp-hero-a__title {
        font-size: 1.75rem;
    }

    .hp-hero-b__title {
        font-size: 2rem;
    }

    .hp-hero-b__subtitle {
        font-size: 1rem;
    }

    .hp-hero-b__stats-row {
        gap: 1.5rem;
    }

    .hp-categories,
    .hp-products,
    .hp-why,
    .hp-brands,
    .hp-branches,
    .hp-cta {
        padding: 3.5rem 0;
    }

    .hp-categories__grid {
        grid-template-columns: 1fr;
    }

    .hp-products__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-why--compact .hp-why__grid,
    .hp-why--cards .hp-why__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hp-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .hp-stats__number {
        font-size: 1.75rem;
    }

    .hp-branches__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-section-title {
        font-size: 1.75rem;
    }

    .hp-cta__inner {
        padding: 2.5rem 1.5rem;
    }

    .hp-cta__title {
        font-size: 1.75rem;
    }

    .hp-quick-actions__inner {
        flex-direction: column;
        align-items: center;
    }

    .hp-hero-a__trust {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hp-hero-a__title {
        font-size: 1.5rem;
    }

    .hp-hero-b__title {
        font-size: 1.65rem;
    }

    .hp-hero-b__stats-row {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hp-products__grid {
        grid-template-columns: 1fr;
    }

    .hp-stats__grid {
        grid-template-columns: 1fr 1fr;
    }

    .hp-branches__grid {
        grid-template-columns: 1fr;
    }

    .hp-brand {
        min-width: 110px;
        height: 52px;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   RTL
   ========================================================================== */

/* Global homepage RTL */
[dir="rtl"] .hp-a,
[dir="rtl"] .hp-b {
    direction: rtl;
    text-align: right;
}

/* Section headers RTL */
[dir="rtl"] .hp-section-header {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .hp-section-title,
[dir="rtl"] .hp-section-desc,
[dir="rtl"] .hp-section-tag {
    text-align: right;
}

[dir="rtl"] .hp-cat-card::before {
    transform-origin: right;
    left: auto;
    right: 0;
}

[dir="rtl"] .hp-hero-a__title,
[dir="rtl"] .hp-hero-b__title,
[dir="rtl"] .hp-section-title {
    letter-spacing: 0;
    text-align: right;
}

[dir="rtl"] .hp-section-tag {
    letter-spacing: 0.06em;
}

[dir="rtl"] .hp-search-link__btn {
    direction: rtl;
}

[dir="rtl"] .hp-hero-a__trust {
    direction: rtl;
}

/* Hero B RTL */
[dir="rtl"] .hp-hero-b {
    text-align: right;
}

[dir="rtl"] .hp-hero-b__content {
    direction: rtl;
}

[dir="rtl"] .hp-hero-b__title,
[dir="rtl"] .hp-hero-b__subtitle,
[dir="rtl"] .hp-hero-b__badge {
    text-align: right;
}

[dir="rtl"] .hp-hero-b::before {
    right: auto;
    left: -20%;
}

[dir="rtl"] .hp-hero-b::after {
    left: auto;
    right: -10%;
}

/* Quick actions RTL */
[dir="rtl"] .hp-quick-actions__inner {
    direction: rtl;
}

/* Categories RTL */
[dir="rtl"] .hp-categories {
    direction: rtl;
}

[dir="rtl"] .hp-cat-card {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .hp-cat-card__title,
[dir="rtl"] .hp-cat-card__desc,
[dir="rtl"] .hp-cat-card__link,
[dir="rtl"] .hp-cat-card__meta {
    text-align: right;
}

/* Products RTL */
[dir="rtl"] .hp-products {
    direction: rtl;
}

[dir="rtl"] .hp-product-card {
    direction: rtl;
}

[dir="rtl"] .hp-product-card__body {
    text-align: right;
}

[dir="rtl"] .hp-product-card__sku,
[dir="rtl"] .hp-product-card__name {
    text-align: right;
}

/* Brands RTL */
[dir="rtl"] .hp-brands {
    direction: rtl;
}

[dir="rtl"] .hp-brands__grid {
    direction: rtl;
}

[dir="rtl"] .hp-brand {
    text-align: right;
}

[dir="rtl"] .hp-brands__more {
    text-align: right;
    direction: rtl;
}

/* Why Us RTL */
[dir="rtl"] .hp-why {
    direction: rtl;
}

[dir="rtl"] .hp-why--cards .hp-why__card,
[dir="rtl"] .hp-why--compact .hp-why__item {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .hp-why__card h3,
[dir="rtl"] .hp-why__card p,
[dir="rtl"] .hp-why__item h3,
[dir="rtl"] .hp-why__item p {
    text-align: right;
}

/* Stats RTL */
[dir="rtl"] .hp-stats {
    direction: rtl;
}

[dir="rtl"] .hp-stats__item {
    text-align: right;
}

[dir="rtl"] .hp-stats__number,
[dir="rtl"] .hp-stats__label {
    text-align: right;
}

[dir="rtl"] .hp-hero-b__stat {
    text-align: right;
}

[dir="rtl"] .hp-hero-b__stat-number,
[dir="rtl"] .hp-hero-b__stat-label {
    text-align: right;
}

/* Branches RTL */
[dir="rtl"] .hp-branches {
    direction: rtl;
}

[dir="rtl"] .hp-branch-card {
    text-align: right;
}

[dir="rtl"] .hp-branch-card__city,
[dir="rtl"] .hp-branch-card__phone,
[dir="rtl"] .hp-branch-card__address {
    text-align: right;
}

/* CTA RTL */
[dir="rtl"] .hp-cta {
    direction: rtl;
}

[dir="rtl"] .hp-cta__inner {
    text-align: right;
}

[dir="rtl"] .hp-cta__title,
[dir="rtl"] .hp-cta__text {
    text-align: right;
}

[dir="rtl"] .hp-cta__inner::before {
    right: auto;
    left: -20%;
}

/* Promo cards RTL */
[dir="rtl"] .hp-promo-card {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .hp-promo-card__title,
[dir="rtl"] .hp-promo-card__text {
    text-align: right;
}

/* Hero A RTL */
[dir="rtl"] .hp-hero-a {
    text-align: right;
}

[dir="rtl"] .hp-hero-a__content {
    direction: rtl;
}

[dir="rtl"] .hp-hero-a__title,
[dir="rtl"] .hp-hero-a__subtitle {
    text-align: right;
}

/* Banner slider RTL */
[dir="rtl"] .hp-banner-slider__prev {
    left: auto;
    right: 1rem;
}

[dir="rtl"] .hp-banner-slider__next {
    right: auto;
    left: 1rem;
}

@media (max-width: 768px) {
    [dir="rtl"] .hp-banner-slider__prev {
        left: auto;
        right: 0.5rem;
    }

    [dir="rtl"] .hp-banner-slider__next {
        right: auto;
        left: 0.5rem;
    }
}

/* Search form RTL */
[dir="rtl"] .hp-search-form input {
    text-align: right;
    direction: rtl;
}

/* ==========================================================================
   SEARCH FORM
   ========================================================================== */
.hp-search-form input::placeholder {
    color: #8899aa;
}

.hp-hero-b .hp-search-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   HIDE ORO PAGE TITLE ON HOMEPAGE
   ========================================================================== */
.home-page-body .page-title,
body[class*="homepage"] .page-title {
    display: none;
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.hp-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hp-reveal.hp-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   PROMO BANNERS RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .hp-promo-grid-2,
    .hp-promo-grid-3 {
        grid-template-columns: 1fr;
    }

    .hp-promo-card {
        padding: 2rem;
    }
}
