:root{
    --primary:#1E3743;
    --secondary:#2F6F73;
    --accent:#F2A341;
    --bg:#F5F7FA;
    --text:#1B1B1B;
}


.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--bs-heading-color);
}
.section-title{
    margin: 20px 0 10px;
    font-size:18px;
    color: var(--primary);
    font-weight:600;
}
/* RESET */
*{
    box-sizing: border-box;
}

body{
    margin:0;
    background: var(--bg);
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
}

/* CONTENEDOR */
.containerHome{
    max-width: 500px;
    margin: 60px auto;
}


/* CARD */
.card{
    background:#fff;
    padding:30px;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    border-color: #fff;
}

/* HEADER */
.header{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
}

.header h2{
    margin:0;
}

/* SUBTITLE */
.subtitle{
    color:#666;
    margin-bottom:20px;
}

/* FIELD */
.field{
    display:flex;
    flex-direction:column;
    margin-bottom:15px;
}

.field label{
    font-size:14px;
    margin-bottom:5px;
}

.field input,
.field select{
    padding:12px;
    border-radius:10px;
    border:1px solid #ddd;
    font-size:14px;
}

/* ROW */
.row-custom{
    display:flex;
    gap:10px;
}

.half{
    width:50%;
}

/* OPTIONS */
.options{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-bottom:20px;
}

.option{
    padding:15px;
    border-radius:12px;
    border:1px solid #ddd;
    display:flex;
    justify-content:space-between;
    cursor:pointer;
    transition:.3s;
}

.option:hover{
    border-color: var(--primary);
}

.option.active{
    background: rgba(30,55,67,.05);
    border-color: var(--primary);
}

/* BUTTON */
.btn{
    width:100%;
    background: var(--primary);
    color:#fff;
    border:none;
    padding:14px;
    border-radius:12px;
    font-weight:600;
    cursor:pointer;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    transition:.3s;
}

.btn:hover{
    background: var(--secondary);
}

/* NOTE */
.note{
    text-align:center;
    font-size:13px;
    color:#777;
    margin-top:10px;
}

/* BACK */
.back{
    text-align:center;
    margin-top:15px;
}

.back a{
    color: var(--secondary);
    text-decoration:none;
}

/* LOADING */
.loading-screen{
    position:fixed;
    inset:0;
    background:#fff;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    opacity:0;
    pointer-events:none;
    transition:.3s;
}

.loading-screen.active{
    opacity:1;
    pointer-events:all;
}

.loader{
    width:40px;
    height:40px;
    border:4px solid #ddd;
    border-top:4px solid var(--primary);
    border-radius:50%;
    animation:spin 1s linear infinite;
}

@keyframes spin{
    to{ transform:rotate(360deg); }
}

.check{
    font-size:40px;
    color:green;
    display:none;
}

.option{
    position: relative;
    display:flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 40px; /* espacio para el punto */
}

.option::after{
    content:"";
    position:absolute;
    right:15px;
    top:50%;
    transform: translateY(-50%);
    
    width:12px;
    height:12px;
    border-radius:50%;
    background:#ddd;

    transition:.3s;
}

.option.active::after{
    background: var(--primary);
    transform: translateY(-50%) scale(1.2);
}

.btn:active{
    transform: scale(.98);
}

.summary-total{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-weight:700;
    font-size:20px;
    color:#2563eb;
}

.summary-total span:last-child{
    font-size:22px;
}

.option{
    transition: all .25s ease;
}

.option.active{
    transform: scale(1.02);
}

.success-check{
    width:90px;
    height:90px;
    border-radius:50%;
    background:#22c55e;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:40px;
    animation: pop .4s ease;
}

.success-check::after{
    content:"✔";
}

@keyframes pop{
    0%{ transform: scale(0); }
    80%{ transform: scale(1.1); }
    100%{ transform: scale(1); }
}

/* LINK */
.back-link{
    font-size:12px;
    color:#9aaeb8;
    text-decoration:none;
}

.back-link:hover{
    color:var(--primary);
}
