/**
 * FILE: assets/css/components/guarantee-section.css
 * Block: Guarantee Section
 *
 * Layout grid comes from Bootstrap (container/row/col-*) in the template.
 * This file covers card styling, the badge, the banner, and the
 * mobile vs. tablet/desktop differences seen in the two reference screens.
 */

.block-guarantee-section {
    padding: 3rem 0;
}

/* ---------- Intro ---------- */

.block-guarantee-section__heading {
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.2;
    /* max-width: 600px; */
}

.block-guarantee-section__subheading {
    color: #6b6b6b;
    /* max-width: 700px; */
    margin-bottom: 20px;
    font-size: 20px;
}

/* ---------- Badge (tablet/desktop only — hidden below md via d-none d-md-flex in template) ---------- */

.block-guarantee-section__badge-col {
    justify-content: flex-end;
}

.block-guarantee-section__badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: flex-end;
}

.block-guarantee-section__badge-icon {
    max-width: 315px;
    height: auto;
}

.block-guarantee-section__badge-text {
    background-color: #730917;
    color: #ffffff;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    padding: 10px;
    border-radius: 20px;
    max-width: 315px;
}

/* ---------- Stats ---------- */

.block-guarantee-section__stats {
    margin-bottom: 0px;
    /* max-width: 700px; */
    display: flex;
    gap: 20px;
}

