/* INICIALIZAR VARIABLES */
@import url(variables.css);

/* NAVBAR */
.navbar-container {
    position: fixed;
    top: 48px;
    left: 0;
    right: 0;
    padding: 0 40px;
    z-index: 1000;
    box-sizing: border-box;
}

.ve-navbar {
    width: 100%;
    height: 68px;
    border-radius: var(--br-circle);
    border: solid 2px #FFF3D526;
    padding: 12px 16px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    transition: border .3s ease-in-out;
    box-sizing: border-box;
    overflow: hidden;
}

.ve-navbar:hover {
    border: solid 2px #FFF3D580;
}

.ve-navbar::before,
.ve-navbar::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: cover;
    transition: opacity .3s ease-in-out;
    z-index: 0;
}

.ve-navbar::before {
    background-image: linear-gradient(#332D1E99, #332D1E99);
    opacity: 1;
}

.ve-navbar::after {
    background-image: linear-gradient(to top, #ffe3952f, #332d1e99);
    opacity: 0;
}

.ve-navbar:hover::before {
    opacity: 0;
}

.ve-navbar:hover::after {
    opacity: 1;
}

.ve-navbar__content {
    position: relative;
    z-index: 1;
}

.ve-navbar__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.ve-navbar__logo {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
    text-decoration: none;
}

.ve-navbar__logo p {
    font-family: var(--ff-primary);
    font-weight: var(--fw-bold);
    font-size: var(--fs-8);
    line-height: 120%;
    color: var(--primary-200);
}

.ve-isotipo {
    width: 32px;
    height: 43px;
    position: relative;
}

.ve-navbar__links {
    display: flex;
    gap: 36px;
    list-style: none;
    align-items: center;
}

.ve-navbar__links .btn-primary {
    padding: 8px 40px;
    font-size: var(--fs-4);
}

/* VE ISOTIPO */
.ve-isotipo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity .3s ease-in-out;
}

.ve-isotipo img:first-child {
    opacity: 1;
    z-index: 1;
}

.ve-isotipo img:last-child {
    opacity: 0;
    z-index: 2;
}

.ve-navbar__logo:hover .ve-isotipo img:first-child {
    opacity: 0;
}

.ve-navbar__logo:hover .ve-isotipo img:last-child {
    opacity: 1;
}

/* NAV LINK */
.nav-link {
    text-decoration: none;
    font-family: var(--ff-secondary);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-4);
    line-height: 150%;
    color: var(--primary-200);
    transition: color .3s ease-in-out;
}

.nav-link:hover {
    color: var(--primary-500);
}

/* BTN PRIMARY */
.btn-primary {
    border-radius: var(--br-circle);
    border: solid 2px var(--primary-500);
    padding: 8px 40px;
    font-family: var(--ff-secondary);
    font-weight: var(--fw-bold);
    font-size: var(--fs-7);
    line-height: 150%;
    text-align: center;
    color: var(--primary-500);
    text-decoration: none;
    transition: color .3s ease-in-out, background-color .3s ease-in-out, box-shadow .3s ease-in-out;
}

.btn-primary:hover {
    background-color: var(--primary-500);
    box-shadow: 0px 0px 15px 10px #FFE29559;
    color: var(--primary-950);
}

/* BTN SECONDARY */
.btn-secondary {
    border-radius: var(--br-circle);
    background-color: transparent;
    border: solid 1px #FFF3D526;
    padding: 8px 40px;
    font-family: var(--ff-secondary);
    font-weight: var(--fw-bold);
    font-size: var(--fs-7);
    line-height: 150%;
    text-align: center;
    color: var(--primary-500);
    text-decoration: none;
    transition: color .3s ease-in-out, border .3s ease-in-out;
    position: relative;
    z-index: 0;
    overflow: hidden;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    cursor: pointer;
    text-wrap: nowrap;
}

.btn-secondary:hover {
    border: solid 1px #FFF3D580;
    color: var(--primary-200);
}

.btn-secondary::before,
.btn-secondary::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: cover;
    transition: opacity .3s ease-in-out;
    z-index: -1;
}

