/**
 * Homepage V2 Styles
 *
 * New homepage design with Satoshi font, custom hero section,
 * and brand-aligned color palette.
 */

/* ── Satoshi Font ─────────────────────────────────── */
@font-face {
    font-family: 'Satoshi';
    src: url('/assets/fonts/Satoshi-Regular.woff2') format('woff2'),
         url('/assets/fonts/Satoshi-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Satoshi';
    src: url('/assets/fonts/Satoshi-Medium.woff2') format('woff2'),
         url('/assets/fonts/Satoshi-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Satoshi';
    src: url('/assets/fonts/Satoshi-Bold.woff2') format('woff2'),
         url('/assets/fonts/Satoshi-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Satoshi';
    src: url('/assets/fonts/Satoshi-Black.woff2') format('woff2'),
         url('/assets/fonts/Satoshi-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ── Navbar V2 ────────────────────────────────────── */
.hp2-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg-primary);
    padding: 0 24px;
}

.hp2-nav__inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.hp2-nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.hp2-nav__logo-icon {
    width: 40px;
    height: 40px;
}

.hp2-nav__logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #1F1F1F;
    letter-spacing: -0.02em;
}

/* Search bar in nav */
.hp2-nav__search {
    flex: 1;
    max-width: 480px;
    margin: 0 auto;
}

.hp2-nav__search-input {
    width: 100%;
    padding: 10px 16px 10px 44px;
    border: 1px solid #D8D8D8;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    color: #1F1F1F;
    background: rgba(255, 255, 255, 0.45);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.hp2-nav__search-input:focus {
    border-color: #62A262;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(98, 162, 98, 0.12);
}

.hp2-nav__search-input::placeholder {
    color: #999;
}

.hp2-nav__search-wrap {
    position: relative;
}

.hp2-nav__search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    width: 18px;
    height: 18px;
}

/* Nav right actions */
.hp2-nav__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.hp2-nav__signin {
    font-size: 15px;
    font-weight: 500;
    color: #366235;
    text-decoration: none;
    padding: 8px 4px;
    transition: color 0.2s;
}

.hp2-nav__signin:hover {
    color: #428140;
}

.hp2-nav__join {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    background: #62A262;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s;
}

.hp2-nav__join:hover {
    background: #528f52;
}

/* Nav icon buttons (messages, notifications) */
.hp2-nav__icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #366235;
    font-size: 22px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.hp2-nav__icon-btn:hover {
    background: rgba(98, 162, 98, 0.1);
    color: #2D5A2D;
}

.hp2-nav__badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: #ef4444;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    border-radius: 9px;
}

/* Profile dropdown */
.hp2-nav__profile {
    position: relative;
}

.hp2-nav__avatar-btn {
    display: flex;
    align-items: center;
    padding: 2px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

.hp2-nav__avatar-btn:hover {
    background: rgba(98, 162, 98, 0.1);
}

.hp2-nav__avatar-fallback {
    width: 32px;
    height: 32px;
    background: #62A262;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.hp2-nav__dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 220px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 4px 0;
    z-index: 100;
}

.hp2-nav__dropdown-header {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.hp2-nav__dropdown-name {
    font-size: 14px;
    font-weight: 600;
    color: #1F1F1F;
}

.hp2-nav__dropdown-username {
    font-size: 13px;
    color: #6b8a6a;
}

.hp2-nav__dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 14px;
    color: #1F1F1F;
    text-decoration: none;
    transition: background 0.15s;
    border: none;
    background: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.hp2-nav__dropdown-item:hover {
    background: rgba(98, 162, 98, 0.08);
}

.hp2-nav__dropdown-item i {
    font-size: 18px;
    color: #6b8a6a;
    flex-shrink: 0;
}

.hp2-nav__dropdown-item--full {
    width: 100%;
}

.hp2-nav__dropdown-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 4px 0;
}

/* Scale down icon buttons and tighten gap on mobile */
@media (max-width: 768px) {
    .hp2-nav__actions {
        gap: 4px;
    }

    .hp2-nav__icon-btn {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}

/* ── Hero Section ─────────────────────────────────── */
.hp2-hero {
    padding: 0 24px 24px;
}

.hp2-hero__container {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}

/* Background image */
.hp2-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hp2-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Gradient overlay — matches the brand radial gradient */
.hp2-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* Radial gradient: #366235 at ~71% opacity center, white band, #366235 at ~63% edges */
    background:
        radial-gradient(
            ellipse 120% 100% at 30% 60%,
            rgba(54, 98, 53, 0.82) 0%,
            rgba(54, 98, 53, 0.70) 35%,
            rgba(255, 255, 255, 0.08) 55%,
            rgba(54, 98, 53, 0.63) 80%,
            rgba(54, 98, 53, 0.75) 100%
        );
}

/* Inner border glow (the subtle white rounded-rect stroke in the mockup) */
.hp2-hero__border-glow {
    position: absolute;
    inset: 8px;
    z-index: 2;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    pointer-events: none;
}

/* Hero content */
.hp2-hero__content {
    position: relative;
    z-index: 3;
    padding: 64px 56px;
    max-width: 680px;
}

.hp2-hero__title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.08;
    color: #FFFFFF;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.hp2-hero__subtitle {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 32px;
    max-width: 520px;
}

/* Hero search */
.hp2-hero__search {
    position: relative;
    max-width: 440px;
    margin-bottom: 28px;
}

.hp2-hero__search-input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border-radius: 12px;
    border: none;
    font-family: inherit;
    font-size: 15px;
    color: #1F1F1F;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
    outline: none;
    transition: background 0.2s;
}

