/* Insurance landing — presentation only. No quote/policy/payment. */

.ins-page {
    padding: 12px var(--page-padding) 28px;
    background: var(--color-background);
    min-height: calc(100dvh - var(--app-bottom-offset));
}

.ins-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px var(--page-padding) 12px;
    border-bottom: 1px solid #e5e7eb;
}

.ins-head__back {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    flex-shrink: 0;
}

.ins-head__title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
}

.ins-head__sub {
    margin: 2px 0 0;
    font-size: 12px;
    color: #94a3b8;
}

.ins-hero {
    position: relative;
    margin: 16px 0 14px;
    padding: 18px 16px 14px;
    border-radius: 22px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, #ef3b4a 0%, #d41c32 58%, #b91c1c 100%);
}

.ins-hero::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    right: -36px;
    top: -48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.ins-hero__badge {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    margin-bottom: 10px;
}

.ins-hero__title {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.ins-hero__lead {
    margin: 6px 0 14px;
    font-size: 13px;
    opacity: 0.92;
    position: relative;
    z-index: 1;
}

.ins-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    position: relative;
    z-index: 1;
}

.ins-hero__stats div {
    background: rgba(0, 0, 0, 0.18);
    border-radius: 14px;
    padding: 8px 6px;
    text-align: center;
}

.ins-hero__stats strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
}

.ins-hero__stats span {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    opacity: 0.88;
}

.ins-tabs {
    margin: 0 0 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: #eef1f6;
}

.ins-tabs button {
    border: 0;
    background: transparent;
    border-radius: 999px;
    height: 36px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.ins-tabs button.is-active {
    background: #fff;
    color: #1e3a8a;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.ins-dates {
    margin: 0 0 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
}

.ins-dates__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.ins-dates__field > span {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
}

.ins-dates__control {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0 8px;
    height: 40px;
    background: #fff;
}

.ins-dates__control input {
    flex: 1;
    border: 0;
    min-width: 0;
    font-size: 13px;
    color: #0f172a;
    background: transparent;
    outline: none;
}

.ins-dates__clear {
    border: 0;
    background: transparent;
    color: #94a3b8;
    font-size: 18px;
    line-height: 1;
    padding: 0 2px;
}

.ins-plans {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
}

.ins-plan {
    position: relative;
    padding: 16px 14px 14px;
    border-radius: 22px;
    border: 1px solid #dbeafe;
    background: #f4f8ff;
}

.ins-plan.is-featured {
    margin-top: 10px;
    border-color: #bfdbfe;
    background: #eef4ff;
}

.ins-plan__badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: #1d4ed8;
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    white-space: nowrap;
}

.ins-plan__top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
}

.ins-plan__name {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #1d4ed8;
}

.ins-plan__icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ins-plan__name strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
}

.ins-plan__name em {
    display: block;
    font-style: normal;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}

.ins-plan__price {
    text-align: right;
    color: #1d4ed8;
    flex-shrink: 0;
}

.ins-plan__price b {
    display: block;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.ins-plan__price small {
    font-size: 11px;
    color: #64748b;
}

.ins-plan ul {
    list-style: none;
    margin: 12px 0 12px;
    padding: 0;
}

.ins-plan li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #334155;
    padding: 4px 0;
}

.ins-plan li span:last-child {
    margin-left: auto;
    color: #0f172a;
    font-weight: 600;
}

.ins-plan__check {
    width: 16px;
    color: #16a34a;
    font-weight: 800;
}

.ins-plan__cta {
    width: 100%;
    height: 44px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.ins-notice {
    position: fixed;
    left: var(--page-padding);
    right: var(--page-padding);
    bottom: calc(var(--app-bottom-offset) + 12px);
    margin: 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: #0f172a;
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    z-index: 20;
}

.ins-plan.is-hidden {
    display: none;
}
