.c-calculator{
    font-family: 'Poppins', sans-serif;
    position: relative;
}
.c-calculator-bg{
    background-image: url(/l2020/images/c-calculator-bg-texture.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 141%;
    /*outline: 2px solid maroon;*/
    z-index: 0;
}

.c-calculator .container{
    /*outline: 1px solid magenta;*/
    min-height: 400px;
    max-width: 1211px;
    margin: 0 auto;
    padding: 30px 30px 80px;
    position: relative;
    z-index: 1;
}

.c-calculator .c-flex{
    display: flex;
    gap: 0;
    align-items: center;
}

.c-calculator .c-flex .c-leading-cell{
    padding-right: 8%;
    max-width: 420px;
}

.c-calculator .c-flex .c-trailing-cell{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.c-calculator .c-flex .c--subtitle{
    font-size: 21px;
    line-height: 26px;
    font-weight: 700;
    color: #ff7800;
    margin-bottom: 5px;
}
.c-calculator .c-flex .c--title{
    font-size: 36px;
    line-height: 40px;
    font-weight: 700;
    color: #222;
    margin-bottom: 26px;
}
.c-calculator .c-flex .c--btn{
    /*background-color: #045fa7;*/
    background: #24b8f2;
    background: linear-gradient(180deg, rgb(33, 163, 213) 0%, rgb(16, 117, 233) 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 20%), 0 3px 7px 0 rgb(0 0 0 / 19%);
    cursor: pointer;
}
/* Subtle "¿Cómo se calcula?" toggle under the calculator button */
.c-calculator .c-calc-how{
    -webkit-appearance: none;
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    margin: 16px 0 0;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1075e9;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
    border-bottom: 1px dashed rgba(16, 117, 233, .45);
    transition: color .2s ease, border-color .2s ease;

    position: relative;
    left: 31px;
}
.c-calculator .c-calc-how:hover{
    color: #0a4fb0;
    border-bottom-color: #0a4fb0;
}
.c-calculator .c-calc-how-caret{
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .3s ease;
    margin-top: -3px;
}
.c-calculator .c-calc-how[aria-expanded="true"] .c-calc-how-caret{
    transform: rotate(-135deg);
    margin-top: 2px;
}

/* Cost breakdown — kept in the DOM/render tree (height:0 + overflow:hidden,
   NOT display:none) so it stays fully indexable for SEO/GEO while collapsed. */
.c-calculator .c-cost-breakdown{
    height: 0;
    overflow: hidden;
    transition: height .4s ease;
    position: relative;
    z-index: 1;
}
.c-calculator .c-cost-breakdown-inner{
    padding: 36px 0 6px;
}
.c-calculator .c-cost-card{
    background: #fff;
    border: 1px solid #e6eaf0;
    border-radius: 18px;
    box-shadow: 0 0px 48px -38px rgba(16, 55, 99, .4);
    overflow: hidden;
    max-width: 1040px;
}
.c-calculator .c-cost-card__head{
    padding: 26px 30px 6px;
}
.c-calculator .c-cost-card__eyebrow{
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #ff7800;
    margin: 0 0 7px;
}
.c-calculator .c-cost-card__title{
    font-size: 23px;
    line-height: 29px;
    font-weight: 700;
    color: #15233b;
    margin: 0 0 12px;
}
.c-calculator .c-cost-card__lead{
    font-size: 15px;
    line-height: 23px;
    color: #4a5568;
    margin: 0 0 20px;
}
.c-calculator .c-cost-table-wrap{
    overflow-x: auto;
    padding: 0 16px 16px;
    -webkit-overflow-scrolling: touch;
}
.c-calculator .c-cost-table{
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
    font-size: 14px;
}
.c-calculator .c-cost-table thead th{
    background: linear-gradient(180deg, rgb(0 127 175) 0%, rgb(16, 117, 233) 100%);
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 15px 16px;
    font-size: 13px;
    line-height: 18px;
}
.c-calculator .c-cost-table thead th:first-child{
    border-top-left-radius: 12px;
}
.c-calculator .c-cost-table thead th:last-child{
    border-top-right-radius: 12px;
}
.c-calculator .c-cost-table tbody td{
    padding: 21px 16px 17px;
    border-bottom: 1px solid #eef1f5;
    color: #3a4658;
    line-height: 21px;
    vertical-align: top;
}
.c-calculator .c-cost-table tbody tr:nth-child(even) td{
    background: #f8fafc;
}
.c-calculator .c-cost-table tbody tr:last-child td{
    border-bottom: 0;
}
.c-calculator .c-cost-table .c-cost-mode{
    font-weight: 700;
    color: #15233b;
    white-space: nowrap;
}
.c-calculator .c-cost-table .c-cost-mode small{
    display: block;
    font-weight: 500;
    color: #7a8699;
    font-size: 12px;
    margin-top: 4px;
    white-space: normal;
}
.c-calculator .c-cost-table .c-cost-rate{
    font-size: 25px;
    font-weight: 800;
    color: #1075e9;
    white-space: nowrap;
}
.c-calculator .c-cost-note{
    font-size: 12.5px;
    line-height: 19px;
    color: #7a8699;
    padding: 16px 30px 26px;
    margin: 0;
}
.c-calculator .c-cost-card__body{
    padding: 6px 30px 4px;
}
.c-calculator .c-cost-formula{
    background: #f4f4f4;
    /*border: 1px solid #d6e6fb;*/
    /*border-left: 4px solid #1075e9;*/
    border-radius: 12px;
    padding: 16px 20px;
    margin: 4px 0 18px;
}
.c-calculator .c-cost-formula__label{
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #494949;
    margin-bottom: 8px;
}
.c-calculator .c-cost-formula__eq{
    display: block;
    font-size: 15.5px;
    line-height: 24px;
    font-weight: 700;
    color: #15233b;
}
.c-calculator .c-cost-table__caption{
    caption-side: top;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #7a8699;
    padding: 0 2px 8px;
}
.c-calculator .c-cost-section-title{
    font-size: 15px;
    font-weight: 700;
    color: #15233b;
    margin: 8px 0 12px;
}
.c-calculator .c-cost-includes{
    list-style: none;
    margin: 0 0 6px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 28px;
}
.c-calculator .c-cost-includes li{
    position: relative;
    padding-left: 26px;
    font-size: 14px;
    line-height: 21px;
    color: #3a4658;
}
.c-calculator .c-cost-includes li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0fca0f;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E");
    background-size: 11px;
    background-repeat: no-repeat;
    background-position: center;
}
@media (max-width: 580px){
    .c-calculator .c-cost-card__body{
        padding-left: 20px;
        padding-right: 20px;
    }
    .c-calculator .c-cost-includes{
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .c-calculator .c-cost-formula__eq{
        font-size: 14px;
        line-height: 22px;
    }
    .c-calculator .c-cost-breakdown-inner{
        padding-top: 28px;
    }
    .c-calculator .c-cost-card__head,
    .c-calculator .c-cost-note{
        padding-left: 20px;
        padding-right: 20px;
    }
    .c-calculator .c-cost-card__title{
        font-size: 20px;
        line-height: 26px;
    }
}

@media (max-width: 960px){
    .c-calculator .c-flex .c-leading-cell{
        max-width: 41%;
    }
    .c-calculator .c-flex .c-leading-cell{
        flex: 1;
    }
    .c-calculator .c-flex .c--title{
        font-size: 26px;
        line-height: 34px;
    }
}
@media (max-width: 580px){
    .c-calculator .c-flex{
        flex-direction: column;
        gap: 35px;
    }
    .c-calculator .c-flex .c-leading-cell{
        padding-right: 0;
    }
    .c-calculator .c-flex .c-trailing-cell{
        align-items: center;
        text-align: center;
    }
}