/* ============================================================
   Inbita.ph — Home Page (Redesign)
   Formal, clean, white background
   ============================================================ */

/* ── Base ────────────────────────────────────────────────────── */
.home-page {
    background: #FFFFFF;
    color: #1A0F0C;
    font-family: 'Jost', sans-serif;
    min-height: 100svh;
}

.site-maintenance-banner {
    background: #1A0F0C;
    color: #C9A96E;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    letter-spacing: .04em;
    text-align: center;
    justify-content: center;
}

/* ── Shared inner max-width ──────────────────────────────────── */
.hn-section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ════════════════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════════════════ */
.hn-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #E8DDD4;
}

.hn-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Brand */
.hn-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.hn-brand-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.hn-brand-logo { width: 56px; height: 56px; object-fit: contain; border-radius: 4px; }
.hn-brand-name {
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    color: #1A0F0C;
    line-height: 1;
}

.hn-brand-sub {
    font-family: 'Jost', sans-serif;
    font-size: 9px;
    letter-spacing: .1em;
    color: #9E8C87;
    line-height: 1;
}

.hn-links {
    display: none;
    align-items: center;
    gap: 28px;
    margin-left: auto; /* ← pushes links to the right */
}

.hn-link {
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    letter-spacing: .04em;
    color: #6B5B54;
    text-decoration: none;
    transition: color .15s;
}
.hn-link:hover { color: #C48B9F; }

/* CTA button */
.hn-cta {
    margin-left: 0;
    padding: 9px 22px;
    background: #C48B9F;
    border: none;
    border-radius: 8px;
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    color: #FAF6F1;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.hn-cta:hover { background: #e594b0; }

/* Mobile toggle */
.hn-mobile-toggle {
    display: flex;
    margin-left: auto;
    background: none;
    border: none;
    font-size: 20px;
    color: #1A0F0C;
    cursor: pointer;
    padding: 4px;
}

/* Mobile menu */
.hn-mobile-menu {
    background: #fff;
    border-top: 1px solid #E8DDD4;
    padding: 16px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hn-mobile-link {
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    color: #3A3230;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid #F0E8DC;
}

/* Desktop breakpoint */
@media (min-width: 768px) {
    .hn-links        { display: flex; }
    .hn-mobile-toggle { display: none; }
    .hn-cta          { margin-left: 0; }
}

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hn-hero {
    background: #FFFFFF; /*linear-gradient(160deg, #FEFCF8 0%, #FAF6F1 100%);*/
    border-bottom: 0; /*1px solid #E8DDD4;*/
    padding: 64px 0;
}

.hn-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 48px;
}

.hn-hero-content { flex: 1; }

.hn-hero-eyebrow {
    font-size: 10px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #C48B9F;
    margin: 0 0 16px;
}
.hn-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 44px;
    font-weight: 300;
    line-height: 1.15;
    color: #1A0F0C;
    margin: 0 0 12px;
}
.hn-hero-accent {
    display: block;
    font-style: italic;
    color: #C48B9F;
}
.hn-hero-sub {
    font-size: 14px;
    line-height: 1.8;
    color: #6B5B54;
    margin: 0 0 28px;
    max-width: 480px;
}
.hn-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hn-hero-btn-primary {
    padding: 13px 28px;
    background: #C48B9F;
    border: none;
    border-radius: 8px;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .06em;
    color: #FAF6F1;
    cursor: pointer;
    transition: background .2s;
}
.hn-hero-btn-primary:hover { background: #e594b0; }

.hn-hero-btn-ghost {
    padding: 13px 28px;
    background: transparent;
    border: 1px solid #D4C4B0;
    border-radius: 8px;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    letter-spacing: .06em;
    color: #6B5B54;
    cursor: pointer;
    transition: all .2s;
}
.hn-hero-btn-ghost:hover { border-color: #C48B9F; color: #C48B9F; }

/* Hero visual */
.hn-hero-visual {
    flex-shrink: 0;
    position: relative;
    display: none;
}
.hn-hero-img {
    width: 200px;
    height: auto;
    object-fit: contain;
    transform: rotate(-8deg);
    filter: drop-shadow(0 12px 24px rgba(0,0,0,.12));
    transition: transform .3s ease;
}
.hn-hero-img:hover { transform: rotate(-4deg) scale(1.03); }
.hn-hero-floatals {
    position: absolute;
    inset: -20px;
    pointer-events: none;
}
.hf {
    position: absolute;
    color: #C48B9F;
    opacity: .2;
    font-size: 16px;
    animation: hfFloat 4s ease-in-out infinite;
}
.hf-1 { top: 0;   left: 0;   animation-delay: 0s; }
.hf-2 { top: 0;   right: 0;  animation-delay: 1s; }
.hf-3 { bottom: 0; left: 0;  animation-delay: 2s; }
.hf-4 { bottom: 0; right: 0; animation-delay: 3s; }
@keyframes hfFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

@media (min-width: 768px) {
    .hn-hero-visual { display: block; }
    .hn-hero-title  { font-size: 52px; }
}

/* ════════════════════════════════════════════════════════════
   ADS BANNER
   ════════════════════════════════════════════════════════════ */
/*.hn-ads {*/ /*background: #FAF6F1;*/
    /*padding: 0;
    background: linear-gradient( to bottom, #FAF6F1 0%, #FCFAF8 55%, #FFFFFF 100% );
}*/
.hn-ads {
    position: relative;
    background: #FAF6F1;
    padding: 0;
    overflow: hidden;
}

    .hn-ads::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 160px;
        background: linear-gradient( to bottom, transparent 0%, rgba(255, 255, 255, 0.35) 35%, rgba(255, 255, 255, 0.75) 70%, #ffffff 100% );
        pointer-events: none;
    }

.hn-ads-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.home-ad-img {
    width: 100%;
    height: 480px; /* ← fixed smaller height */
    object-fit: fill; /* ← stretch to fill entire area */
    display: block;
}

/* ════════════════════════════════════════════════════════════
   SECTION SHARED STYLES
   ════════════════════════════════════════════════════════════ */
.hn-section-header {
    text-align: center;
    margin-bottom: 48px;
}
.hn-section-eyebrow {
    font-size: 10px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #C48B9F;
    margin: 0 0 12px;
}
.hn-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 300;
    color: #1A0F0C;
    margin: 0 0 12px;
}
.hn-section-sub {
    font-size: 14px;
    color: #9E8C87;
    line-height: 1.7;
    margin: 0;
}

/* ════════════════════════════════════════════════════════════
   CATEGORY CARDS
   ════════════════════════════════════════════════════════════ */
.hn-categories {
    padding: 72px 0;
    background: #fff;
    border-bottom: 1px solid #E8DDD4;
}

.hn-cat-card-count {
    font-size: 11px;
    letter-spacing: .06em;
    color: #9E8C87;
    margin: 0;
}

@media (min-width: 768px) {
    .hn-cat-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ════════════════════════════════════════════════════════════
   TEMPLATE GRID
   ════════════════════════════════════════════════════════════ */
.hn-templates {
    padding: 64px 0;
    background: #FAF6F1;
    border-bottom: 1px solid #E8DDD4;
}

/* Tabs */
.hn-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.hn-tab {
    padding: 7px 18px;
    background: transparent;
    border: 1px solid #D4C4B0;
    border-radius: 20px;
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    letter-spacing: .04em;
    color: #6B5B54;
    cursor: pointer;
    transition: all .15s;
}
.hn-tab:hover       { border-color: #C48B9F; color: #C48B9F; }
.hn-tab--active     { background: #C48B9F; color: #FAF6F1; border-color: #e594b0; }

/* Group header */
.hn-group { margin-bottom: 48px; }
.hn-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.hn-group-title {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 24px;
    font-weight: 300;
    color: #1A0F0C;
    margin: 0;
}
.hn-see-all {
    background: none;
    border: none;
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    color: #C48B9F;
    cursor: pointer;
    padding: 0;
    transition: opacity .15s;
}
.hn-see-all:hover { opacity: .7; }

/* Template grid */
.hn-template-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 768px) {
    .hn-template-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .hn-template-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Template card */
.hn-template-card {
    min-width: 0;
    cursor: pointer;
    transition: transform .2s;
}
    .hn-template-card:hover { transform: translateY(-3px); }
    .hn-template-card:has(.tc-inv-frame > div:not(.tc-inv-skeleton)) {
        animation: cardFadeIn .5s ease forwards;
    }

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hn-tc-frame {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    background: #E8DDD4;
    aspect-ratio: 5 / 7;
}
.hn-tc-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    gap: 4px;
    z-index: 2;
}
.hn-badge {
    padding: 2px 7px;
    border-radius: 2px;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-family: 'Jost', sans-serif;
}
.hn-badge-new     { background: rgba(143,175,138,.9); color: #fff; }
.hn-badge-popular { background: rgba(196,139,159,.9); color: #fff; }
.hn-badge-premium { background: rgba(201,169,110,.9); color: #fff; }

/* ── Premium badge — more visible ───────────────────────────── */
.tc-badge-premium {
    background: linear-gradient(135deg, #C9A96E 0%, #E8C97A 50%, #C9A96E 100%);
    color: #1A0F0C;
    font-weight: 600;
    font-size: 8px;
    letter-spacing: .06em;
    box-shadow: 0 2px 8px rgba(201,169,110,.5), inset 0 1px 0 rgba(255,255,255,.3);
    text-shadow: none;
    position: relative;
    overflow: hidden;
    /* ── Circular ────────────────────────────────────────────── */
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
}

    /* shimmer effect */
    .tc-badge-premium::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 60%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.4), transparent );
        animation: premiumShimmer 2.5s ease-in-out infinite;
    }

@keyframes premiumShimmer {
    0% {
        left: -60%;
    }

    100% {
        left: 160%;
    }
}


.hn-tc-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    overflow: hidden;
    padding: 8px 4px 4px;
    margin-bottom: 20px;
    min-height: 32px;
}

.hn-tc-name {
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    color: #3A3230;
    min-width: 0;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hn-badge-premium {
    flex: 0 0 auto;
    font-size: 12px;
    margin-left: 4px;
}

/* Pagination */
.hn-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}
.hn-page-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid #D4C4B0;
    border-radius: 3px;
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    color: #6B5B54;
    cursor: pointer;
    transition: all .15s;
}
.hn-page-btn:hover:not(:disabled) { border-color: #C48B9F; color: #C48B9F; }
.hn-page-btn:disabled { opacity: .4; cursor: not-allowed; }
.hn-page-info {
    font-size: 12px;
    color: #9E8C87;
    letter-spacing: .04em;
}

/* ════════════════════════════════════════════════════════════
   HOW IT WORKS
   ════════════════════════════════════════════════════════════ */

.hn-how {
    position: relative;
    z-index: 5;
    margin-top: -50px;
    padding: 0 20px 80px;
}

    .hn-how .hn-section-inner {
        max-width: 1100px;
        margin: 0 auto;
    }

.hn-how-steps {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(180, 140, 150, 0.15);
    border-radius: 18px;
    padding: 35px 40px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08), 0 3px 10px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.hn-how-step {
    flex: 1;
    text-align: center;
}

.hn-how-num {
    width: 45px;
    height: 45px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #c98fa4;
    color: white;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}

.hn-how-title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 600;
    color: #302525;
}

.hn-how-desc {
    margin: 0 auto;
    max-width: 250px;
    font-size: 13px;
    line-height: 1.6;
    color: #777;
}

.hn-how-divider {
    color: #c98fa4;
    font-size: 22px;
    opacity: 0.7;
}

@media (max-width: 768px) {

    .hn-how {
        margin-top: -45px;
        padding: 0 15px 60px;
    }

    .hn-how-steps {
        flex-direction: column;
        padding: 30px 25px;
        gap: 25px;
    }

    .hn-how-divider {
        transform: rotate(90deg);
    }

    .hn-how-step {
        width: 100%;
    }
}

/* ════════════════════════════════════════════════════════════
   PRICING
   ════════════════════════════════════════════════════════════ */
.hn-pricing {
    padding: 52px 0;
    background: #fff;
}

.hn-pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 768px) {
    .hn-pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.hn-price-card {
    background: #fdf7fb;
    border: 1px solid #E8DDD4;
    border-radius: 8px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}
.hn-price-card--featured {
    border-color: #C48B9F;
    box-shadow: 0 8px 32px rgba(196,139,159,.15);
}

.hn-price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #C48B9F;
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 12px;
    white-space: nowrap;
}

.hn-price-header { display: flex; flex-direction: column; gap: 6px; }
.hn-price-tier {
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6B5B54;
    margin: 0;
}
.hn-price-val {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 300;
    color: #1A0F0C;
    margin: 0;
}
.hn-price-desc {
    font-size: 12px;
    color: #9E8C87;
    margin: 0;
}

.hn-price-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.hn-price-features li {
    font-size: 13px;
    color: #3A3230;
}
.hn-price-locked {
    color: #C4B4A8 !important;
    text-decoration: line-through;
}

.hn-price-btn {
    width: 100%;
    padding: 12px;
    border-radius: 3px;
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .06em;
    cursor: pointer;
    transition: all .2s;
}
.hn-price-btn--primary {
    background: #C48B9F;
    border: none;
    color: #fff;
}
.hn-price-btn--primary:hover { background: #A06070; }
.hn-price-btn--ghost {
    background: transparent;
    border: 1px solid #D4C4B0;
    color: #6B5B54;
}
.hn-price-btn--ghost:hover { border-color: #C48B9F; color: #C48B9F; }

/* ── See sample button ───────────────────────────────────────── */
.hn-price-preview-btn {
    background: none;
    border: none;
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    color: #C48B9F;
    cursor: pointer;
    padding: 0 0 0 4px;
    text-decoration: underline;
    letter-spacing: .04em;
    transition: opacity .15s;
}

    .hn-price-preview-btn:hover {
        opacity: .7;
    }

/* ── Overlay ─────────────────────────────────────────────────── */
.hn-preview-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    z-index: 99999;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 16px;
    overflow-y: auto; /* ← scroll happens inside overlay, not the page */
    overscroll-behavior: contain; /* ← prevents scroll from bleeding to page */
    -webkit-overflow-scrolling: touch;
}

/* ── Modal ───────────────────────────────────────────────────── */
.hn-preview-modal {
    background: #fff;
    border-radius: 8px;
    padding: 24px 20px;
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    max-height: 90svh;
    overflow-y: auto;
    /* ── Scroll containment ───────────────── */
    max-height: 85dvh; /* dvh instead of svh — more reliable on iOS */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* smooth scroll inside modal on iOS */
    overscroll-behavior: contain; /* prevent scroll escaping to page */
    /* ── Centering ────────────────────────── */
    margin: auto;
    /* ── Prevent content from shrinking modal ── */
    flex-shrink: 0;
    box-sizing: border-box;
}

/* ── Close ───────────────────────────────────────────────────── */
.hn-preview-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #FAF6F1;
    border: 1px solid #E8DDD4;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B5B54;
    transition: all .15s;
}

    .hn-preview-close:hover {
        background: #E8DDD4;
    }

/* ── Label ───────────────────────────────────────────────────── */
.hn-preview-label {
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #C48B9F;
    margin: 0;
    padding-right: 32px;
}

/* ── Image ───────────────────────────────────────────────────── */
.hn-preview-img-wrap {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #E8DDD4;
}

.hn-preview-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ── Description ─────────────────────────────────────────────── */
.hn-preview-desc {
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    color: #9E8C87;
    line-height: 1.7;
    margin: 0;
}


/* ════════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════════ */

.home-faq {
    background: #faf1fa;
    padding: 40px 20px 56px;
    border-bottom: 1px solid #E8DDD4;
}

.home-section-header {
    text-align: center;
    margin-bottom: 24px;
    padding: 0 24px;
}

.home-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Item ────────────────────────────────────────────────────── */
.home-faq-item {
    background: #fff;
    border: 1px solid #E8DDD4;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .2s;
}

    .home-faq-item[open] {
        border-color: #C48B9F;
    }

/* ── Question row ────────────────────────────────────────────── */
.home-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1A0F0C;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: color .15s;
}

    .home-faq-q::-webkit-details-marker {
        display: none;
    }

.home-faq-item[open] .home-faq-q {
    color: #C48B9F;
}

.home-faq-icon {
    flex-shrink: 0;
    font-size: 20px;
    font-weight: 300;
    color: #C48B9F;
    line-height: 1;
    transition: transform .2s ease;
}

.home-faq-item[open] .home-faq-icon {
    transform: rotate(45deg);
}

/* ── Answer ──────────────────────────────────────────────────── */
.home-faq-a {
    padding: 0 20px 16px;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    color: #9E8C87;
    line-height: 1.8;
    border-top: 1px solid #F0E8DC;
    padding-top: 14px;
}

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.hn-footer {
    background: #6e454f;
    color: #FAF6F1;
}

.hn-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 24px 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 768px) {
    .hn-footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
}

