/* ============================================================
   CALL RECORDING PAGE — call-recording.css
   Brand gradient: linear-gradient(269deg, #6e196f 5%, #f433e7 152%)
   Heading dark: #13002e  |  Text dark: #0f233d
   ============================================================ */

.cr-g-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.cr-hero {
      background: linear-gradient(181.51deg, rgba(255, 214, 219, 0) 22%, rgba(255, 212, 254, 0.85) 58%, rgba(255, 212, 254, 0.55) 100%);
    overflow: hidden;
    padding: 0;
    /* .header is position:fixed — compensate for it here, same offsets as .inner-banner */
    margin-top: 100px;
}
.cr-automatic p{color: #fff;}
@media (max-width: 991.98px) {
    .cr-hero { margin-top: 65px; }
}

.cr-hero-inner {
    display: flex;
    align-items: center;
    min-height: 480px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    gap: 48px;
}

.cr-hero-left {
    flex: 0 0 46%;
    max-width: 46%;
}

.cr-hero__title {
    color: var(--color-heading);
    margin-bottom: 20px;
}

.cr-hero__desc {
    color: var(--color-dark);
    font-size: clamp(15px, 1.4vw, 20px) !important;
    line-height: 1.55;
    margin-bottom: 28px;
    font-weight: 300;
}

.cr-hero__desc strong { font-weight: 600; }

.cr-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--color-muted);
    margin-top: 20px;
}

.cr-hero-breadcrumb a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cr-hero-breadcrumb a:hover { color: var(--squibit-purple); }
.cr-hero-breadcrumb span    { color: var(--squibit-purple); font-weight: 500; }

.cr-hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.cr-hero__photo-wrap {
    width: 100%;
    max-width: 560px;
}

.cr-hero__main-img {
    width: 100%;
    border-radius: var(--radius-md);
    display: block;
    
}

/* ============================================================
   SECTION 2 — TURN EVERY RECORDED CONVERSATION
   ============================================================ */
.cr-insight {
    padding: 90px 0;
    background: #fff;
}

.cr-insight__photo-wrap { position: relative; height: 100%; min-height: 320px; }

.cr-insight__img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    object-fit: cover;
    display: block;
    box-shadow: var(--shadow-image);
}

.cr-insight__heading {
    font-size: var(--fs-h2);
    font-weight: 600;
    color: var(--color-heading);
    letter-spacing: -0.45px;
    line-height: 1.22;
    margin-bottom: 24px;
}