.btn-secondary::before {
    background-image: linear-gradient(#332D1E99, #332D1E99);
    opacity: 1;
}

.btn-secondary::after {
    background-image: linear-gradient(to top, #FFE29580, #332d1e99);
    opacity: 0;
}

.btn-secondary:hover::before {
    opacity: 0;
}

.btn-secondary:hover::after {
    opacity: 1;
}

/* BTN ARROW (L/R) */
.btn-arrow {
    width: 56px;
    height: 56px;
    border-radius: var(--br-circle);
    display: inline-block;
    position: relative;
    overflow: hidden;
    padding: 0;
    background: transparent;
}

.btn-arrow img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity .35s ease-in-out, transform .35s ease-in-out;
    will-change: opacity, transform;
    opacity: 25%;
}

.btn-arrow img:hover {
    opacity: 1;
}

.btn-arrow-next img {
    transform: rotateY(180deg);
}

/* VE CHECKBOX */
input[type="checkbox"].ve-checkbox {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background-color: var(--primary-100);
    border: 1px solid var(--primary-950);
    border-radius: var(--br-1);
    display: inline-block;
    vertical-align: middle;
    position: relative;
    transition: background-color .18s ease-in-out, box-shadow .18s ease-in-out, border-color .18s ease-in-out;
}

input[type="checkbox"].ve-checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 2px #ffe39570;
}

input[type="checkbox"].ve-checkbox:checked {
    background-color: var(--primary-950);
    border-color: var(--primary-950);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFF9EA' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 L9 17 L4 12'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60% 60%;
}

input[type="checkbox"].ve-checkbox:hover {
    filter: brightness(0.98);
}

input[type="checkbox"].ve-checkbox:disabled {
    background-color: var(--primary-200);
    border-color: var(--primary-300);
    cursor: not-allowed;
    opacity: 0.5;
}

input[type="checkbox"].ve-checkbox:disabled:hover {
    filter: none;
}

/* LEGAL LINK */
.legal-link {
    text-decoration: none;
    font-family: var(--ff-secondary);
    font-weight: var(--fw-regular);
    font-size: var(--fs-4);
    line-height: 150%;
    color: var(--primary-500);
    transition: all .3s ease-in-out;
}

.legal-link:hover {
    color: var(--primary-200);
}

/* BTN ELIMINAR */
.btn-eliminar {
    border-radius: var(--br-circle);
    padding: 12px 40px;
    background-color: #231F1599;
    text-decoration: none;
    font-family: var(--ff-secondary);
    font-weight: var(--fw-bold);
    font-size: var(--fs-6);
    line-height: 150%;
    color: var(--primary-500);
    transition: all .3s ease-in-out;
}

.btn-eliminar:hover {
    background-color: #18140D99;
    color: var(--secondary-500);
}

/* VE TEXTAREA */
.ve-textarea {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ve-textarea label {
    font-family: var(--ff-primary);
    font-weight: var(--fw-bold);
    font-size: var(--fs-7);
    color: var(--primary-500);
    transition: color .3s ease-in-out;
}

.ve-textarea textarea {
    resize: vertical;
    min-height: 88px;
    padding: 20px;
    border-radius: var(--br-5);
    border: 1px solid var(--primary-100);
    background-color: #1A160F99;
    color: var(--primary-100);
    font-family: var(--ff-secondary);
    font-size: var(--fs-5);
    outline: none;
    transition: border-color .18s ease-in-out, box-shadow .18s ease-in-out;
    box-sizing: border-box;
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE y Edge */
}

/* Ocultar scrollbar en Chrome, Safari y Opera */
.ve-textarea textarea::-webkit-scrollbar {
    display: none;
}

.ve-textarea textarea::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-300);
}

.ve-textarea textarea::-webkit-resizer {
    background-image: url(/assets/icons/ui/Drag.svg);
    background-repeat: no-repeat;
    background-size: 10px 10px;
}

.ve-textarea textarea::placeholder {
    color: #FFF9EA66;
}

.ve-textarea textarea::-webkit-input-placeholder {
    color: #FFF9EA66;
}