.hn-footer-brand { display: flex; flex-direction: column; gap: 8px; }
.hn-footer-logo { width: 36px; height: 36px; object-fit: contain; border-radius: 4px; }
.hn-footer-name {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 20px;
    color: #FAF6F1;
}
.hn-footer-tagline {
    font-size: 12px;
    color: rgba(250,246,241,.4);
    line-height: 1.6;
    margin: 4px 0 0;
    max-width: 220px;
}

.hn-footer-links { display: flex; flex-direction: column; gap: 8px; }
.hn-footer-group-title {
    font-size: 9px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(250,246,241,.3);
    margin: 0 0 4px;
}
.hn-footer-link {
    font-size: 13px;
    color: rgba(250,246,241,.55);
    text-decoration: none;
    transition: color .15s;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    text-align: left;
}
.hn-footer-link:hover { color: #FAF6F1; }

.hn-footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(250,246,241,.55);
    text-decoration: none;
    transition: color .15s;
}
.hn-footer-social:hover { color: #FAF6F1; }
.hn-footer-social-img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    /*filter: brightness(0) invert(1);*/
    /*opacity: .5;*/
}

.hn-footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.hn-footer-copy {
    font-size: 11px;
    color: rgba(250,246,241,.25);
    margin: 0;
}
.hn-footer-legal { display: flex; gap: 16px; }
.hn-footer-legal-link {
    font-size: 11px;
    color: rgba(250,246,241,.25);
    text-decoration: none;
    transition: color .15s;
}
.hn-footer-legal-link:hover { color: rgba(250,246,241,.6); }