.hp2-hero__search-input:focus {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.hp2-hero__search-input::placeholder {
    color: #888;
    font-size: 14px;
}

.hp2-hero__search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
    width: 18px;
    height: 18px;
}

/* Hero action buttons */
.hp2-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hp2-btn--primary {
    display: inline-flex;
    align-items: center;
    padding: 12px 26px;
    background: #62A262;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.hp2-btn--primary:hover {
    background: #528f52;
}

.hp2-btn--outline {
    display: inline-flex;
    align-items: center;
    padding: 12px 26px;
    background: transparent;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.hp2-btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.9);
}

/* ── Shared Card Base ─────────────────────────────── */
.hp2-card {
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(54, 98, 53, 0.08);
    transition: box-shadow 0.2s, transform 0.15s;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.hp2-card:hover {
    box-shadow: 0 8px 28px rgba(54, 98, 53, 0.12);
    transform: translateY(-2px);
}

/* ── Featured Services ─────────────────────────────── */
.hp2-services {
    padding: 64px 24px;
}

.hp2-services__inner {
    max-width: 1320px;
    margin: 0 auto;
}

.hp2-services__title {
    font-size: 36px;
    font-weight: 900;
    color: #366235;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.hp2-services__subtitle {
    font-size: 17px;
    color: #6b8a6a;
    margin: 0 0 32px;
}

/* Category tabs */
.hp2-services__tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(54, 98, 53, 0.12);
    margin-bottom: 0;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hp2-services__tabs::-webkit-scrollbar {
    display: none;
}

.hp2-services__tab {
    padding: 12px 20px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: #6b8a6a;
    background: none;
    border: none;
    border-bottom: 2.5px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
    margin-bottom: -1px;
}

.hp2-services__tab:hover {
    color: #366235;
}

.hp2-services__tab--active {
    color: #366235;
    font-weight: 700;
    border-bottom-color: #366235;
}

/* Cards grid */
.hp2-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 28px;
}

/* Single card — extends .hp2-card */
.hp2-services__card {
    padding: 12px;
}

/* Card image */
.hp2-services__card-img-wrap {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 14px;
}

.hp2-services__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.hp2-services__card:hover .hp2-services__card-img {
    transform: scale(1.04);
}

/* Category badge on image */
.hp2-services__card-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 5px 14px;
    background: rgba(98, 162, 98, 0.88);
    backdrop-filter: blur(6px);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    letter-spacing: 0.01em;
}

