/* ============================================================
   GANJ MOLIYA — New Home Page Styles (scoped to .hn-*)
   Isolated from site.css. Applied only via IndexNew.cshtml
   ============================================================ */

.hn-page {
    --hn-yellow: #FFC700;
    --hn-yellow-dark: #F2B600;
    --hn-yellow-light: #FFF5C9;
    --hn-yellow-soft: #FFF9E0;
    --hn-bg: #F6F7F8;
    --hn-card-bg: #FFFFFF;
    --hn-text: #0F1623;
    --hn-text-muted: #6B7280;
    --hn-border: #E5E7EB;
    --hn-success: #16A34A;
    --hn-danger: #DC2626;
    --hn-radius-lg: 24px;
    --hn-radius-md: 16px;
    --hn-radius-sm: 12px;
    --hn-shadow-card: 0 4px 24px rgba(15, 22, 35, 0.06);
    --hn-shadow-hover: 0 12px 32px rgba(15, 22, 35, 0.12);

    background: var(--hn-bg);
    color: var(--hn-text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    padding-bottom: 4rem;
}

.hn-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Hero ──────────────────────────────────────────────── */
.hn-hero {
    position: relative;
    padding: 3rem 0 4rem;
    overflow: hidden;
}

.hn-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(255, 199, 0, 0.35), transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.hn-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hn-hero__inner {
        grid-template-columns: 1fr 1.05fr;
        gap: 2rem;
    }
}

.hn-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--hn-card-bg);
    padding: 0.6rem 1rem;
    border-radius: 999px;
    box-shadow: var(--hn-shadow-card);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--hn-text);
    margin-bottom: 1.75rem;
}

.hn-hero__badge-star {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--hn-yellow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
}

.hn-hero__title {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--hn-text);
    margin-bottom: 1.25rem;
}

.hn-hero__title--banner {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    max-width: 540px;
}

/* ── Hero: banner variant (loan promo) ──────────────────────── */
.hn-hero--banner .hn-hero__inner {
    align-items: center;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .hn-hero--banner .hn-hero__inner {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr) auto;
        gap: 2rem;
    }
}

.hn-hero__copy {
    position: relative;
    z-index: 1;
}

.hn-hero__art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    z-index: 1;
}

.hn-hero__art-img {
    max-width: 100%;
    width: clamp(280px, 42vw, 480px);
    height: auto;
    filter: drop-shadow(0 24px 40px rgba(15, 22, 35, 0.12));
}

.hn-rate-row {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 1.25rem 0 1.5rem;
    color: var(--hn-text);
    font-size: 1.15rem;
    font-weight: 600;
}

.hn-rate-row__intro,
.hn-rate-row__sep,
.hn-rate-row__suffix {
    color: var(--hn-text-muted);
    font-weight: 500;
}

.hn-rate-row__num {
    font-size: clamp(1.75rem, 2.6vw, 2.25rem);
    font-weight: 800;
    color: var(--hn-yellow-dark);
    line-height: 1;
    position: relative;
    padding: 0 0.15em;
}

.hn-rate-row__num::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 8px;
    background: var(--hn-yellow);
    border-radius: 8px;
    opacity: 0.45;
    z-index: -1;
}

.hn-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
    align-self: center;
}

.hn-benefits__item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--hn-card-bg);
    padding: 0.6rem 1rem;
    border-radius: 999px;
    box-shadow: var(--hn-shadow-card);
    font-size: 0.8125rem;
    color: var(--hn-text);
    font-weight: 500;
    white-space: nowrap;
}

.hn-benefits__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--hn-yellow-dark);
    box-shadow: 0 0 0 4px rgba(255, 199, 0, 0.18);
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .hn-benefits {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 0.5rem;
    }
}

.hn-hero__subtitle {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--hn-text-muted);
    max-width: 460px;
    margin-bottom: 2rem;
}

.hn-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-bottom: 2rem;
}

.hn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.75rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    text-decoration: none;
    line-height: 1;
}

.hn-btn--primary {
    background: var(--hn-yellow);
    color: var(--hn-text);
    box-shadow: 0 6px 18px rgba(255, 199, 0, 0.4);
}

.hn-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 199, 0, 0.5);
    background: var(--hn-yellow-dark);
}

.hn-btn--secondary {
    background: transparent;
    color: var(--hn-text);
    border: 1px solid var(--hn-border);
}