/* ── Backdrop ────────────────────────────────────────────────── */
.hn-mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 98;
    background: transparent;
}

/* ── Mobile menu — overlay on top ───────────────────────────── */
.hn-mobile-menu {
    position: fixed; /* ← float above everything ✓ */
    top: 56px; /* ← below nav height ✓ */
    left: 0;
    right: 0;
    z-index: 99; /* ← above all sections ✓ */
    background: #fff;
    border-top: 1px solid #E8DDD4;
    border-bottom: 1px solid #E8DDD4;
    padding: 12px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    /* ── Slide down animation ────────────────────────────────── */
    animation: mobileMenuSlide .2s ease;
}

@keyframes mobileMenuSlide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   CATEGORY GRID
   ========================================= */


/* =========================================
   HOVER
   ========================================= */

.hn-cat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(210, 185, 180, 0.75);
    box-shadow: 0 14px 30px rgba(100, 80, 80, 0.12), inset 0 1px 0 rgba(255, 255, 255, 1);
}


    .hn-cat-card:hover::before {
        transform: scale(1.35);
    }


    .hn-cat-card:hover::after {
        transform: scale(1.35);
    }


    .hn-cat-card:hover .hn-cat-card-icon {
        transform: scale(1.08) rotate(-3deg);
        box-shadow: 0 8px 18px rgba(100, 80, 80, 0.12), inset 0 1px 0 rgba(255, 255, 255, 1);
    }


    .hn-cat-card:hover .hn-cat-card-name {
        color: #735d55;
        transform: translateX(2px);
    }


    .hn-cat-card:hover .hn-cat-card-arrow {
        transform: translateX(7px);
        color: #947b70;
    }