/* Card body */
.hp2-services__card-body {
    padding: 12px 0 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hp2-services__card-title {
    font-size: 17px;
    font-weight: 700;
    color: #1F1F1F;
    text-decoration: none;
    line-height: 1.3;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp2-services__card-title:hover {
    color: #366235;
}

.hp2-services__card-desc {
    font-size: 14px;
    color: #6b8a6a;
    line-height: 1.5;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Star rating */
.hp2-services__card-rating {
    display: flex;
    gap: 1px;
    margin-bottom: 12px;
}

.hp2-star {
    font-size: 15px;
    line-height: 1;
}

.hp2-star--full {
    color: #62A262;
}

.hp2-star--half {
    color: #94CE94;
}

.hp2-star--empty {
    color: #D8D8D8;
}

/* Price + book row */
.hp2-services__card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 4px;
}

.hp2-services__card-price {
    font-size: 26px;
    font-weight: 900;
    color: #1F1F1F;
    letter-spacing: -0.02em;
}

.hp2-services__card-book {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    background: #62A262;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.hp2-services__card-book:hover {
    background: #528f52;
}

/* Empty state */
.hp2-services__empty {
    text-align: center;
    padding: 48px 0;
    color: #6b8a6a;
}

.hp2-services__empty p {
    margin-bottom: 20px;
}

/* Transition helpers for Alpine */
.hp2-fade-in {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.hp2-fade-start {
    opacity: 0;
    transform: scale(0.97);
}

.hp2-fade-end {
    opacity: 1;
    transform: scale(1);
}

/* ── Communities Section ──────────────────────────── */
.hp2-communities {
    padding: 64px 24px;
}

.hp2-communities__inner {
    max-width: 1320px;
    margin: 0 auto;
}

.hp2-communities__title {
    font-size: 36px;
    font-weight: 900;
    color: #1F1F1F;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
    text-align: center;
}

.hp2-communities__subtitle {
    font-size: 17px;
    color: #6b8a6a;
    margin: 0 0 40px;
    text-align: center;
}

.hp2-communities__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

/* extends .hp2-card — overflow: visible needed for icon pseudo-element rings */
.hp2-communities__card {
    padding: 40px 28px 32px;
    align-items: flex-start;
    overflow: visible;
}

.hp2-communities__card-icon {
    width: 45px;
    height: 45px;
    min-height: 45px;
    border-radius: 50%;
    background: #62A262;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px 0 28px 16px;
    position: relative;
}

.hp2-communities__card-icon::before {
    content: '';
    position: absolute;
    width: 77px;
    height: 77px;
    border-radius: 50%;
    background: rgba(98, 162, 98, 0.14);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hp2-communities__card-icon::after {
    content: '';
    position: absolute;
    width: 61px;
    height: 61px;
    border-radius: 50%;
    background: rgba(98, 162, 98, 0.43);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hp2-communities__card-icon img {
    position: relative;
    z-index: 1;
}

.hp2-communities__card-icon img {
    width: 26px;
    height: 26px;
    filter: brightness(0) invert(1);
}

.hp2-communities__card-name {
    font-size: 16px;
    font-weight: 800;
    color: #1a3a19;
    letter-spacing: 0.04em;
    margin: 0 0 6px;
    line-height: 1.3;
}

.hp2-communities__card-members {
    font-size: 13px;
    color: #62A262;
    font-weight: 500;
    margin-bottom: 12px;
}

.hp2-communities__card-desc {
    font-size: 15px;
    color: #5a7d59;
    line-height: 1.5;
    margin: 0 0 20px;
    flex: 1;
}

.hp2-communities__card-btn {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    background: #62A262;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.hp2-communities__card-btn:hover {
    background: #528f52;
}

.hp2-communities__cta {
    text-align: center;
}

/* ── CTA Banner ───────────────────────────────────── */
.hp2-cta {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-overflow-scrolling: touch;
}

.hp2-cta__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hp2-cta__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp2-cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.05),
        rgba(0, 0, 0, 0.0),
        rgba(255, 255, 255, 0.05)
    );
    z-index: 1;
}

.hp2-cta__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 24px;
    max-width: 900px;
    margin: 0 auto;
}

.hp2-cta__title {
    font-family: 'Satoshi', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: #FFFFFF;
    margin: 0 0 20px;
    line-height: 1.15;
}

.hp2-cta__subtitle {
    font-family: 'Satoshi', sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 40px;
    line-height: 1.6;
}

.hp2-cta__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hp2-cta__btn {
    font-family: 'Satoshi', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.hp2-cta__btn--primary {
    background: #FFFFFF;
    color: #2D5A2D;
}

.hp2-cta__btn--primary:hover {
    background: #F0F0F0;
}

.hp2-cta__btn--outline {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.hp2-cta__btn--outline:hover {
    border-color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .hp2-cta {
        min-height: 320px;
    }

    .hp2-cta__title {
        font-size: 2rem;
    }

    .hp2-cta__subtitle {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .hp2-cta__content {
        padding: 56px 20px;
    }

    .hp2-cta__btn {
        padding: 12px 28px;
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .hp2-cta {
        min-height: 280px;
    }

    .hp2-cta__title {
        font-size: 1.625rem;
        margin-bottom: 16px;
    }

    .hp2-cta__subtitle {
        font-size: 0.9375rem;
        margin-bottom: 28px;
    }

    .hp2-cta__content {
        padding: 48px 16px;
    }

    .hp2-cta__actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hp2-cta__btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 14px 24px;
        min-height: 48px;
    }
}

/* ── Blog Section ────────────────────────────────── */
.hp2-blog {
    padding: 64px 24px;
}

.hp2-blog__inner {
    max-width: 1320px;
    margin: 0 auto;
}

.hp2-blog__title {
    font-size: 36px;
    font-weight: 900;
    color: #366235;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
    text-align: center;
}

.hp2-blog__subtitle {
    font-size: 17px;
    color: #6b8a6a;
    margin: 0 0 40px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hp2-blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* extends .hp2-card — no overrides needed */

/* Card image */
.hp2-blog__card-img-wrap {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.hp2-blog__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.hp2-blog__card:hover .hp2-blog__card-img {
    transform: scale(1.04);
}

.hp2-blog__card-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(98, 162, 98, 0.15), rgba(98, 162, 98, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp2-blog__card-img-placeholder i {
    font-size: 48px;
    color: rgba(98, 162, 98, 0.35);
}

/* Card body */
.hp2-blog__card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hp2-blog__card-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(98, 162, 98, 0.12);
    color: #366235;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.hp2-blog__card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1F1F1F;
    text-decoration: none;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp2-blog__card-title:hover {
    color: #366235;
}

.hp2-blog__card-excerpt {
    font-size: 14px;
    color: #6b8a6a;
    line-height: 1.6;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* Card meta */
.hp2-blog__card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(54, 98, 53, 0.08);
}

.hp2-blog__card-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hp2-blog__card-author-name {
    font-size: 13px;
    font-weight: 600;
    color: #1F1F1F;
    text-decoration: none;
    display: block;
    line-height: 1.3;
}

.hp2-blog__card-author-name:hover {
    color: #366235;
}

.hp2-blog__card-date {
    font-size: 12px;
    color: #6b8a6a;
    display: block;
}

.hp2-blog__card-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #6b8a6a;
}

.hp2-blog__card-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.hp2-blog__card-stats i {
    font-size: 16px;
}

/* Blog CTA */
.hp2-blog__cta {
    text-align: center;
    margin-top: 48px;
}

/* Blog empty state */
.hp2-blog__empty {
    text-align: center;
    padding: 48px 0;
}

.hp2-blog__empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(98, 162, 98, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp2-blog__empty-icon i {
    font-size: 28px;
    color: #62A262;
}

.hp2-blog__empty-title {
    font-size: 20px;
    font-weight: 700;
    color: #1F1F1F;
    margin: 0 0 8px;
}

.hp2-blog__empty-desc {
    font-size: 15px;
    color: #6b8a6a;
    margin: 0 0 24px;
}

/* ── Footer V2 ────────────────────────────────────── */
.hp2-footer {
    border-top: 1px solid rgba(54, 98, 53, 0.12);
    padding: 64px 24px 40px;
    margin-top: 0;
}

.hp2-footer__inner {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
}

/* Left column — logo + description */
.hp2-footer__brand {
    display: flex;
    flex-direction: column;
}

.hp2-footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 24px;
}

.hp2-footer__logo-icon {
    width: 56px;
    height: 56px;
}

.hp2-footer__logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #366235;
    letter-spacing: -0.02em;
}

.hp2-footer__description {
    font-size: 16px;
    line-height: 1.7;
    color: #366235;
    max-width: 400px;
}

.hp2-footer__copyright {
    grid-column: 1 / -1;
    padding-top: 32px;
    font-size: 13px;
    color: #5a7d59;
}

/* Link columns */
.hp2-footer__links {
    padding-top: 8px;
}

.hp2-footer__links-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #62A262;
    margin-bottom: 20px;
}

.hp2-footer__links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hp2-footer__links a {
    font-size: 16px;
    font-weight: 500;
    color: #366235;
    text-decoration: none;
    transition: color 0.2s;
}

.hp2-footer__links a:hover {
    color: #62A262;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 768px) {
    .hp2-nav {
        padding: 0 16px;
    }

    .hp2-nav__inner {
        height: 60px;
        gap: 12px;
    }

    .hp2-nav__logo-text {
        font-size: 18px;
    }

    .hp2-nav__logo-icon {
        width: 32px;
        height: 32px;
    }

    .hp2-nav__search {
        display: none; /* search is in the hero on mobile */
    }

    .hp2-nav__signin {
        font-size: 14px;
    }

    .hp2-nav__join {
        padding: 8px 16px;
        font-size: 14px;
    }

    .hp2-footer {
        padding: 40px 16px 32px;
    }

    .hp2-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .hp2-footer__brand {
        grid-column: 1 / -1;
    }

    .hp2-footer__logo-icon {
        width: 44px;
        height: 44px;
    }

    .hp2-footer__logo-text {
        font-size: 24px;
    }

    .hp2-footer__copyright {
        grid-column: 1 / -1;
        margin-top: 0;
        padding-top: 24px;
        border-top: 1px solid rgba(54, 98, 53, 0.12);
    }

    /* Services - mobile */
    .hp2-services {
        padding: 40px 16px;
    }

    .hp2-services__title {
        font-size: 26px;
    }

    .hp2-services__subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .hp2-services__tabs {
        margin-bottom: 0;
        gap: 0;
    }

    .hp2-services__tab {
        padding: 10px 16px;
        font-size: 14px;
    }

    .hp2-services__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hp2-services__card-price {
        font-size: 22px;
    }

    /* Communities - mobile */
    .hp2-communities {
        padding: 40px 16px;
    }

    .hp2-communities__title {
        font-size: 26px;
    }

    .hp2-communities__subtitle {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .hp2-communities__grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 36px;
    }

    .hp2-communities__card {
        padding: 24px 20px;
    }

    /* Blog - mobile */
    .hp2-blog {
        padding: 40px 16px;
    }

    .hp2-blog__title {
        font-size: 26px;
    }

    .hp2-blog__subtitle {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .hp2-blog__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hp2-blog__cta {
        margin-top: 36px;
    }

    .hp2-hero {
        padding: 0 12px 16px;
    }

    .hp2-hero__container {
        min-height: 440px;
        border-radius: 16px;
    }

    .hp2-hero__content {
        padding: 36px 24px;
    }

    .hp2-hero__title {
        font-size: 32px;
        line-height: 1.12;
        margin-bottom: 14px;
    }

    .hp2-hero__subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .hp2-hero__search {
        max-width: 100%;
    }

    .hp2-hero__search-input {
        padding: 12px 16px 12px 44px;
        font-size: 14px;
    }

    .hp2-hero__actions {
        flex-direction: column;
        gap: 10px;
    }

    .hp2-btn--primary,
    .hp2-btn--outline {
        justify-content: center;
        width: 100%;
        padding: 12px 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hp2-hero__title {
        font-size: 42px;
    }

    .hp2-hero__content {
        padding: 48px 40px;
    }

    .hp2-services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .hp2-services__title {
        font-size: 30px;
    }

    .hp2-communities__title {
        font-size: 30px;
    }

    .hp2-communities__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hp2-blog__title {
        font-size: 30px;
    }

    .hp2-blog__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}
