/* ============================================================
   INSURANCE PAGE – SPECIFIC STYLES  (exact match to reference)
   Extends: style.css (global TechHouse styles)
============================================================ */

/* ============================================================
   HERO
   – Pink/light-pink background
   – Centered text
   – Decorative rounded squares
============================================================ */
.ins-hero {
    position: relative;
    background: #f5d5e7;
    /* light pink matching reference */
    overflow: hidden;
    padding: 90px 0 100px;
    text-align: center;
}

/* Decorative rounded squares – matching reference exactly */
.ins-deco-sq {
    position: absolute;
    border-radius: 18px;
    background: rgba(227, 30, 124, 0.18);
    pointer-events: none;
}

.sq-top-left {
    width: 130px;
    height: 130px;
    top: 60px;
    left: 80px;
    border-radius: 22px;
}

.sq-top-right-sm {
    width: 56px;
    height: 56px;
    top: 80px;
    right: 340px;
    border-radius: 10px;
    opacity: 0.6;
}

.sq-mid-right {
    width: 100px;
    height: 100px;
    top: 160px;
    right: 80px;
    border-radius: 18px;
}

.ins-deco-dot {
    position: absolute;
    border-radius: 50%;
    background: rgba(227, 30, 124, 0.25);
    pointer-events: none;
}

.dot-1 {
    width: 12px;
    height: 12px;
    top: 140px;
    right: 250px;
}

.dot-2 {
    width: 8px;
    height: 8px;
    top: 100px;
    left: 340px;
    opacity: 0.5;
}

.ins-hero-inner {
    position: relative;
    z-index: 2;
}

.ins-hero-title {
    font-size: 35px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.ins-hero-sub {
    font-size: 1.2rem;
    color: var(--text-body);
    /* max-width: 560px; */
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.ins-hero-btn {
    display: inline-block;
    background: var(--pink);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 2.6rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 18px rgba(227, 30, 124, 0.35);
    transition: all 0.25s ease;
}

.ins-hero-btn:hover {
    background: var(--pink-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(227, 30, 124, 0.45);
}

/* ============================================================
   PLANS SECTION
   – Light grey/blue background (#eef0f5)
   – Full-width white cards
   – Per-row subscribe buttons
============================================================ */
.ins-plans-section {
    background: #eef0f5;
    padding: 70px 0 80px;
}

.ins-plans-heading {
    font-size: 35px;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 2.5rem;
}

/* Individual plan card – full width white box */
.ins-plan-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
    overflow: hidden;
}

.ins-plan-card:last-child {
    margin-bottom: 0;
}

/* Plan title area */
.ins-plan-title-row {
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1.5px solid #f0f0f0;
}

.ins-plan-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.ins-plan-includes {
    font-size: 0.88rem;
    color: var(--pink);
    margin: 0;
    font-weight: 500;
}

/* Table column header row */
.ins-table-header {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    padding: 0.75rem 2rem;
    border-bottom: 1.5px solid #eee;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    background: #fafafa;
    gap: 1rem;
}

/* Pricing row */
.ins-table-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    padding: 1.2rem 2rem;
    border-bottom: 1.5px solid #f0f0f0;
    gap: 1rem;
    transition: background 0.15s;
}

.ins-table-row:hover {
    background: #fdf6fb;
}

.ins-table-row--last {
    border-bottom: none;
}

.ins-row-range {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 400;
}

.ins-row-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pink);
}

.ins-subscribe-btn {
    display: inline-block;
    background: var(--pink);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.55rem 1.3rem;
    border-radius: 10px;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 3px 12px rgba(227, 30, 124, 0.3);
}

.ins-subscribe-btn:hover {
    background: var(--pink-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(227, 30, 124, 0.4);
}

/* Mobile: stack rows vertically */
@media (max-width: 575.98px) {
    .ins-table-header {
        grid-template-columns: 1fr 1fr;
        padding: 0.7rem 1rem;
    }

    .ins-table-header span:last-child {
        display: none;
    }

    .ins-table-row {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        padding: 1rem;
        gap: 0.5rem;
    }

    .ins-subscribe-btn {
        grid-column: 1 / -1;
        text-align: center;
    }

    .ins-plan-title-row {
        padding: 1.2rem 1rem 0.8rem;
    }
}

@media (max-width: 767.98px) {
    .ins-table-header {
        padding: 0.7rem 1.2rem;
    }

    .ins-table-row {
        padding: 1rem 1.2rem;
    }

    .ins-plan-title-row {
        padding: 1.2rem 1.2rem 0.8rem;
    }
}

/* ============================================================
   ONE MONTH FREE COVER  — light pink banner
============================================================ */
.ins-free-section {
    background: #f7dce9;
    /* light pink matching reference exactly */
    padding: 80px 0;
    text-align: center;
}

.ins-free-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.ins-free-sub {
    font-size: 1rem;
    color: #5a5a6e;
    max-width: 520px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.ins-free-btn {
    display: inline-flex;
    align-items: center;
    background: var(--pink);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem 2.4rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 18px rgba(227, 30, 124, 0.35);
    transition: all 0.25s ease;
}

.ins-free-btn:hover {
    background: var(--pink-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(227, 30, 124, 0.45);
}

/* ============================================================
   INSURANCE FAQs
   – White/very-light grey background
   – Minimal accordion, full-width items
   – Chevron-only icon
============================================================ */
.ins-faq-section {
    background: #f8f9fb;
    padding: 80px 0 90px;
}

.ins-faq-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 2.5rem;
}

/* Override faq-item from style.css so it matches reference */
.ins-faq-item {
    background: #fff;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 12px !important;
    margin-bottom: 0.9rem;
    overflow: hidden;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.ins-faq-item:hover {
    border-color: var(--pink) !important;
    box-shadow: 0 4px 16px rgba(227, 30, 124, 0.08);
}

/* Restore border top between consecutive items */
.ins-faq-item + .ins-faq-item {
    border-top: 1.5px solid #e5e7eb !important;
}

.ins-faq-btn {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark) !important;
    background: #fff !important;
    padding: 1.2rem 1.5rem;
    box-shadow: none !important;
}

.ins-faq-btn:not(.collapsed) {
    color: var(--text-dark) !important;
    background: #fff !important;
}

/* Replace Bootstrap's default SVG arrow with a simple chevron feel */
.ins-faq-btn::after {
    content: "\f078";
    /* fa-chevron-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--text-muted);
    background-image: none !important;
    width: auto;
    height: auto;
    transform: none !important;
    transition: transform 0.3s ease;
}

.ins-faq-btn:not(.collapsed)::after {
    transform: rotate(-180deg) !important;
    color: var(--pink);
}

.ins-faq-body {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.75;
    padding: 0 1.5rem 1.3rem;
}

/* ============================================================
   RESPONSIVE HERO TWEAKS
============================================================ */
@media (max-width: 767.98px) {
    .ins-hero {
        padding: 60px 0 70px;
    }

    .sq-top-left {
        width: 80px;
        height: 80px;
        top: 30px;
        left: 20px;
    }

    .sq-mid-right {
        width: 60px;
        height: 60px;
        top: 80px;
        right: 20px;
    }

    .ins-free-section {
        padding: 60px 0;
    }

    .ins-faq-section {
        padding: 56px 0 64px;
    }

    .ins-plans-section {
        padding: 48px 0 56px;
    }
}