.cr-insight__desc {
    font-size: var(--fs-p);
    font-weight: 300;
    color: var(--color-dark);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* ============================================================
   SECTION 3 — CAPTURE THE BUSINESS CONVERSATIONS THAT MATTER
   ============================================================ */
.cr-matter {
    padding: 20px 0 90px;
    background: #fff;
}

.cr-matter__heading {
    font-size: var(--fs-h2);
    font-weight: 600;
    color: var(--color-heading);
    letter-spacing: -0.45px;
    line-height: 1.22;
    margin-bottom: 24px;
    max-width: 900px;
}

.cr-matter__desc {
    font-size: var(--fs-p);
    font-weight: 300;
    color: var(--color-dark);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* ============================================================
   SECTION 4 — AUTOMATIC CALL RECORDING (accordion + image)
   ============================================================ */
.cr-automatic {
    padding: 90px 0;
    background: var(--gradient-brand);
}

.cr-automatic__heading {
    font-size: var(--fs-h2);
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.45px;
    line-height: 1.22;
    margin-bottom: 20px;
}

.cr-automatic__desc {
    font-size: var(--fs-p) !important;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.5;
    margin-bottom: 56px;
}

.cr-accordion .accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.cr-accordion .accordion-item:last-of-type { border-bottom: none; }

.cr-accordion .accordion-button {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #fff;
    font-weight: 700;
    font-size: 28px;
    padding: 22px 0;
}

.cr-accordion .accordion-button.collapsed {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
}

.cr-accordion .accordion-button::after {
    filter: brightness(0) invert(1);
}

.cr-accordion .accordion-button.collapsed::after {
    opacity: 0.4;
}

.cr-accordion .accordion-body {
    padding: 0 0 28px;
    color: rgba(255, 255, 255, 0.92);
    font-size: var(--fs-sm);
    font-weight: 300;
    line-height: 1.6;
}

.cr-accordion .accordion-body p { margin: 0 0 14px; }
.cr-accordion .accordion-body p:last-child { margin-bottom: 0; }

.cr-automatic__btn {
    margin-top: 32px;
}

.cr-automatic__media {
    height: 100%;
    min-height: 320px;
}

.cr-automatic__img {
    width: 100%;
    height: 100%;
    max-width: 480px;
    border-radius: var(--radius-md);
    display: block;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

/* ============================================================
   SECTION 5 — CALL RECORDING INTEGRATED WITH SQUIBIT UC
   ============================================================ */
.cr-integrated {
    padding: 90px 0 0;
    background: #fff;
}

.cr-integrated__photo-wrap { position: relative; height: 100%; min-height: 320px; }

.cr-integrated__img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    object-fit: cover;
    display: block;
    box-shadow: var(--shadow-image);
}

.cr-integrated__heading {
    font-size: var(--fs-h2);
    font-weight: 600;
    color: var(--color-heading);
    letter-spacing: -0.45px;
    line-height: 1.22;
    margin-bottom: 24px;
}

.cr-integrated__desc {
    font-size: var(--fs-p);
    font-weight: 300;
    color: var(--color-dark);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* ============================================================
   SECTION 6 — HOW TEAMS USE CALL RECORDING + comparison table
   ============================================================ */
.cr-operations {
    padding: 90px 0 0;
    background: #fff;
}

.cr-operations__heading {
    font-size: var(--fs-h2);
    font-weight: 600;
    color: var(--color-heading);
    letter-spacing: -0.45px;
    line-height: 1.22;
    margin-bottom: 20px;
}

.cr-operations__desc {
    font-size: var(--fs-p) !important;
    font-weight: 300;
    color: var(--color-dark);
    line-height: 1.55;
    margin-bottom: 48px;
}

.cr-compare-table-wrap {
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.cr-compare-table {
    margin-bottom: 0;
    table-layout: fixed;
}

.cr-compare-table thead tr {
    background: var(--gradient-brand);
}

.cr-compare-table thead th {
    background: transparent;
    color: #fff;
    font-weight: 500;
    font-size: 20px;
    text-align: left;
    padding: 14px 24px;
    border: none;
    width: 50%;
}

.cr-compare-table tbody td {
    width: 50%;
    padding: 20px 24px;
    font-size: var(--fs-sm) !important;
    font-weight: 300;
    color: var(--color-dark);
    vertical-align: middle;
    border-color: var(--color-border-soft);
}

.cr-compare-table tbody td:first-child {
    font-weight: 500;
    font-size: 18px;
    color: #000;
}

.cr-compare-table tbody tr:nth-child(even) td {
    background: #f1f1f1;
}

/* ============================================================
   SECTION 7 — CONFIGURE CALL RECORDING (inset panel)
   ============================================================ */
.cr-setup {
    padding: 90px 0;
    background: #fff;
}

.cr-setup__panel {
    background: var(--gradient-brand);
    border-radius: var(--radius-md);
    padding: 60px;
    overflow: hidden;
}

.cr-setup__heading {
    font-size: var(--fs-h2);
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.45px;
    line-height: 1.22;
    margin-bottom: 20px;
}

.cr-setup__desc {
    font-size: var(--fs-sm) !important;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.55;
    margin-bottom: 14px;
}

.cr-setup__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--squibit-purple);
    font-size: 17px;
    font-weight: 300;
    padding: 12px 32px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    letter-spacing: -0.18px;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    margin-top: 12px;
}

.cr-setup__btn:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    color: var(--squibit-purple-dark);
}

.cr-setup__photo-wrap { position: relative; }

.cr-setup__photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* ============================================================
   SECTION 8 — GIVE YOUR TEAM A BETTER WAY (CTA)
   ============================================================ */
.cr-cta {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
  
   
}

.cr-cta::before {
     content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160.79deg, rgba(255, 214, 219, 0) 18.34%, rgb(204, 118, 201) 77.99%, #fff 90.61%);
    pointer-events: none;
}

.cr-cta__heading {
    font-size: var(--fs-h2);
    font-weight: 700;
    color: #000;
    letter-spacing: -0.45px;
    line-height: 1.22;
    margin-bottom: 20px;
}

.cr-cta__desc {
    font-size: var(--fs-sm) !important;
    font-weight: 300;
    color: var(--color-dark);
    line-height: 1.55;
    margin-bottom: 12px;
    max-width: 780px;
}

.cr-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand);
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    padding: 18px 40px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    white-space: nowrap;
    transition: box-shadow 0.3s ease, transform 0.2s ease, opacity 0.2s ease;
}