/* =========================================
   CLICK EFFECT
   ========================================= */

.hn-cat-card:active {
    transform: translateY(-1px) scale(0.985);
    box-shadow: 0 5px 14px rgba(100, 80, 80, 0.08);
}

/* ════════════════════════════════════════════════════════════
   COMPARISON SECTION
   ════════════════════════════════════════════════════════════ */
.hn-compare {
    padding: 52px 0;
    background: #fff;
}

/* ── Grid — two cards + VS ───────────────────────────────────── */
.hn-compare-grid {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E8DDD4;
}

/* ── Card base ───────────────────────────────────────────────── */
.hn-compare-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    gap: 20px;
}

.hn-compare-card--old {
    background: linear-gradient( 160deg, #FEFAF8 0%, #F9EEF3 35%, #F3E0EA 70%, #EDD5E3 100% );
}

.hn-compare-card--new {
    background: linear-gradient( 160deg, #FFFCFE 0%, #FDF4F9 35%, #FAE8F2 70%, #F5D8EB 100% );
}

.hn-compare-card-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between; /* ← pushes image to right ✓ */
    gap: 12px;
    text-align: left;
}

.hn-compare-header-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.hn-compare-header-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hn-compare-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 24px;
    font-weight: 700;
    color: #A06070;
    margin: 0;
    text-align: center;
}