.block-guarantee-section__stat {
    background-color: #FFF8F2;
    border-radius: 12px;
    /* padding: 20px 20px; */
    padding: 40px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.block-guarantee-section__stat-value {
    display: block;
    color: #ED184A;
    /* font-size: 25px; */
    font-size: 35px;
    font-weight: 600;
}

.block-guarantee-section__stat-label {
    display: block;
    color: #515151;
    font-size: 15px;
    line-height: 1.2;
}

/* ---------- Banner ("Supra Travel garancija" heading) ---------- */

.block-guarantee-section__banner {
    font-weight: 700;
    margin-bottom: 15px;
}

@media (min-width: 768px) {

    /* Desktop reference shows this as a solid red bar rather than plain text */
    .block-guarantee-section__banner {
        background-color: #ED184A;
        color: #ffffff;
        text-transform: uppercase;
        padding: 1rem 1.5rem;
        border-radius: 10px;
    }
}

/* ---------- Guarantee items ---------- */

.block-guarantee-section__item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 15px;
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.block-guarantee-section__item-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.block-guarantee-section__item-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.block-guarantee-section__item-title {
    font-weight: 600;
    font-size: 15px;
}

.block-guarantee-section__item-description {
    color: #6b6b6b;
    font-size: 12px;
}

.block-guarantee-section__intro {
    padding-top: 0px;
    padding-bottom: 20px;
}

.block-guarantee-section__stats-item {
    flex-grow: 1;
}

.block-guarantee-section__items {
    row-gap: 20px;
}

@media (min-width: 768px) {

    /* Desktop reference stacks icon above text, centered, on a light card */
    .block-guarantee-section__item {
        background-color: #FFF8F2;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .block-guarantee-section__item-text {
        align-items: center;
    }
}

@media (max-width: 767px) {

    .block-guarantee-section__stat-value {
        font-size: 25px;
    }

    .block-guarantee-section__subheading {
        font-size: 16px;
        margin-bottom: 16px !important;
    }

    .block-guarantee-section__stats {
        gap: 10px;
    }

    .block-guarantee-section__stat {
        padding: 10px 10px;
        gap: 4px;
        background-color: #fff;
    }

    .block-guarantee-section__items {
        gap: 10px;
        padding-bottom: 16px;
    }

    .block-guarantee-section__item {
        background-color: #ffffff;
        box-shadow: unset !important;
        gap: 15px !important;
        padding: 8px 15px !important;
    }

    .block-guarantee-section {
        padding: 0rem 0;
        background-color: #FFF8F2;
        margin: 20px 15px;
        border-radius: 18px;
    }

    .block-guarantee-section__intro {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .block-guarantee-section__banner {
        margin-bottom: 16px;
    }

    .block-guarantee-section__stat-label {
        font-size: 12px;
    }

    .block-guarantee-section__item-title {
        font-size: 14px;
    }

    .block-guarantee-section__heading {
        margin-bottom: 12px;
    }

    .block-guarantee-section__badge-col {
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .block-guarantee-section__badge {
        gap: 20px;
    }

    .block-guarantee-section__badge-text {
        font-size: 18px;
    }
}






.block-guarantee-section__badge picture {
    width: 30% !important;
}

.block-guarantee-section__badge picture img {
    width: 100% !important;
}

.block-guarantee-section__badge span {
    width: 70% !important;
}

.block-guarantee-section__badge {
    gap: 20px !important;
}

.block-guarantee-section__stat {
    padding: 10px 10px;
}

.block-guarantee-section__badge {
    align-items: flex-end;
    justify-content: flex-end;
    flex-direction: row !important;
}

@media (max-width: 767px) {
    .block-guarantee-section__badge-text {
        font-size: 12px;
    }

    .block-guarantee-section__badge-text {
        border-radius: 10px;
    }

    .block-guarantee-section__badge {
        gap: 10px;
    }
}


.block-guarantee-section__badge-icon {
    border-radius: 20px;
}

.block-guarantee-section__badge-icon {
    max-height: 80px;
}

@media (max-width: 767px) {
    .block-guarantee-section__badge picture {
        width: 50% !important;
    }

    .block-guarantee-section__badge span {
        width: 50% !important;
    }
}






.block-guarantee-section__stats-item {
    flex: 1;
    min-width: 0;
}

.block-guarantee-section__stats {
    /* max-width: 600px; */
    align-items: stretch;
}

.block-guarantee-section__stat {
    height: 100%;
}

.block-guarantee-section-stats-badge {
    display: flex;
    gap: 20px;
}




.block-guarantee-section-stats-badge {
    display: flex;
    gap: 20px;
}

.block-guarantee-section__badge {
    height: 100%;
    align-items: stretch;
}

.block-guarantee-section__badge picture {
    flex-grow: 1;
    align-items: stretch;
    display: flex;
    height: unset;
}

.block-guarantee-section__badge-text {
    width: unset !important;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.block-guarantee-section__badge-icon {
    display: flex;
    height: 100% !important;
    max-height: initial !important;
    object-fit: cover;
    align-items: stretch;
    height: auto !important;
}

.block-guarantee-section__badge-text {
    max-width: unset !important;
    flex-grow: 1;
}

.block-guarantee-section__stat {
    padding: 20px 15px;
}

.block-guarantee-section__badge picture {
    width: 30% !important;
}

.block-guarantee-section__badge span {
    width: 70% !important;
}


@media (max-width: 992px) {
    .block-guarantee-section-stats-badge {
        flex-wrap: wrap;
    }

    .block-guarantee-section__badge-col {
        margin-top: 0px;
    }

    .block-guarantee-section-stats-badge {
        gap: 10px;
    }

    .block-guarantee-section__stat {
        padding: 10px !important;
    }
}


.block-guarantee-section__stats {
    width: 60%;
}

.block-guarantee-section__badge-col {
    width: 40%;
}

.block-guarantee-section__stat {
    padding: 10px 10px !important;
}

.block-guarantee-section__badge picture{
  background-color: #f5f8f5 !important;
  border-radius: 20px;
}

@media (max-width: 992px) {
    .block-guarantee-section__stats {
        width: 100%;
    }

    .block-guarantee-section__badge-col {
        width: 100%;
    }
}




.block-guarantee-section__heading {
  line-height: 100%;
  margin-bottom: 16px;
}

.block-guarantee-section__subheading {
  margin-bottom: 16px;
  line-height: 100% !important;
}

.block-guarantee-section__intro {
  margin-bottom: 16px;
  padding-bottom: 0px;
}

.block-guarantee-section__banner {
  margin-bottom: 16px;
}