.cr-cta__btn:hover {
    opacity: 0.9;
    color: #fff;
    box-shadow: 0 8px 24px rgba(110, 25, 111, 0.35);
    transform: translateY(-2px);
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.cr-back-top {
    position: fixed;
    bottom: 36px;
    right: 36px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: var(--gradient-brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(110, 25, 111, 0.40);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 999;
}

.cr-back-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cr-back-top:hover {
    box-shadow: 0 8px 28px rgba(110, 25, 111, 0.55);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199.98px) {
    .cr-hero-inner { max-width: 100%; gap: 40px; }
    .cr-hero-left  { flex: 0 0 48%; max-width: 48%; }
}

@media (max-width: 991.98px) {
    .cr-hero-inner   { gap: 28px; padding: 44px 20px; }
    .cr-hero-left    { flex: 0 0 50%; max-width: 50%; }
    .cr-insight, .cr-integrated, .cr-operations, .cr-setup { padding: 70px 0; }
    .cr-automatic    { padding: 70px 0; }
    .cr-matter       { padding: 20px 0 70px; }
    .cr-cta          { padding: 70px 0; }
    .cr-setup__panel { padding: 40px; }

    /* Below lg, columns stack — stretched height:100% has no reference height anymore */
    .cr-insight__photo-wrap,
    .cr-integrated__photo-wrap,
    .cr-automatic__media {
        height: 420px;
        min-height: 0;
    }
    .cr-automatic__btn{margin-top: 0px!important;margin-bottom: 0px!important}   
    .cr-accordion .accordion-button{    font-size: 20px;}
    .cr-operations{padding-top:0px!important}
    .cr-setup{padding-top:0px!important}
}

@media (max-width: 767.98px) {
    .cr-hero-inner       { flex-direction: column; gap: 32px; padding: 40px 20px 28px; }
    .cr-hero-left        { flex: none; max-width: 100%; width: 100%; text-align: center; }
    .cr-hero-breadcrumb  { justify-content: center; }
    .cr-hero-right       { width: 100%; }

    .cr-automatic__media { margin-top: 24px; }
    .cr-accordion .accordion-button { font-size: 22px; }

    .cr-setup__panel { padding: 28px; }
    .cr-setup__photo-wrap { margin-top: 24px; }

    .cr-compare-table thead th { font-size: 16px; padding: 10px 14px; }
    .cr-compare-table tbody td { padding: 14px 14px; }
}

@media (max-width: 575.98px) {
    .cr-insight, .cr-integrated, .cr-operations, .cr-setup { padding: 40px 0 !important; }
    .cr-automatic { padding: 40px 0 !important; }
    .cr-matter    { padding: 20px 0 40px !important; }
    .cr-cta       { padding: 40px 0 !important; }
    .cr-cta a     { margin-top: 20px; }
    .cr-back-top  { bottom: 20px; right: 20px; }
    .cr-hero-inner{flex-direction:column-reverse;padding-top:0}
    .cr-automatic__desc{margin-bottom:0}
  .cr-automatic__btn{margin:0px!important}
    .cr-automatic .row{flex-direction:column-reverse}
    .cr-insight__heading{text-align:center}
    .cr-insight__desc{text-align:center}
   .cr-insight .btn-squibit-grad{    position: relative;
    left: 50%;
    transform: translateX(-50%);}
    .cr-matter{text-align:center}
    .cr-integrated{text-align:center}
    .cr-operations{padding-bottom: 0!important;}
    .cr-setup{text-align:center}
    .cr-setup .row{flex-direction:column-reverse}
    .cr-cta{text-align:center;  margin-bottom:20px}
        .cr-cta a {
        margin-top: 20px;
        justify-content: center;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
      
    }
}