.hn-btn--secondary:hover {
    background: var(--hn-card-bg);
    border-color: var(--hn-text);
}

.hn-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hn-store {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1.125rem;
    border-radius: 14px;
    background: var(--hn-card-bg);
    color: var(--hn-text);
    box-shadow: var(--hn-shadow-card);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.hn-store:hover {
    transform: translateY(-2px);
    box-shadow: var(--hn-shadow-hover);
}

.hn-store__icon {
    font-size: 26px;
    line-height: 1;
}

.hn-store__label {
    display: block;
    font-size: 0.6875rem;
    color: var(--hn-text-muted);
    line-height: 1;
    margin-bottom: 3px;
}

.hn-store__name {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1;
}

/* Hero visual: card + phone mockup */
.hn-hero__visual {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hn-hero__visual-glow {
    position: absolute;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(255, 199, 0, 0.45), transparent 60%);
    filter: blur(20px);
    z-index: 0;
}

.hn-hero__card {
    position: absolute;
    z-index: 1;
    width: clamp(280px, 38vw, 420px);
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-8deg);
    filter: drop-shadow(0 30px 40px rgba(15, 22, 35, 0.25));
}

.hn-hero__phone {
    position: relative;
    z-index: 2;
    width: 260px;
    background: #0F1623;
    border-radius: 38px;
    padding: 14px;
    box-shadow: 0 30px 60px rgba(15, 22, 35, 0.3);
    margin-left: auto;
    margin-right: 0;
}

@media (min-width: 768px) {
    .hn-hero__phone {
        width: 280px;
    }
}

.hn-phone__screen {
    background: #F8FAFC;
    border-radius: 28px;
    padding: 1rem;
    overflow: hidden;
}

.hn-phone__statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--hn-text);
    margin-bottom: 0.75rem;
    padding: 0 0.25rem;
}

.hn-phone__statusbar-right {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
}

.hn-phone__balance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.hn-phone__balance-label {
    font-size: 0.75rem;
    color: var(--hn-text-muted);
    font-weight: 500;
}

.hn-phone__balance-search {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--hn-text-muted);
}

.hn-phone__balance {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--hn-text);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.hn-phone__balance sup {
    font-size: 0.85rem;
    color: var(--hn-text-muted);
    font-weight: 500;
}

.hn-phone__balance-meta {
    font-size: 0.7rem;
    color: var(--hn-success);
    font-weight: 600;
    margin-bottom: 0.875rem;
}

.hn-phone__actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.hn-phone__action {
    background: #fff;
    border-radius: 14px;
    padding: 0.6rem 0.25rem 0.5rem;
    text-align: center;
    font-size: 0.65rem;
    color: var(--hn-text);
    font-weight: 600;
}

.hn-phone__action-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 4px;
    border-radius: 10px;
    background: var(--hn-yellow-light);
    color: var(--hn-yellow-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.hn-phone__history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.hn-phone__history-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--hn-text);
}

.hn-phone__history-all {
    font-size: 0.65rem;
    color: var(--hn-text-muted);
}

.hn-phone__history {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.hn-phone__op {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border-radius: 12px;
    padding: 0.5rem;
}

.hn-phone__op-ic {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    flex-shrink: 0;
}

.hn-phone__op-ic--green { background: #16A34A; }
.hn-phone__op-ic--orange { background: #F97316; }
.hn-phone__op-ic--blue { background: #2563EB; }
.hn-phone__op-ic--violet { background: #7C3AED; }

.hn-phone__op-text {
    flex: 1;
    min-width: 0;
}

.hn-phone__op-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--hn-text);
    line-height: 1.2;
}

.hn-phone__op-time {
    font-size: 0.6rem;
    color: var(--hn-text-muted);
}

.hn-phone__op-amount {
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.hn-phone__op-amount--neg { color: var(--hn-danger); }
.hn-phone__op-amount--pos { color: var(--hn-success); }

.hn-phone__nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.25rem;
    margin-top: 0.875rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--hn-border);
}

.hn-phone__nav-item {
    text-align: center;
    font-size: 0.55rem;
    color: var(--hn-text-muted);
}

.hn-phone__nav-item--active { color: var(--hn-yellow-dark); font-weight: 700; }

.hn-phone__nav-ic {
    font-size: 16px;
    display: block;
    margin-bottom: 2px;
}

/* ── Services ─────────────────────────────────────────── */
.hn-section {
    background: var(--hn-card-bg);
    border-radius: var(--hn-radius-lg);
    padding: 2.5rem;
    margin-top: 2rem;
    box-shadow: var(--hn-shadow-card);
}

@media (max-width: 768px) {
    .hn-section {
        padding: 1.75rem 1.25rem;
    }
}

.hn-section__title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--hn-text);
    margin-bottom: 0.5rem;
}

