/* ========================================
   SMILEY CALCULADORA HUÉSPED v1.5
   Poppins (títulos/subtítulos/CTA/valores/controles de formulario) ·
   Roboto Serif (textos generales: párrafos, labels, puntos)
   Colores marca #33cc33 / #ff0000
   Doble contenedor (marco 20px + tarjeta interior),
   ancho 728px — consistente con Calculadora ROI (venta)
   ======================================== */

.sch-container {
    --sch-green:       #33cc33;
    --sch-green-soft:  #e8f9e8;
    --sch-red:         #ff0000;
    --sch-red-soft:    #fff1f1;
    --sch-dark:        #1a202c;
    --sch-blue-dark:   #1e3a5f;
    --sch-blue-mid:    #1f4a73;
    --sch-gray:        #334155;
    --sch-gray-soft:   #52606d;

    max-width: 728px;
    margin: 0 auto;
    padding: 24px;
    box-sizing: border-box;
    text-align: center;
}

.sch-container * { box-sizing: border-box; }

/* ---------- Marco exterior (doble contenedor, marca Smiley) ---------- */
.sch-frame {
    background: #fff;
    border: 20px solid #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.13);
    overflow: hidden;
}

.sch-wrap {
    padding: 28px 28px 32px;
}

.sch-badge {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--sch-red);
    text-transform: uppercase;
    margin: 0 0 10px;
}

.sch-titulo {
    font-family: 'Poppins', sans-serif;
    font-size: 29px;
    font-weight: 700;
    color: var(--sch-blue-dark);
    margin: 0 0 12px;
    line-height: 1.25;
}

.sch-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--sch-gray);
    margin: 0 0 22px;
}

/* ---------- Tarjeta calculadora (borde propio, como sroi-card) ---------- */
.sch-card {
    text-align: left;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 28px 24px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.sch-pill {
    display: inline-block;
    background: var(--sch-green-soft);
    color: #1a7a1a;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.sch-explicativo {
    font-family: 'Roboto Serif', serif;
    font-size: 15.5px;
    color: var(--sch-blue-mid);
    line-height: 1.55;
    margin: 0 0 20px;
}

/* ---------- Campos (apilados, ancho completo) ---------- */
.sch-field {
    margin-bottom: 12px;
}

.sch-field label {
    display: block;
    font-family: 'Roboto Serif', serif;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: var(--sch-gray-soft);
    text-transform: uppercase;
    margin-bottom: 7px;
}

.sch-field select,
.sch-field input[type="number"] {
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: 15.5px;
    line-height: 1.3;
    padding: 10px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: var(--sch-dark);
}

.sch-select-wrap {
    position: relative;
}

.sch-select-wrap select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 38px;
    cursor: pointer;
}

.sch-select-wrap select::-ms-expand {
    display: none;
}

.sch-select-arrow {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    font-size: 13px;
    color: var(--sch-gray-soft);
    pointer-events: none;
}

.sch-price-wrap {
    display: flex;
    align-items: stretch;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
}

.sch-price-prefix {
    display: flex;
    align-items: center;
    padding: 0 13px;
    background: #f1f5f9;
    color: var(--sch-gray-soft);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15.5px;
    border-right: 1px solid #cbd5e1;
}

.sch-price-wrap input {
    flex: 1;
    border: none;
    padding: 10px 13px;
    font-family: 'Poppins', sans-serif;
    font-size: 15.5px;
    line-height: 1.4;
    color: var(--sch-dark);
    min-width: 0;
}

.sch-field select:focus,
.sch-field input:focus,
.sch-price-wrap input:focus {
    outline: none;
    border-color: var(--sch-green);
}
.sch-price-wrap:focus-within {
    border-color: var(--sch-green);
}

/* ---------- Resultado ---------- */
.sch-resultado {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, opacity 0.25s ease, margin 0.25s ease;
    margin-top: 0;
}

.sch-resultado.sch-resultado-activo {
    max-height: 260px;
    opacity: 1;
    margin-top: 6px;
    margin-bottom: 20px;
}

.sch-resultado-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-family: 'Roboto Serif', serif;
    font-size: 14.5px;
    padding: 10px 13px;
    border-radius: 10px;
    line-height: 1.4;
}

.sch-resultado-comision {
    background: var(--sch-red-soft);
    color: var(--sch-red);
}

.sch-resultado-directo {
    background: var(--sch-green-soft);
    color: #1a7a1a;
}

.sch-resultado-valor {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
}

.sch-nota {
    font-family: 'Roboto Serif', serif;
    font-size: 12.5px;
    color: var(--sch-gray-soft);
    line-height: 1.5;
    margin: 0 0 16px;
}

/* ---------- CTA ---------- */
.sch-cta {
    display: block;
    background: var(--sch-red);
    color: #fff !important;
    font-family: 'Poppins', sans-serif;
    font-size: 16.5px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    padding: 17px 20px;
    border-radius: 12px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sch-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255,0,0,0.25);
    color: #fff !important;
}

/* ---------- Puntos de confianza ---------- */
.sch-puntos {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    margin-top: 20px;
}

.sch-punto {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-family: 'Roboto Serif', serif;
    font-size: 15.5px;
    color: var(--sch-dark);
    line-height: 1.45;
}

.sch-check {
    flex-shrink: 0;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: var(--sch-green);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
    .sch-container { padding: 16px; }
    .sch-frame      { border-width: 14px; border-radius: 16px; }
    .sch-wrap       { padding: 18px 14px 24px; }
    .sch-card       { padding: 18px 14px; }
    .sch-titulo     { font-size: 23px; }
}
@media (max-width: 380px) {
    .sch-container { padding: 10px; }
    .sch-frame      { border-width: 10px; border-radius: 12px; }
}
