/* =========================================================
   NARBADA AYURVEDA — ULTRA LUXURY HERITAGE & PHILOSOPHY SECTION
   Theme: Dark Forest & Gold Olive Editorial
========================================================= */

:root {
    --hp-bg: #0E120C;
    --hp-bg-card: rgba(255, 255, 255, 0.04);
    --hp-bg-card-hover: rgba(255, 255, 255, 0.08);
    --hp-border: rgba(170, 184, 146, 0.18);
    --hp-border-active: rgba(170, 184, 146, 0.45);

    --hp-olive: #7A8B5A;
    --hp-olive-light: #AAB892;
    --hp-gold: #D4AF37;
    --hp-white: #FFFFFF;
    --hp-text: rgba(255, 255, 255, 0.78);
    --hp-text-muted: rgba(255, 255, 255, 0.55);
}

.hp-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 110px 0;
    background: 
        radial-gradient(circle at 15% 20%, rgba(122, 139, 90, 0.18), transparent 35%),
        radial-gradient(circle at 85% 80%, rgba(212, 175, 55, 0.12), transparent 35%),
        linear-gradient(135deg, #090C08 0%, #0E120C 50%, #080A07 100%);
    color: var(--hp-white);
}

.hp-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(170, 184, 146, 0.4), transparent);
}

/* Background Grid Pattern */
.hp-grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

/* Header */
.hp-header {
    max-width: 820px;
    margin: 0 auto 65px;
    text-align: center;
}

.hp-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 20px;
    border-radius: 999px;
    background: rgba(170, 184, 146, 0.1);
    border: 1px solid var(--hp-border);
    color: var(--hp-olive-light);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
    backdrop-filter: blur(10px);
}

.hp-badge i {
    color: var(--hp-gold);
}

.hp-title {
    font-size: clamp(34px, 4.5vw, 58px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: var(--hp-white);
}

.hp-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--hp-olive-light);
}

.hp-subtitle {
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--hp-text);
    margin: 0 auto;
    max-width: 720px;
}

/* Main Grid */
.hp-cards-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.hp-card {
    position: relative;
    background: var(--hp-bg-card);
    border: 1px solid var(--hp-border);
    border-radius: 24px;
    padding: 38px 32px;
    backdrop-filter: blur(16px);
    transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.hp-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(170, 184, 146, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.45s ease;
}

.hp-card:hover {
    background: var(--hp-bg-card-hover);
    border-color: var(--hp-border-active);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.hp-card:hover::before {
    opacity: 1;
}

.hp-card-large {
    grid-column: span 7;
}

.hp-card-medium {
    grid-column: span 5;
}

.hp-card-span-6 {
    grid-column: span 6;
}

.hp-card-span-4 {
    grid-column: span 4;
}

/* Card Content */
.hp-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.hp-card-number {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--hp-gold);
    opacity: 0.85;
}

.hp-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(170, 184, 146, 0.12);
    border: 1px solid rgba(170, 184, 146, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--hp-olive-light);
    font-size: 20px;
    transition: transform 0.4s ease, background 0.4s ease;
}

.hp-card:hover .hp-card-icon {
    transform: scale(1.1) rotate(-5deg);
    background: rgba(212, 175, 55, 0.18);
    color: var(--hp-gold);
}

.hp-card-title {
    font-size: 23px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 14px;
    color: var(--hp-white);
}

.hp-card-text {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--hp-text);
    margin-bottom: 0;
}

/* Bottom Highlight Chips */
.hp-chips {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hp-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: var(--hp-olive-light);
    font-weight: 600;
}

.hp-chip i {
    font-size: 11px;
    color: var(--hp-gold);
}

/* Key Metrics Strip */
.hp-metrics-strip {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 55px;
    padding: 35px 40px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--hp-border);
    border-radius: 24px;
    backdrop-filter: blur(12px);
}

.hp-metric-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hp-metric-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(122, 139, 90, 0.2), rgba(212, 175, 55, 0.15));
    border: 1px solid var(--hp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--hp-gold);
}

.hp-metric-info strong {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--hp-white);
    line-height: 1.1;
}

.hp-metric-info span {
    font-size: 13px;
    color: var(--hp-text-muted);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hp-card-large,
    .hp-card-medium,
    .hp-card-span-6,
    .hp-card-span-4 {
        grid-column: span 12;
    }

    .hp-section {
        padding: 80px 0;
    }

    .hp-metrics-strip {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .hp-card {
        padding: 26px 20px;
    }

    .hp-title {
        font-size: 28px;
    }

    .hp-metric-item {
        width: 100%;
    }
}