.hn-section__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.hn-section__link {
    color: var(--hn-text-muted);
    font-weight: 600;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    transition: color 0.15s ease;
}

.hn-section__link:hover {
    color: var(--hn-yellow-dark);
}

.hn-services {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .hn-services {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.hn-service {
    background: var(--hn-card-bg);
    border: 1px solid var(--hn-border);
    border-radius: var(--hn-radius-md);
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.hn-service:hover {
    transform: translateY(-6px);
    box-shadow: var(--hn-shadow-hover);
    border-color: transparent;
}

.hn-service__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    min-height: 90px;
}

.hn-service__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.hn-service__icon--green { background: #DCFCE7; color: #16A34A; }
.hn-service__icon--blue  { background: #DBEAFE; color: #2563EB; }
.hn-service__icon--yellow{ background: #FEF3C7; color: #D97706; }
.hn-service__icon--violet{ background: #EDE9FE; color: #7C3AED; }

.hn-service__image {
    width: 88px;
    height: 88px;
    object-fit: contain;
    flex-shrink: 0;
}

.hn-service__title {
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--hn-text);
    margin-bottom: 0.5rem;
}

.hn-service__desc {
    color: var(--hn-text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex: 1;
}

.hn-service__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--hn-yellow-dark);
    font-weight: 600;
    font-size: 0.875rem;
    align-self: flex-start;
}

.hn-service__cta-arrow {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--hn-yellow-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.hn-service:hover .hn-service__cta-arrow {
    transform: translateX(3px);
}

/* ── Exchange Rates ──────────────────────────────────── */
.hn-rates {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 900px) {
    .hn-rates {
        grid-template-columns: 280px 1fr;
    }
}

.hn-rates__head {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hn-rates__updated {
    font-size: 0.8125rem;
    color: var(--hn-text-muted);
    margin-bottom: 0.5rem;
}

.hn-rates__image {
    max-width: 200px;
    align-self: center;
    margin-top: 0.75rem;
}

@media (min-width: 900px) {
    .hn-rates__image {
        max-width: 240px;
        align-self: flex-start;
    }
}

.hn-rates__table-wrap {
    width: 100%;
    overflow-x: auto;
}

.hn-rates__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
    min-width: 540px;
}

.hn-rates__table th {
    text-align: left;
    color: var(--hn-text-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--hn-border);
}

.hn-rates__table td {
    padding: 1rem;
    border-bottom: 1px solid var(--hn-border);
    vertical-align: middle;
}

.hn-rates__table tr:last-child td {
    border-bottom: none;
}

.hn-rates__currency {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hn-rates__flag {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F3F4F6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    overflow: hidden;
    flex-shrink: 0;
}

.hn-rates__code {
    font-weight: 700;
    color: var(--hn-text);
    line-height: 1.1;
}

.hn-rates__name {
    font-size: 0.75rem;
    color: var(--hn-text-muted);
}

.hn-rates__change--up { color: var(--hn-success); font-weight: 700; }
.hn-rates__change--down { color: var(--hn-danger); font-weight: 700; }

.hn-rates__cta-row {
    text-align: right;
    padding-top: 1rem;
}

/* ── News ────────────────────────────────────────────── */
.hn-news {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

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

.hn-news__item {
    background: var(--hn-card-bg);
    border: 1px solid var(--hn-border);
    border-radius: var(--hn-radius-md);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hn-news__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--hn-shadow-hover);
    border-color: transparent;
}

.hn-news__visual {
    height: 160px;
    background: linear-gradient(135deg, var(--hn-yellow-soft), var(--hn-yellow-light));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hn-news__visual img {
    max-height: 100%;
    object-fit: contain;
}

.hn-news__body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.hn-news__tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--hn-yellow-light);
    color: var(--hn-yellow-dark);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hn-news__tag--green { background: #DCFCE7; color: var(--hn-success); }

.hn-news__title {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--hn-text);
}

.hn-news__date {
    font-size: 0.8125rem;
    color: var(--hn-text-muted);
    margin-top: auto;
}

/* ── Features (trust strip) ──────────────────────────── */
.hn-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

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

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

.hn-feature {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
}

.hn-feature__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--hn-yellow-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--hn-yellow-dark);
    font-size: 22px;
    flex-shrink: 0;
}

.hn-feature__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--hn-text);
    margin-bottom: 0.25rem;
}

.hn-feature__desc {
    font-size: 0.8125rem;
    color: var(--hn-text-muted);
    line-height: 1.45;
}

/* ── Material symbols sizing inside this page ───────── */
.hn-page .material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ============================================================
   Deposits page — extends .hn-* design system
   ============================================================ */

.hn-hero__inner--two-col {
    grid-template-columns: 1fr;
}

@media (min-width: 992px) {
    .hn-hero__inner--two-col {
        grid-template-columns: 1.05fr 0.95fr;
    }
}

.hn-hero__subtitle--highlight {
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--hn-text);
}

.hn-hero__highlight {
    position: relative;
    display: inline-block;
    padding: 0 0.25em;
    z-index: 0;
}

.hn-hero__highlight::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 9px;
    background: var(--hn-yellow);
    border-radius: 6px;
    opacity: 0.55;
    z-index: -1;
}