.hn-compare-card-sub {
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9E8C87;
    margin: 0;
    text-align: center;
}

/* ── List ────────────────────────────────────────────────────── */
.hn-compare-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.hn-compare-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: 'Jost', serif;
    font-style: italic;
    font-size: 12px;
    line-height: 1.8;
}

/* ── Status dots ─────────────────────────────────────────────── */
.hn-compare-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
}

.hn-compare-item--bad .hn-compare-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(192,57,43,.45);
    border: 1.5px solid #C0392B;
    color: #C0392B;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.hn-compare-item--bad {
    color: #6B5B54;
    opacity: .75;
}

/* ── Good dot — green check ──────────────────────────────────── */
.hn-compare-item--good .hn-compare-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(90,138,85,.65);
    border: 1.5px solid #5A8A55;
    color: #5A8A55;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.hn-compare-item--good {
    color: #3A3230;
}

/* ── VS divider ──────────────────────────────────────────────── */
.hn-compare-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    flex-shrink: 0;
    background: #FAF6F1;
    position: relative;
}

.hn-compare-vs-text {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 18px;
    font-weight: 300;
    color: #9E8C87;
    writing-mode: vertical-rl;
    letter-spacing: .1em;
}

/* ── CTA button ──────────────────────────────────────────────── */
.hn-compare-cta {
    width: 100%;
    padding: 13px;
    background: #C48B9F;
    border: none;
    border-radius: 4px;
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    color: #fff;
    cursor: pointer;
    transition: background .2s;
    margin-top: auto;
}

    .hn-compare-cta:hover {
        background: #A06070;
    }

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .hn-compare-grid {
        flex-direction: column;
        border-radius: 8px;
    }

    .hn-compare-vs {
        width: 100%;
        height: 36px;
        writing-mode: horizontal-tb;
    }

    .hn-compare-vs-text {
        writing-mode: horizontal-tb;
        font-size: 14px;
    }

    .hn-compare-card {
        padding: 20px 16px;
    }

    .hn-compare {
        padding: 48px 0;
    }
}