.ve-textarea textarea::-moz-placeholder {
    color: #FFF9EA66;
    opacity: 1;
}

.ve-textarea textarea:-ms-input-placeholder {
    color: #FFF9EA66;
}

.ve-textarea textarea:-moz-placeholder {
    color: #FFF9EA66;
}

.ve-textarea:focus-within label {
    color: var(--primary-500);
}

.ve-textarea textarea:focus {
    outline: solid 1px var(--primary-500);
}

/* BTN ADD */
.btn-add {
    text-decoration: none;
    border-radius: var(--br-4);
    outline: solid 1px #FFF3D526;
    padding: 16px 40px;
    background-color: #1A160F99;
    font-family: var(--ff-secondary);
    font-weight: var(--fw-bold);
    font-size: var(--fs-6);
    line-height: 150%;
    color: var(--primary-500);
    transition: all .3s ease-in-out;
    text-align: center;
}

.btn-add:hover {
    background-color: #332D1E99;
    color: var(--primary-300);
}

/* VE INPUT */
.ve-input {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.ve-input label {
    font-family: var(--ff-primary);
    font-weight: var(--fw-bold);
    font-size: var(--fs-5);
    color: var(--primary-500);
    transition: color .3s ease-in-out;
}

.ve-input input {
    padding: 12px 20px;
    border-radius: var(--br-3);
    border: 1px solid var(--primary-100);
    background-color: #1A160F99;
    color: var(--primary-100);
    font-family: var(--ff-secondary);
    font-size: var(--fs-5);
    outline: none;
    transition: border-color .18s ease-in-out, box-shadow .18s ease-in-out;
    box-sizing: border-box;
}

.ve-input input::placeholder {
    color: #FFF9EA66;
}

.ve-input input::-webkit-input-placeholder {
    color: #FFF9EA66;
}

.ve-input input::-moz-placeholder {
    color: #FFF9EA66;
    opacity: 1;
}

.ve-input input:-ms-input-placeholder {
    color: #FFF9EA66;
}

.ve-input input:-moz-placeholder {
    color: #FFF9EA66;
}

.ve-input:focus-within label {
    color: var(--primary-500);
}

.ve-input input:focus {
    outline: solid 1px var(--primary-500);
}

/* BTN SEND */
.btn-send {
    border-radius: var(--br-4);
    padding: 16px 40px;
    background-color: var(--primary-950);
    text-decoration: none;
    font-family: var(--ff-secondary);
    font-weight: var(--fw-bold);
    font-size: var(--fs-6);
    line-height: 150%;
    color: var(--primary-300);
    border: none;
    transition: all .3s ease-in-out;
    width: 100%;
}

.btn-send:hover {
    background-color: var(--secondary-800);
    outline: solid 1px var(--primary-300);
    cursor: pointer;
}

/* HYPERLINK */
.ve-hyperlink {
    text-decoration: none;
    color: var(--primary-500);
}

.ve-hyperlink:hover {
    text-decoration: underline;
}

/* SELECT */
select {
    padding: 2px 8px;
    transition: all .3s ease-in-out;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--ff-secondary);
    background-color: #FFF9EA;
    cursor: pointer;
    border-radius: 8px;
    align-items: center;
}

select::picker-icon {
    transition: all .3s ease-in-out;
    color: black;
}

select:open::picker-icon {
    transform: rotate(180deg);
}

select option {
    font-family: var(--ff-secondary);
    font-weight: 600;
    font-size: 16px;
    padding: 2px 8px;
    padding-left: 10px;
}

select option:hover {
    background-color: #FFE295;
}

select option::checkmark {
    order: 1;
    display: none;
}

select option:checked {
    background-color: #FFF3D5;
}

::picker(select) {
    border-radius: 8px;
}

select,
::picker(select) {
    appearance: base-select;
    background-color: #FFF9EA;
    border: none;
    color: #000;
    max-width: 160px;
    width: 100%;
}

#seccion-email:has(option[disabled]:checked) {
    color: rgb(135, 135, 135);
}

#seccion-email option {
    color: #000;
}