/* Light Theme */
:root {
    --bg: #f6f7fb;
    --card: #ffffff;
    --accent: #0b66ff;
    --button: #284668;
    --text: #111;
    --muted: #666;
    --border: #eee;
    --success: #1b9a59;
    --danger: #e03b3b;
    --amazon: #e2e9f3;
    --hover: rgba(0, 0, 0, 0.2);
    --radius: 0.5rem;
    --max-width: 1200px;
    --header-height: 70px;
    --h2-font-size: 1.2rem;
    --h2-font-weight: 500;
    --font-item-name: .95rem;
}

button,
input,
textarea {
    font-family: inherit;
}

/*-------------------------------------------------------------------------------------------------------------------*/
/* Form */
.form-area {
    flex: 1;
}

/* form sections */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

label {
    font-size: .85rem;
    color: var(--muted);
    display: block;
    margin: 0.85rem 0 0.35rem;
}

input[type="text"],
input[type="number"],
select {
    width: 100%;
    padding: .5rem .6rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-size: .95rem;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;/*inner-spin-button;*/
    margin: 0;
}


.small {
    font-size: .9rem;
    color: var(--muted);
}

/* cards for items */
.item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .45rem 0;
    border-bottom: 1px solid var(--border);
}

.item-row:last-child {
    border-bottom: none;
}

.item-left {
    display: flex;
    gap: .75rem;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    width: 60%;
    position: relative;
}

.item-name {
    font-size: var(--font-item-name);
    line-height: 120%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-left: 1rem;
}

.item-controls {
    display: flex;
    background: var(--bg);
    border-radius: var(--radius);
    border-color: var(--muted);
    align-items: center;
}

input,
select,
textarea {
  background-color: var(--bg);
  color: var(--text);
}

.cta-catalogo {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 4rem;
    align-items: center;
    justify-content: center;
}

.cta-catalogo a {
    color: #fff;
    padding: var(--size-small) var(--size-medium);
    border-radius: var(--size-border);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.cta-catalogo a.btn-submit {
    background: rgb(0, 66, 128);
}

.cta-catalogo a.btn-whatsapp {
    background: rgb(0, 66, 128);
}


/* Modal */
.modal-bg {
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.7);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.modal {
    background: #fff;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    text-align:center;
}

.modal input {
    margin:10px 0;
}

main {
    max-width: none;
    padding: 0;
    justify-items: center;
}

.pdf-container {
    width: 90%;
    max-width: var(--size-max-width-content);
    height: 85vh;
    overflow: hidden;
    padding: var(--size-small) 0;
}

.cta-section {
    width: 100%;
    background: var(--color-alphasirius-dark);
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    margin-top: var(--size-small);
}

.catalogo-texto h2 {
    margin-top: 50px;
}

/*-------------------------------------------------------------------------------------------------------------------*/
/* FAQ */
.faq {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    width: 100%;
    max-width: var(--size-max-width-content);;
    margin: 4rem auto;
    padding: 1rem;
    background-color: transparent;
}

.faq h2 {
    margin: 2rem auto;
    line-height: 1.2;
    font-size: 2rem;
    font-weight: var(--h2-font-weight);
}

.faq-item {
    border-bottom: 1px solid var(--border);
    color: var(--text);
    width: 100%;
    margin: 0 auto;
    max-width: var(--max-width);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item input {
    display: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0.5rem;
    border-radius: var(--radius);
    cursor: pointer;
    background-color: transparent;
    transition: background 0.3s;
}

.faq-question:hover {
    background-color: var(--hover);
}

.faq-question span {
    line-height: 1.2;
    font-size: var(--h2-font-size);
    font-weight: 500;
}

.faq-question::after {
    content: '+';
    font-size: 2rem;
    transition: transform 0.3s;
}

.faq-item input:checked+.faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item input:checked~.faq-answer {
    max-height: 600px;
}

.faq-answer p {
    padding: 0 0.5rem 2rem;
    line-height: 1.5;
    font-size: 1.1rem;
    color: var(--text);
}


/*-------------------------------------------------------------------------------------------------------------------*/
/* Mobile Adjusts */
@media (max-width: 1024px) {

    :root {
        --font-item-name: .85rem;
    }

    .page-header {
        background: rgba(11, 18, 28, 0.9);
    }

    .cta {
        flex-direction: column;
    }

    nav .nav-desktop {
        display: none;
    }

    .menu-icon {
        display: flex;
    }

    .menu-icon::before {
        content: "☰";
    }

    #menu-toggle:checked ~ .menu-icon::before {
        content: "✖";
    }
    
    #menu-toggle:checked ~ nav .nav-mobile {
        display: flex;
    }

    .nav-mobile {
        display: none;
        flex-direction: column;
        background: var(--color-alphasirius-dark);
        opacity: 0.98;
        position: fixed;
        right: 0;
        top: calc((2*var(--size-small) + var(--size-logo-height)));
        min-width: calc(100% - var(--size-small));
        min-height: calc(100vh - (2*var(--size-small) + var(--size-logo-height)));
        padding: var(--size-small);
        gap: var(--size-small);
    }
    
    .nav-mobile a {
        display: block;
        padding: var(--size-border);
        border-radius: var(--size-border);
        text-decoration: none;
        text-align: right;
        font-weight: var(--button-font-weight);
        font-size: var(--button-font-size);
        letter-spacing: var(--button-letter-spacing);
        line-height: var(--button-line-height);
        color: var(--color-alphasirius-gold);
    }

    .nav-mobile a:hover {
        background: rgba(255, 255, 255, 0.2);
    }

}