@media screen and (max-width: 980px) {
    #banner {
        padding: 5em 3em 4em 3em;
        margin-bottom: -2.75em;
    }
}

@media screen and (max-width: 736px) {
    #banner {
        height: auto;
        padding: 4em 2em 3em 2em;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 400px) {
    #banner {
        height: auto;
        padding: 3.5em 1.5em 2.5em 1.5em;
    }
}
#footer-nav {
                margin-top: auto;
            }

/* =========================================================================
   Calculadora Solar — estilos con prefijo .gs-calc para no chocar con
   el resto del sitio. Los colores usan var(--...) con un valor de
   respaldo; si variables.css ya define nombres de color de marca,
   sustituye los respaldos por esos nombres.
   ========================================================================= */

.gs-calc {
    max-width: 760px;
    margin: 0 auto;
    color: #000;
    font-size: 18px;
}

.gs-calc h3,
.gs-calc label,
.gs-calc input,
.gs-calc select,
.gs-calc option,
.gs-calc p,
.gs-calc span {
    color: #000;
}

.gs-calc-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5em;
    align-items: start;
}

.gs-calc-field {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.gs-calc-field label {
    font-weight: 600;
    font-size: 0.95em;
    min-height: 2.6em;
    line-height: 1.3;
}

.gs-calc-field input {
    height: 2.75em;
    padding: 0 1em;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    font-size: 1em;
    font-family: Title;
    background: #fff;
    box-sizing: border-box;
}

.gs-calc-field input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.gs-calc-field input[type="number"]::-webkit-outer-spin-button,
.gs-calc-field input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.gs-calc-field-province {
    grid-column: 1 / -1;
}

.gs-calc-province-group {
    display: flex;
    gap: 1.1em;
    height: 2.75em;
}

.gs-calc-province-btn {
    flex: 1;
    height: 100%;
    padding: 0 1.75em;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    font-size: 1em;
    font-family: Title;
    background: #fff;
    color: #000 !important;
    cursor: pointer;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: normal;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.gs-calc-province-btn:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.gs-calc-province-btn.is-active {
    border-color: var(--color-primary-green);
    color: var(--color-primary-green) !important;
    font-weight: 600;
}

.gs-calc-form .button {
    grid-column: 1 / -1;
    justify-self: start;
    align-self: end;
    border: none;
    cursor: pointer;
    background-color: var(--color-primary-green);
    color: #ffffff !important;
}

.gs-calc-results {
    margin-top: 3em;
    padding-top: 2em;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.gs-calc-results h3 {
    margin-bottom: 1em;
}

.gs-calc-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25em;
}

.gs-calc-result {
    display: flex;
    flex-direction: column;
    gap: 0.25em;
    padding: 1em 1.25em;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.03);
}

.gs-calc-result-label {
    font-size: 0.85em;
    opacity: 0.75;
}

.gs-calc-result-value {
    font-size: 1.4em;
    font-weight: 700;
}

.gs-calc-result-highlight {
    border: 2px solid var(--color-primary-green);
}

.gs-calc-disclaimer {
    margin-top: 1.5em;
    font-size: 0.85em;
    opacity: 0.7;
}

.gs-calc-cta {
    display: inline-block;
    margin-top: 1em;
    color: #000 !important;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.2);
}

.gs-calc-cta:hover {
    background-color: rgba(0, 0, 0, 0.025);
}

.gs-calc-cta:active {
    background-color: rgba(0, 0, 0, 0.075);
}

@media screen and (max-width: 860px) {
    .gs-calc-form {
        grid-template-columns: 1fr;
    }

    .gs-calc-form .button {
        grid-column: 1 / -1;
        justify-self: start;
        align-self: auto;
    }

    .gs-calc-results-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 530px) {
    .gs-calc-province-group {
        flex-direction: column;
        height: auto;
        gap: 0.6em;
    }

    .gs-calc-province-btn {
        height: auto;
        padding: 0.9em 0.5em;
    }

    .gs-calc-form .button {
        padding: 0 1.5em !important;
    }
}