.hn-btn--ghost {
    background: transparent;
    color: var(--hn-text);
    border: 1px solid var(--hn-border);
}

.hn-btn--ghost:hover {
    background: #F8FAFC;
    border-color: var(--hn-text);
}

.hn-deposit__subtitle {
    color: var(--hn-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0.3rem 0 0;
    max-width: 540px;
}

/* Currency switch (TJS / USD / EUR / RUB) */
.hn-currency-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    background: #F1F5F9;
    border-radius: 14px;
    padding: 0.4rem;
}

.hn-currency-switch__label {
    color: var(--hn-text-muted);
    font-size: 0.8125rem;
    margin: 0 0.4rem;
    font-weight: 500;
}

.hn-currency-switch__btn {
    border: 0;
    background: transparent;
    color: var(--hn-text);
    padding: 0.45rem 0.95rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.hn-currency-switch__btn:hover {
    background: rgba(255, 255, 255, 0.7);
}

.hn-currency-switch__btn.is-active {
    background: #FFFFFF;
    color: var(--hn-yellow-dark);
    box-shadow: 0 2px 6px rgba(15, 22, 35, 0.08);
}

/* Deposit cards grid */
.hn-deposits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

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

.hn-deposit {
    background: var(--hn-card-bg);
    border: 1px solid var(--hn-border);
    border-radius: var(--hn-radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hn-deposit:hover {
    transform: translateY(-4px);
    box-shadow: var(--hn-shadow-hover);
    border-color: transparent;
}

.hn-deposit__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.hn-deposit__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.hn-deposit__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.hn-deposit__badge--info    { background: #DBEAFE; color: #1D4ED8; }
.hn-deposit__badge--primary { background: #FEF3C7; color: #B45309; }
.hn-deposit__badge--warning { background: #FFEDD5; color: #C2410C; }
.hn-deposit__badge--success { background: #DCFCE7; color: #15803D; }

.hn-deposit__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--hn-text);
    margin: 0.25rem 0 0;
}

.hn-deposit__desc {
    color: var(--hn-text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    min-height: 3.5em;
}

.hn-deposit__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.5rem;
    margin: 0.25rem 0 0.75rem;
    padding: 0.875rem 0;
    border-top: 1px solid var(--hn-border);
    border-bottom: 1px solid var(--hn-border);
}

.hn-deposit__stat dt {
    font-size: 0.7rem;
    color: var(--hn-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.hn-deposit__stat dd {
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    color: var(--hn-text);
}

.hn-deposit__stat dd strong {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--hn-yellow-dark);
}

.hn-deposit__stat dd span {
    font-size: 0.75rem;
    color: var(--hn-text-muted);
    font-weight: 500;
}

.hn-deposit__actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.hn-deposit__actions .hn-btn {
    flex: 1;
    padding: 0.8rem 1rem;
    font-size: 0.875rem;
}

/* CTA strip */
.hn-cta-strip {
    background: linear-gradient(135deg, var(--hn-yellow-soft), var(--hn-yellow-light));
    border: 1px solid rgba(242, 182, 0, 0.25);
}

.hn-cta-strip__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hn-cta-strip__inner {
        grid-template-columns: auto 1fr auto;
    }
}

.hn-cta-strip__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--hn-yellow);
    color: var(--hn-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
}

.hn-cta-strip__icon .material-symbols-outlined { font-size: 28px; }

.hn-cta-strip__title {
    margin: 0 0 0.25rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--hn-text);
}

.hn-cta-strip__desc {
    margin: 0;
    color: var(--hn-text);
    opacity: 0.75;
    font-size: 0.95rem;
    line-height: 1.5;
}

.hn-cta-strip__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ============================================================
   Loans page — extends .hn-* design system
   ============================================================ */

.hn-hero__art-img--compact {
    width: clamp(220px, 32vw, 360px);
}

.hn-btn--block {
    width: 100%;
}

.hn-loan-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.hn-loan-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid var(--hn-border);
    color: var(--hn-text);
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hn-loan-tab .material-symbols-outlined { font-size: 18px; }

.hn-loan-tab:hover {
    border-color: var(--hn-text);
}

.hn-loan-tab.is-active {
    background: var(--hn-yellow);
    border-color: var(--hn-yellow);
    color: var(--hn-text);
    box-shadow: 0 4px 12px rgba(255, 199, 0, 0.35);
}

.hn-loans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) { .hn-loans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hn-loans-grid { grid-template-columns: repeat(3, 1fr); } }

.hn-loans-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--hn-text-muted);
    padding: 3rem 1rem;
    font-size: 1rem;
}