/* ════════════════════════════════════════════════════════════
   FEATURES SECTION
   ════════════════════════════════════════════════════════════ */
.hn-features {
    padding: 52px 0;
    background: #fff;
}

@media (max-width: 767px) {
    .hn-features {
        display: none;
    }
}

/* ── Grid ────────────────────────────────────────────────────── */
.hn-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .hn-features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (min-width: 1024px) {
    .hn-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ── Feature card ────────────────────────────────────────────── */
.hn-feature-card {
    position: relative;
    background: #fff;
    border: 1px solid #E8DDD4;
    border-radius: 8px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: box-shadow .2s, transform .2s;
}

    .hn-feature-card:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,.06);
        transform: translateY(-2px);
    }

.hn-feature-card--premium {
    border-color: rgba(196,139,159,.25);
    background: #fff5f8;
}

.hn-feature-card--plus {
    border-color: rgba(201,169,110,.3);
    background: #fffaf0;
}

/* ── Icon ────────────────────────────────────────────────────── */
.hn-feature-icon {
    font-size: 24px;
    line-height: 1;
}

/* ── Badge ───────────────────────────────────────────────────── */
.hn-feature-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-family: 'Jost', sans-serif;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 2px;
    background: rgba(196,139,159,.12);
    color: #C48B9F;
}

.hn-feature-badge--plus {
    background: rgba(201,169,110,.12);
    color: #8A6520;
}

/* ── Title ───────────────────────────────────────────────────── */
.hn-feature-title {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 16px;
    font-weight: 300;
    color: #1A0F0C;
    margin: 0;
}

/* ── Description ─────────────────────────────────────────────── */
.hn-feature-desc {
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    color: #9E8C87;
    line-height: 1.6;
    margin: 0;
}

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .hn-features {
        padding: 48px 0;
    }

    .hn-feature-card {
        padding: 14px 12px;
    }

    .hn-feature-icon {
        font-size: 20px;
    }

    .hn-feature-title {
        font-size: 14px;
    }

    .hn-feature-desc {
        font-size: 10px;
    }
}

/* ── Category grid ───────────────────────────────────────────── */
.hn-cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media (min-width: 768px) {
    .hn-cat-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

/* ── Card ────────────────────────────────────────────────────── */
.hn-cat-card {
    position: relative;
    flex-direction: column;
    gap: 8px;
    border: 1px solid #E8DDD4;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    /* ── Light warm gradient ─────────────────────────────────── */
    background: linear-gradient( 145deg, #FFFAF7 0%, #FDF3F7 40%, #FAF0F5 100% );
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 4px;
    align-items: start;
    padding: 12px 10px;
}

    /* ── Hover — deepen the gradient slightly ────────────────────── */
    .hn-cat-card:hover {
        transform: translateY(-4px);
        border-color: #C48B9F;
        background: linear-gradient( 145deg, #FFF5F0 0%, #FDEAF2 40%, #F9E5EF 100% );
        box-shadow: 0 8px 24px rgba(196,139,159,.12), 0 2px 8px rgba(0,0,0,.06);
    }

        .hn-cat-card:hover .hn-cat-card-glow {
            opacity: 1;
        }

/* ── Glow ────────────────────────────────────────────────────── */
.hn-cat-card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient( circle at 30% 30%, rgba(196,139,159,.10) 0%, transparent 70% );
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

/* ── Top row ─────────────────────────────────────────────────── */
.hn-cat-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* ── Icon — spans 2 rows on left ─────────────────────────────── */
.hn-cat-card-icon-wrap {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    align-self: center;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(196,139,159,.15);
}

/* ── Tags — top right ────────────────────────────────────────── */
.hn-cat-card-tags {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: flex-start;
}

/* ── Name — bottom right ─────────────────────────────────────── */
.hn-cat-card-name {
    grid-column: 1;
    grid-row: 2;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    text-align: left;
    /* ── Shining gradient text ───────────────────────────────── */
    background: linear-gradient( 135deg, #C48B9F 0%, #E8C4D0 35%, #C9A96E 60%, #C48B9F 100% );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* ── Running shimmer ─────────────────────────────────────── */
    animation: catNameShimmer 6s linear infinite;
}

@keyframes catNameShimmer {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

/* ── Stronger shimmer on hover ───────────────────────────────── */
.hn-cat-card:hover .hn-cat-card-name {
    animation-duration: 1.5s;
}

.hn-cat-card-tag {
    font-family: 'Jost', sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 2px;
    background: #FAF6F1;
    border: 1px solid #E8DDD4;
    color: #9E8C87;
    transition: background .2s, color .2s;
}

.hn-cat-card:hover .hn-cat-card-tag {
    background: rgba(196,139,159,.08);
    border-color: rgba(196,139,159,.2);
    color: #C48B9F;
}

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 767px) {
    .hn-cat-card {
        padding: 16px 14px;
        gap: 6px;
    }

    .hn-cat-card-emoji {
        font-size: 26px;
    }

    .hn-cat-card-name {
        font-size: 17px;
    }

    .hn-cat-card-desc {
        font-size: 10px;
    }

    .hn-cat-card-tag {
        font-size: 8px;
    }
}

.hn-cat-card-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255,255,255,.6);
    border: 1px solid rgba(196,139,159,.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hn-cat-card-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 767px) {
    .hn-cat-card-icon-wrap {
        width: 44px;
        height: 44px;
        border-radius: 8px;
    }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 950px) {

    .hn-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 550px) {

    .hn-cat-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hn-cat-card {
        min-height: 92px;
        padding: 0 20px;
    }

    .hn-cat-card-icon {
        width: 46px;
        height: 46px;
        font-size: 28px;
    }

    .hn-cat-card-name {
        font-size: 24px;
    }
}

/* ============================================================
   Inbita.ph — Home Page Mobile Overrides
   Only targets mobile/tablet — desktop untouched
   ============================================================ */

/* ════════════════════════════════════════════════════════════
   GLOBAL MOBILE BASE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

    .hn-section-inner {
        padding: 0 16px; /* ← tighter side padding on mobile */
    }

    /* ════════════════════════════════════════════════════════
       NAVIGATION
       ════════════════════════════════════════════════════════ */
    .hn-nav-inner {
        height: 56px;
        padding: 0 16px;
        gap: 12px;
    }

    .hn-brand-logo {
        width: 40px;
        height: 40px;
    }

    .hn-brand-name {
        font-size: 12px;
    }

    .hn-brand-sub {
        font-size: 8px;
    }

    .hn-cta {
        display: none; /* ← hide CTA on mobile nav — shown in mobile menu */
    }

    .hn-mobile-menu {
        padding: 12px 16px 20px;
        gap: 4px;
    }

    .hn-mobile-link {
        font-size: 15px;
        padding: 12px 0;
    }

    /* ════════════════════════════════════════════════════════
       AD BANNER
       ════════════════════════════════════════════════════════ */
    .home-ad-img {
        height: 220px; /* ← shorter on mobile */
        object-fit: fill;
    }

    .hn-ads::after {
        height: 80px; /* ← smaller fade overlay */
    }

    /* ════════════════════════════════════════════════════════
       HOW IT WORKS
       ════════════════════════════════════════════════════════ */
    .hn-how {
        margin-top: -30px;
        padding: 0 12px 48px;
    }

    .hn-how-steps {
        flex-direction: column;
        padding: 24px 20px;
        gap: 20px;
        border-radius: 12px;
    }

    .hn-how-divider {
        transform: rotate(90deg);
        font-size: 18px;
        opacity: .5;
    }

    .hn-how-step {
        width: 100%;
    }

    .hn-how-num {
        width: 38px;
        height: 38px;
        font-size: 12px;
        margin-bottom: 10px;
    }

    .hn-how-title {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .hn-how-desc {
        font-size: 12px;
        max-width: 100%;
    }

    /* ════════════════════════════════════════════════════════
       HERO
       ════════════════════════════════════════════════════════ */
    .hn-hero {
        padding: 36px 0 32px;
    }

    .hn-hero-inner {
        flex-direction: column;
        padding: 0 16px;
        gap: 24px;
        text-align: center;
    }

    .hn-hero-eyebrow {
        font-size: 9px;
        margin-bottom: 10px;
    }

    .hn-hero-title {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .hn-hero-sub {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .hn-hero-actions {
        justify-content: center;
        gap: 10px;
    }

    .hn-hero-btn-primary,
    .hn-hero-btn-ghost {
        padding: 11px 22px;
        font-size: 12px;
    }

    /* ════════════════════════════════════════════════════════
       CATEGORY CARDS
       ════════════════════════════════════════════════════════ */
    .hn-categories {
        padding: 40px 0;
    }

    .hn-section-header {
        margin-bottom: 28px;
    }

    .hn-section-title {
        font-size: 26px;
    }

    .hn-section-sub {
        font-size: 13px;
    }

    .hn-cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .hn-cat-card {
        padding: 14px 12px;
        gap: 10px;
        border-radius: 8px;
    }

    .hn-cat-card-icon {
        font-size: 22px;
    }

    .hn-cat-card-name {
        font-size: 15px;
        margin-bottom: 2px;
    }

    .hn-cat-card-count {
        font-size: 10px;
    }

    .hn-cat-card-arrow {
        font-size: 14px;
    }

    /* ════════════════════════════════════════════════════════
       TEMPLATE GRID
       ════════════════════════════════════════════════════════ */
    .hn-templates {
        padding: 32px 0 40px;
        scroll-margin-top: 56px; /* ← match mobile nav height */
    }

    .hn-tabs {
        gap: 6px;
        margin-bottom: 24px;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

        .hn-tabs::-webkit-scrollbar {
            display: none;
        }

    .hn-tab {
        padding: 6px 14px;
        font-size: 11px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .hn-template-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

   /* .hn-tc-label {
        padding: 6px 2px 2px;
        margin-bottom: 10px;
        overflow: hidden;
    }

    .hn-tc-name {
        font-size: 11px;
    }*/
    .hn-tc-label {
        padding: 6px 2px 2px;
        margin-bottom: 10px;
    }

    .hn-tc-name {
        font-size: 11px;
        min-width: 0;
    }

    .tc-badge-premium {
        width: 18px;
        height: 18px;
        font-size: 9px;
    }

    /* Grid header — back + category title */
    .hn-grid-header {
        margin-bottom: 20px;
        gap: 10px;
    }

    .hn-grid-title {
        font-size: 20px;
    }

    /* Pagination */
    .hn-pagination {
        margin-top: 24px;
        gap: 10px;
    }

    .hn-page-btn {
        padding: 8px 14px;
        font-size: 11px;
    }

    .hn-page-info {
        font-size: 11px;
    }

    /* ════════════════════════════════════════════════════════
       PRICING
       ════════════════════════════════════════════════════════ */
    .hn-pricing {
        padding: 40px 0;
    }

    .hn-pricing-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hn-price-card {
        padding: 20px 18px;
        gap: 14px;
    }

    /* ── Horizontal pricing on mobile — scrollable ───────────── */
    .hn-pricing-grid {
        display: flex;
        flex-direction: row;
        gap: 12px;
        overflow-x: auto;
        scrollbar-width: none;
        padding: 8px 0 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

        .hn-pricing-grid::-webkit-scrollbar {
            display: none;
        }

    .hn-price-card {
        min-width: 240px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .hn-price-val {
        font-size: 28px;
    }

    .hn-price-features li {
        font-size: 12px;
    }

    /* ════════════════════════════════════════════════════════
       FOOTER
       ════════════════════════════════════════════════════════ */
    .hn-footer-inner {
        padding: 36px 16px 28px;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hn-footer-tagline {
        max-width: 100%;
        font-size: 12px;
    }

    /* Collapse footer links into 2-col on mobile */
    .hn-footer-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .hn-footer-brand {
        grid-column: 1 / -1; /* ← brand spans full width */
    }

    .hn-footer-bottom {
        padding: 16px 16px;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
    }
}

/* ════════════════════════════════════════════════════════════
   EXTRA SMALL (< 380px) — very narrow phones
   ════════════════════════════════════════════════════════════ */
@media (max-width: 380px) {

    .hn-hero-title {
        font-size: 28px;
    }

    .hn-cat-card-name {
        font-size: 13px;
    }

    .hn-cat-card {
        padding: 12px 10px;
        gap: 8px;
    }

    .hn-cat-card-icon {
        font-size: 18px;
    }

    .hn-template-grid {
        gap: 8px;
    }

    .hn-tc-name {
        font-size: 10px;
    }

    .hn-price-card {
        min-width: 210px;
    }
}

/* ════════════════════════════════════════════════════════════
   TABLET (480px — 767px) — slightly larger phones / small tablets
   ════════════════════════════════════════════════════════════ */
@media (min-width: 480px) and (max-width: 767px) {

    .hn-hero-title {
        font-size: 36px;
    }

    .hn-cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hn-cat-card {
        padding: 16px 16px;
    }

    .hn-template-grid {
        gap: 12px;
    }

    .hn-price-card {
        min-width: 260px;
    }

    .home-ad-img {
        height: 280px;
    }

}