.hn-loan-card {
    background: var(--hn-card-bg);
    border: 1px solid var(--hn-border);
    border-radius: var(--hn-radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hn-loan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hn-shadow-hover);
    border-color: transparent;
}

.hn-loan-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.hn-loan-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--hn-yellow-light);
    color: var(--hn-yellow-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hn-loan-card__icon .material-symbols-outlined { font-size: 22px; }

.hn-loan-card__badge {
    display: inline-flex;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: #F1F5F9;
    color: var(--hn-text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hn-loan-card[data-category="individual"] .hn-loan-card__badge { background: #DBEAFE; color: #1D4ED8; }
.hn-loan-card[data-category="business"]   .hn-loan-card__badge { background: #EDE9FE; color: #6D28D9; }
.hn-loan-card[data-category="secured"]    .hn-loan-card__badge { background: #DCFCE7; color: #15803D; }

.hn-loan-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--hn-text);
    margin: 0;
}

.hn-loan-card__desc {
    color: var(--hn-text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    min-height: 3em;
}

.hn-loan-card__stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0.25rem 0 0.75rem;
    padding: 0.875rem 0;
    border-top: 1px solid var(--hn-border);
    border-bottom: 1px solid var(--hn-border);
}

.hn-loan-card__stat {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.hn-loan-card__stat dt {
    font-size: 0.75rem;
    color: var(--hn-text-muted);
    font-weight: 500;
}

.hn-loan-card__stat dd {
    margin: 0;
    color: var(--hn-text);
    font-size: 0.9rem;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.hn-loan-card__stat dd strong {
    color: var(--hn-yellow-dark);
    font-weight: 800;
}

.hn-loan-card__stat dd span {
    color: var(--hn-text-muted);
    font-size: 0.7rem;
}

.hn-loan-card__actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.hn-loan-card__actions .hn-btn {
    flex: 1;
    padding: 0.7rem 0.85rem;
    font-size: 0.85rem;
}

/* ============================================================
   Cards page — extends .hn-* design system
   ============================================================ */

.hn-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

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

.hn-card-product {
    background: var(--hn-card-bg);
    border: 1px solid var(--hn-border);
    border-radius: var(--hn-radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.hn-card-product:hover {
    transform: translateY(-4px);
    box-shadow: var(--hn-shadow-hover);
    border-color: transparent;
}

.hn-card-product__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.hn-card-product__visual {
    width: 88px;
    height: 56px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1F2937, #111827);
    position: relative;
    color: #fff;
    flex-shrink: 0;
    overflow: hidden;
}

.hn-card-product__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120px 60px at 80% 50%, rgba(255, 199, 0, 0.25), transparent 60%);
}

.hn-card-product--debit  .hn-card-product__visual { background: linear-gradient(135deg, #1F2937, #111827); }
.hn-card-product--salary .hn-card-product__visual { background: linear-gradient(135deg, #16A34A, #166534); }
.hn-card-product--credit .hn-card-product__visual { background: linear-gradient(135deg, #B45309, #92400E); }

.hn-card-product__chip {
    position: absolute;
    top: 9px;
    left: 9px;
    width: 14px;
    height: 11px;
    border-radius: 3px;
    background: linear-gradient(135deg, #FBBF24, #D97706);
}

.hn-card-product__brand {
    position: absolute;
    bottom: 4px;
    right: 8px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.95);
}

.hn-card-product__brand .material-symbols-outlined { font-size: 22px; }

.hn-card-product__badge {
    display: inline-flex;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.hn-card-product--debit  .hn-card-product__badge { background: #FEF3C7; color: #B45309; }
.hn-card-product--salary .hn-card-product__badge { background: #DCFCE7; color: #15803D; }
.hn-card-product--credit .hn-card-product__badge { background: #FEE2E2; color: #B91C1C; }

.hn-card-product__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--hn-text);
    margin: 0.25rem 0 0;
}

.hn-card-product__desc {
    color: var(--hn-text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.hn-card-product__features {
    list-style: none;
    margin: 0.5rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hn-card-product__features li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--hn-text);
    font-size: 0.875rem;
}

.hn-card-product__features .material-symbols-outlined {
    font-size: 18px;
    color: var(--hn-success);
    flex-shrink: 0;
}

.hn-card-product .hn-btn {
    margin-top: auto;
}

/* Steps (How to order) */
.hn-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

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

.hn-step {
    background: var(--hn-card-bg);
    border: 1px solid var(--hn-border);
    border-radius: var(--hn-radius-md);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.hn-step__num {
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1;
    color: var(--hn-yellow);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.hn-step__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hn-text);
    margin: 0 0 0.4rem;
}

.hn-step__desc {
    color: var(--hn-text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* ============================================================
   Tariffs page — extends .hn-* design system
   ============================================================ */

.hn-tariff-hero-art {
    width: clamp(180px, 28vw, 280px);
    aspect-ratio: 1;
    background: var(--hn-yellow-light);
    border-radius: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--hn-yellow-dark);
    box-shadow: 0 20px 40px rgba(255, 199, 0, 0.15);
}

.hn-tariff-hero-art .material-symbols-outlined {
    font-size: clamp(80px, 12vw, 140px);
}

.hn-tariff-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: start;
}

@media (min-width: 992px) {
    .hn-tariff-layout {
        grid-template-columns: 280px 1fr;
        gap: 2rem;
    }
}

.hn-tariff-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

@media (min-width: 992px) {
    .hn-tariff-sidebar {
        position: sticky;
        top: 1.5rem;
    }
}

.hn-tariff-toc {
    background: var(--hn-card-bg);
    border: 1px solid var(--hn-border);
    border-radius: var(--hn-radius-md);
    padding: 1rem;
    box-shadow: var(--hn-shadow-card);
}

.hn-tariff-toc__title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hn-text-muted);
    font-weight: 700;
    margin: 0 0 0.5rem;
    padding: 0 0.5rem;
}

.hn-tariff-toc__link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--hn-text);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.hn-tariff-toc__link:hover {
    background: #F8FAFC;
}

.hn-tariff-toc__link.is-active {
    background: var(--hn-yellow-light);
    color: var(--hn-yellow-dark);
    font-weight: 600;
}

.hn-tariff-toc__link .material-symbols-outlined {
    font-size: 20px;
    flex-shrink: 0;
}

.hn-tariff-help {
    background: linear-gradient(135deg, var(--hn-yellow-soft), var(--hn-yellow-light));
    border: 1px solid rgba(242, 182, 0, 0.25);
    border-radius: var(--hn-radius-md);
    padding: 1.25rem;
    text-align: center;
}

.hn-tariff-help__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--hn-yellow);
    color: var(--hn-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.hn-tariff-help__icon .material-symbols-outlined { font-size: 26px; }

.hn-tariff-help__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--hn-text);
    margin-bottom: 0.4rem;
}

.hn-tariff-help__desc {
    font-size: 0.8125rem;
    color: var(--hn-text);
    opacity: 0.75;
    line-height: 1.5;
    margin: 0 0 0.875rem;
}

.hn-tariff-main {
    min-width: 0;
}

.hn-tariff-loading {
    text-align: center;
    color: var(--hn-text-muted);
    padding: 3rem 1rem;
}

.hn-tariff-section {
    margin-bottom: 2.5rem;
    scroll-margin-top: 80px;
    background: var(--hn-card-bg);
    border: 1px solid var(--hn-border);
    border-radius: var(--hn-radius-md);
    padding: 1.5rem;
}

.hn-tariff-section__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--hn-text);
    margin: 0 0 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.hn-tariff-section__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--hn-yellow-light);
    color: var(--hn-yellow-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hn-tariff-section__icon .material-symbols-outlined { font-size: 20px; }

.hn-tariff-group__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--hn-text);
    background: var(--hn-yellow-soft);
    border-left: 3px solid var(--hn-yellow);
    padding: 0.55rem 0.875rem;
    border-radius: 0 8px 8px 0;
    margin: 1rem 0 0.75rem;
}

.hn-tariff-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.hn-tariff-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    min-width: 480px;
}

.hn-tariff-table th {
    background: #F8FAFC;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--hn-text-muted);
    padding: 0.7rem 0.875rem;
    text-align: left;
    border-bottom: 1px solid var(--hn-border);
}

.hn-tariff-table td {
    padding: 0.8rem 0.875rem;
    border-bottom: 1px solid var(--hn-border);
    color: var(--hn-text);
    vertical-align: top;
}

.hn-tariff-table tr:last-child td { border-bottom: none; }

.hn-tariff-table__col-num {
    width: 64px;
    color: var(--hn-text-muted);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.hn-tariff-table__col-fee {
    width: 30%;
    text-align: right;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.hn-tariff-table tr.is-header td {
    font-weight: 700;
    background: rgba(255, 199, 0, 0.06);
}

.hn-fee-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.8125rem;
    background: #F1F5F9;
    color: var(--hn-text);
    font-weight: 600;
    white-space: nowrap;
}

.hn-fee-pill--free {
    background: #DCFCE7;
    color: var(--hn-success);
}

.hn-tariff-notes {
    margin-top: 1rem;
    padding: 0.875rem 1.1rem;
    background: rgba(59, 130, 246, 0.06);
    border-left: 3px solid #3b82f6;
    border-radius: 0 8px 8px 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--hn-text);
}

.hn-tariff-notes ol { margin: 0; padding-left: 1.1rem; }
.hn-tariff-notes li + li { margin-top: 0.4rem; }

.hn-tariff-footer {
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    color: var(--hn-text-muted);
    font-size: 0.85rem;
}

.hn-tariff-footer__date {
    margin-top: 0.3rem;
    font-size: 0.8rem;
}

/* ============================================================
   Loan detail page (DetailsNew) + shared bits (pills, modal)
   ============================================================ */

.hn-loan-detail__icon {
    width: clamp(160px, 24vw, 240px);
    aspect-ratio: 1;
    background: var(--hn-yellow-light);
    border-radius: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--hn-yellow-dark);
    box-shadow: 0 18px 32px rgba(255, 199, 0, 0.18);
}

.hn-loan-detail__icon .material-symbols-outlined {
    font-size: clamp(72px, 10vw, 120px);
}

.hn-loan-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) { .hn-loan-detail-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hn-loan-detail-grid { grid-template-columns: repeat(3, 1fr); } }

.hn-loan-detail-stat {
    background: var(--hn-card-bg);
    border: 1px solid var(--hn-border);
    border-radius: var(--hn-radius-md);
    padding: 1.25rem;
}

.hn-loan-detail-stat__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--hn-yellow-light);
    color: var(--hn-yellow-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.hn-loan-detail-stat__icon .material-symbols-outlined { font-size: 20px; }

.hn-loan-detail-stat dt {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--hn-text-muted);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.hn-loan-detail-stat dd {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--hn-text);
}

/* Pills (reusable, e.g. collateral list) */
.hn-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hn-pill {
    display: inline-flex;
    align-items: center;
    background: var(--hn-yellow-light);
    color: var(--hn-yellow-dark);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============================================================
   Modal (reusable for deposit/loan forms)
   ============================================================ */

.hn-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(15, 22, 35, 0.55);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.hn-modal.is-open { display: flex; animation: hnModalFade 0.2s ease; }

@keyframes hnModalFade { from { opacity: 0; } to { opacity: 1; } }

.hn-modal__card {
    background: var(--hn-card-bg);
    border-radius: 20px;
    padding: 1.75rem;
    width: 100%;
    max-width: 540px;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    box-shadow: 0 30px 60px rgba(15, 22, 35, 0.25);
    animation: hnModalSlide 0.25s ease;
}

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

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

.hn-modal__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--hn-text);
    margin: 0;
}

.hn-modal__close {
    background: transparent;
    border: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--hn-text-muted);
    transition: background 0.15s ease, color 0.15s ease;
}

.hn-modal__close:hover {
    background: #F1F5F9;
    color: var(--hn-text);
}

/* Form elements */
.hn-form-group {
    margin-bottom: 1rem;
}

.hn-form-label {
    display: block;
    font-size: 0.8rem;
    color: var(--hn-text);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.hn-form-input,
.hn-form-select {
    width: 100%;
    border: 1px solid var(--hn-border);
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
    color: var(--hn-text);
    background: #fff;
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hn-form-input:focus,
.hn-form-select:focus {
    outline: 0;
    border-color: var(--hn-yellow-dark);
    box-shadow: 0 0 0 4px rgba(255, 199, 0, 0.18);
}

.hn-form-phone {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--hn-border);
    border-radius: 12px;
    overflow: hidden;
}

.hn-form-phone:focus-within {
    border-color: var(--hn-yellow-dark);
    box-shadow: 0 0 0 4px rgba(255, 199, 0, 0.18);
}

.hn-form-phone__prefix {
    padding: 0.7rem 0.85rem;
    background: #F8FAFC;
    color: var(--hn-text-muted);
    font-weight: 600;
    border-right: 1px solid var(--hn-border);
}

.hn-form-phone .hn-form-input {
    border: 0;
    border-radius: 0;
}

.hn-form-phone .hn-form-input:focus {
    box-shadow: none;
}

.hn-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

/* Calculator preview inside modal */
.hn-calc-preview {
    background: linear-gradient(135deg, var(--hn-yellow-soft), var(--hn-yellow-light));
    border-radius: 14px;
    padding: 1rem;
    margin: 0.75rem 0 1rem;
    display: none;
}

.hn-calc-preview__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.hn-calc-preview__label {
    color: var(--hn-text);
    opacity: 0.7;
    font-size: 0.85rem;
    font-weight: 500;
}

.hn-calc-preview__value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--hn-yellow-dark);
}

.hn-calc-preview__rate {
    font-size: 0.85rem;
    color: var(--hn-text);
    opacity: 0.75;
    margin-top: 0.3rem;
}

.hn-toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--hn-text);
    color: #fff;
    padding: 0.85rem 1.25rem;
    border-radius: 14px;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(15, 22, 35, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 20000;
}

.hn-toast.is-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.hn-toast--success {
    background: var(--hn-success);
}

.hn-toast--error {
    background: var(--hn-danger);
}

/* ── Print stylesheet for tariffs ─────────────────────────── */
@media print {
    html, body { background: #fff !important; }
    .header, .footer, .hn-hero,
    .hn-tariff-sidebar, .hn-tariff-help { display: none !important; }
    .hn-page { padding: 0; }
    .hn-container { max-width: none; padding: 0; }
    .hn-tariff-layout { display: block; }
    .hn-tariff-section {
        page-break-inside: avoid;
        border: none !important;
        box-shadow: none !important;
        padding: 0.5rem 0 !important;
        margin-bottom: 1.5rem !important;
    }
    .hn-tariff-section__title { font-size: 1.1rem !important; }
    .hn-tariff-section__icon { display: none !important; }
    .hn-tariff-table { font-size: 11px !important; min-width: 0 !important; }
    .hn-tariff-table th { background: #f5f5f5 !important; padding: 4px 6px !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .hn-tariff-table td { padding: 4px 6px !important; }
    .hn-fee-pill { background: transparent !important; padding: 0 !important; }
    .hn-fee-pill--free { color: #16a34a !important; font-weight: 700; }
    a[href]:after { content: '' !important; }
}
