
:root{
    --color-primary: #5F4E40;
    --color-primary-rgb: rgb(95, 78, 64);
    --color-secondary: #7da8b1;
    --color-secondary-rgb: rgb(125, 168, 177);
    --color-footer: #4F3E32;
    --color-dark: #000000;
    --color-inputs: #B2A79F;
    --color-inputs-rgb: rgb(178, 167, 159);

   --success: #06A52B;
   --danger: #dc3545;
   --primary: #007bff;
   --info: #17a2b8;
   --info-opacity: #EDFEFF;
   --warning: #ffc107;
}

*,
html,
body{
   padding: 0;
   margin: 0;
   box-sizing: border-box;
   scrollbar-width: none;
    &::-webkit-scrollbar { height: 0 !important; display:none !important; }
    &::-webkit-scrollbar-track { background: transparent !important; }
    &::-webkit-scrollbar-thumb { background: transparent !important; }
    &::-webkit-scrollbar-corner { background: transparent !important; }
    &::-webkit-resizer { background: transparent !important; }

    scrollbar-gutter: stable both-edges;
}

body{
    font-family: "Montserrat", sans-serif;
}

a{
    text-decoration: none;
    color: var(--color-dark);
}

img{
    vertical-align: middle;
    border-style: none;
    max-width: 100%;
}

ul,ol{
    list-style: none;
}



button{
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    outline: 0;
}

.is-overflow-hidden {
    overflow: hidden !important;
}

.container,
.container--md,
.container--sm,
.container--xs,
.container--xxs,
.container--min {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 20px;
}

.container      { max-width: 1440px; }
.container--md  { max-width: 1200px; }
.container--sm  { max-width: 1000px; }
.container--xs  { max-width: 900px; }
.container--xxs { max-width: 800px; }
.container--min { max-width: 600px; }

@media screen and (min-width: 768px) {
    .container,
    .container--md,
    .container--sm,
    .container--xs,
    .container--xxs,
    .container--min {
        padding: 0 40px;
    }
}

.uppercase{
    text-transform: uppercase;
}

hr{
    border: none;
    border-top: 1px solid #e8eced;
    margin: 30px 0;
}

#loader{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #fff;
    background-color: #fff;
    z-index: 100000000;
    overflow: hidden;
    text-align: center;
    background-color: #fff;
}

#loader .loader{
    left:50%;
    position:absolute;
    top:50%;
    -webkit-transform:translate(-50%,-50%);
    -moz-transform:translate(-50%,-50%);
    -ms-transform:translate(-50%,-50%);
    transform:translate(-50%,-50%);
    width: 300px;
}

#loader .loader img{
    width: 200px;
    max-width: 200px;
    height: auto;
    object-fit: cover;
    vertical-align: middle;
    position: relative;
    
}

.pdt{
    padding-top: 70px;
}

.pdb{
    padding-bottom: 70px;
}

@media screen and (max-width: 768px){
    .pdt{
        padding-top: 50px;
    }
    
    .pdb{
        padding-bottom: 50px;
    }
}


/* HEADER */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    background: #ffffff;
    z-index: 999;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 5px 0;
}

.header__wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.header__menu a {
    text-decoration: none;
    color: #000;
}

.header__menu-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__menu-icon .icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.header__menu-icon .icon span {
    width: 22px;
    height: 2px;
    background: var(--color-dark);
    display: block;
}

.header__menu span {
    font-size: 14px;
    color: var(--color-dark);
    font-weight: 600;
}

.header__right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header__contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__contacts a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--color-dark);
    font-size: 14px;
    font-weight: 500;
}

.header__contacts svg {
    width: 16px;
    height: 16px;
    fill: var(--color-dark);
}

.header__logo img {
    height: 40px;
    width: auto;
}

.header__contacts a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .header__contacts {
        display: none;
    }

    .header__wrap {
        height: 60px;
    }

    .header__logo img {
        height: 30px;
    }
}

/* BANNER FORM */
.form-banner{
    position: relative;
    min-height: 260px;
    background-color: #E3DFDC;
    overflow: hidden;

    display: flex;
    align-items: center;
}

.form-banner__wrap{
    width: 100%;
    text-align: center;
}

.form-banner__title{
    font-size: 36px;
    color: var(--color-primary);
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.form-banner__text{
    font-size: 18px;
    color: var(--color-primary);
}

/* ICON OVERLAY BANNER */
.icon-overlay{
    position: absolute;
    width: 260px;
    opacity: 0.5; 
    pointer-events: none;
}

.icon-overlay--left-bottom{
    left: -80px;
    bottom: -80px;
}

.icon-overlay--right-top{
    right: -80px;
    top: -80px;
}

form,form input,form textarea{
    font-family: "Montserrat", sans-serif;
}

/* FORM */
.form__group{
    width: 100%;
    margin-bottom: 20px;
    position: relative;
}

.form__label{
    font-size: 14px;
    color: var(--color-primary);
    margin-bottom: 8px;
    display: block;
    font-weight: 500;
}

.form__label span{
    color: var(--danger);
}

.form__control{
    width: 100%;
    height: 50px;
    line-height: 28px;
    padding: 0 1.3rem;
    border: 1px solid #fff;
    border-radius: 5px;
    outline: none;
    background-color: #fff;
    color: var(--color-primary);
    transition: .3s ease;
    box-sizing: border-box;
    font-size: 15px;
    font-weight: 500;
    appearance: none;
}

.form__control.readonly{
    background-color: #ddd;
    user-select: none;
    cursor: not-allowed;
    pointer-events: none; 
    color: #6d6d6d;
}

.form__control--border{
    border: 1px solid #B2A79F;
}

.form__control::placeholder{
    color: #aaa;
    font-weight: 300;
    font-size: 15px;
}

.form__control:hover,
.form__control:focus{
    outline: none;
    border-color: rgba(95, 78, 64, 0.7);
    box-shadow: 0 0 0 4px rgba(95, 78, 64, 0.1);
}

.form__control[type='number'] {
    appearance: textfield;
}

.form__control[type='number']::-webkit-inner-spin-button,
.form__control[type='number']::-webkit-outer-spin-button {
    -webkit-appearance: none; 
    margin: 0; 
}

.form__control.error{
    border: 1px solid var(--danger);
}

.form__control.error:hover,
.form__control.error:focus{
    outline: none;
    border-color: rgba(220, 53, 69, 0.7);
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

.form__select_down{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    right: 10px;
}

.form__select_down svg{
    width: 18px !important;
    height: 18px !important;
    path, circle, rect{
        fill: #b9b9b9 !important;
    }
    
}
.form__select_down i{
    font-size: 18px;
    color: #b9b9b9;
}

.form__textarea{
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    min-height: 150px;
    max-height: 200px;
    padding: 20px !important;
}

.form__row{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 25px;
    
    
}

.form__row .form__group{
    margin-bottom: 0;
    width: calc(50% - 1rem);
}

.form__control_icon{
    position: absolute;
    top: 17px;
    right: 0;
    font-size: 18px;
    padding: 0 10px;
    color: #b9b9b9;
    cursor: pointer;
    &:hover{
        color: #787878;
    }
}

.form__readonly{
    background-color: #11344c1c;
    opacity: .7;
}
.form__subtitle{
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--color-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form__text{
    font-size: 15px;
    color: var(--color-dark);
    font-weight: 14px;
    line-height: 24px;
    margin-bottom: 20px;
}

.form__block{
    background-color: #F5F5F5;
    padding: 20px;
    border-radius: 10px;
}

.form__block p{
    font-size: 14px;
    color: var(--color-primary);
}

.form__block p+p{
    margin-top: 20px;
}

.form__text--center{
    text-align: center;
}

/* RADIO BUTTON */
.radio-buttons-container{
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 10px;
}

.radio-button{
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.radio-button__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-button__label {
    display: inline-block;
    padding-left: 30px;
    margin-bottom: 10px;
    position: relative;
    font-size: 16px;
    color: var(--color-dark);
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    strong{
        font-weight: bold;
    }
}

.relative{
    position: relative !important;
}

.radio-button__custom {
    position: absolute;
    top: 10px;
    left: 0;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--color-inputs);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}
  
.radio-button__input:checked + .radio-button__label .radio-button__custom {
    transform: translateY(-50%) scale(0.9);
    border: 5px solid var(--color-inputs);
    color: var(--color-inputs);
}
  
.radio-button__input:checked + .radio-button__label {
    color: var(--color-dark);
}
  
.radio-button__label:hover .radio-button__custom {
    transform: translateY(-50%) scale(1.2);
    border-color: var(--color-inputs);
    box-shadow: 0 0 10px rgba(178, 167, 159, 0.8);
}

@media (max-width: 768px) {
    .radio-buttons-container{
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* files */
.file-upload {
    width: 100%;
    margin-bottom: 30px;
}

/* OCULTAR INPUT */
.file-upload__input {
    display: none;
}

/* LABEL BONITO */
.file-upload__label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border: 1px dashed #B8AA9E;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #F7F5F3;
    border-radius: 5px;
}

/* HOVER */
.file-upload__label:hover {
    background: #EFECE9;
}

/* ICONO */
.file-upload__icon {
    font-size: 18px;
}

/* TEXTO */
.file-upload__text {
    color: #6D5C4F;
    font-size: 14px;
}

/* NOMBRE ARCHIVO */
.file-upload__name {
    margin-left: auto;
    font-size: 12px;
    color: var(--color-secondary);
    font-weight: 500;
}

/* SELECT PERSONALIZADO */

.custom-select {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-inputs);
    height: 50px;
}

/* ICONO IZQUIERDA */
.custom-select__icon {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.custom-select__icon svg {
    width: 24px;
    height: 24px;
}

.custom-select__icon svg path{
    fill: var(--color-inputs);
}

/* SELECT */
.custom-select select {
    flex: 1;
    border: none;
    background: transparent;
    appearance: none;
    font-size: 15px;
    color: #6D5C4F;
    outline: none;
    font-weight: 400;
    cursor: pointer;
    height: 100%;
}


/* ARROW */
.custom-select__arrow {
    margin-left: 15px;
    display: flex;
    align-items: center;
}

.custom-select__arrow svg {
    width: 18px;
    height: 18px;
    fill: #6D5C4F;
}

/* HOVER / FOCUS */
.custom-select:focus-within {
    border-bottom: 1px solid #6D5C4F;
}

/* OPCIONAL: placeholder look */
.custom-select select:invalid {
    color: #B8AA9E;
}


/* CHECKBOX */
.checkbox-label{
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-label p{
    width: calc(100% - 24px - 10px);
    font-size: 14px;
    color: var(--color-footer);
    cursor: pointer;
    user-select: none;
}

.checkbox-label p a{
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 500;
}

.checkbox-label .checkbox{
    appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-inputs);
    border-radius: 0;
    background-color: transparent;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.checkbox-label .checkbox:before {
    content: "";
    background-color: var(--color-inputs);
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 14px;
    height: 14px;
    border-radius: 0;
    transition: all 0.3s ease-in-out;
}

.checkbox-label .checkbox:checked{
    border-color: var(--color-inputs);
}

.checkbox-label .checkbox:checked:before {
    transform: translate(-50%, -50%) scale(1);
}

.checkbox-label .checkbox.error{
    border-color: var(--danger);
}


.input-doc {
    display: flex;
    width: 100%;
    gap: 5px;
}

.input-doc__select {
    position: relative;
    min-width: 110px;
    border-bottom: 1px solid var(--color-inputs);
}

.input-doc__select select {
    width: 100%;
    padding: 12px 35px 12px 12px;
    border: none;
    background: transparent;
    appearance: none;
    font-size: 14px;
    color: #6D5C4F;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    height: 100%;
}

/* SVG ARROW */
.input-doc__arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.input-doc__arrow svg {
    fill: #6D5C4F;
    width: 12px;
    height: 12px;
}

span.error-message {
    display: block;
    color: var(--danger);
    font-size: 12px;
    margin-top: 4px;
}

/* FROMULARIO */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.form-left img {
    width: 100%;
}


.form-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-column{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 300px;
    min-width: 300px;
    margin: 0 auto;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.form-actions--top{
    margin-top: 0;
    margin-bottom: 30px;
}

.form-step--min{
    max-width: 800px;
    margin: 0 auto;
}

.form-step__header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-step__header-left{
    display: flex;
    align-items: center;
    gap: 15px;
    
}

.form-step__header-left img{
    width: 80px;
    height: auto;
}

.form-step__header-left ul{
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 400px;
}

.form-step__header-left ul li{
    font-size: 14px;
}

.form-step__header-left ul li strong{
    font-weight: 500;
}

.form-hoja{
    background-color: #EEEEEE;
    padding: 12px 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.form-hoja__etiqueta{
    font-size: 13px;
    color: var(--color-primary);
}

.form-hoja__number{
    font-size: 16px;
    font-weight: 500;
}

/* BOTONES */
.btn{
    color: #fff;
    font-size: 14px;
    padding: 16px 25px;
    border: none;
    outline: 3px solid transparent;
    transition: background-color 0.3s ease, outline 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: bold;
    border-radius: 5px;
}

.btn.disabled, .btn--disabled, .btn.is-disabled{
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
}

.btn--primary{
    background-color: var(--color-primary);
}

.btn--primary:hover{
    outline: 3px solid rgba(95, 78, 64, 0.46);
}


.btn--secondary{
    background-color: var(--color-secondary);
}

.btn--secondary:hover{
    outline: 3px solid rgba(125, 168, 177, 0.46);
}

.btn--default{
    background-color: #ECECEC;
    color: var(--color-primary);
}

.btn--default:hover{
    outline: 3px solid #DEDDDD;
}

#js-input-menor-edad{
    display: none;
}

.swal-custom{
    text-align: center;
}

.swal-logo {
    max-width: 200px;
    margin-bottom: 30px;
}

.swal-title {
    font-size: 22px;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: 500;
}

.swal-text {
    font-size: 14px;
    color: var(--color-dark);
    margin-bottom: 30px;
}

.grecaptcha-badge {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* footer */
.footer-aranwa {
    background: var(--color-footer);
    color: #fff;
    padding: 40px 0;
}

.footer-line {
    height: 1px;
    background: rgba(255,255,255,0.25);
    margin-bottom: 25px;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.footer-left {
    max-width: 65%;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.footer-text {
    font-size: 14px;
    color: #e0e0e0;
    margin: 6px 0;
    line-height: 1.5;
}

.footer-text strong {
    color: #fff;
    font-weight: 600;
}

.footer-aranwa .sep {
    margin: 0 10px;
    opacity: 0.5;
}

.footer-aranwa .icon {
    margin-right: 5px;
    color: #7da8b1; 
}

.footer-aranwa .icon{
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-aranwa svg{
    width: 18px;
    height: 18px;
}
.footer-aranwa svg path{
    fill: var(--color-secondary);
}

.footer-right img {
    max-width: 250px;
    width: 100%;
    opacity: 0.9;
}

/* HOVER LINKS (si luego haces mailto) */
.footer-text-flex{
    display: flex;
    align-items: center;
}
.footer-text a {
    color: #e0e0e0;
    text-decoration: none;
}

.footer-text a:hover {
    color: #7da8b1;
}

.svg-footer{
    margin: 0 10px;
}

.footer-list{
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 10px 0;
}

.footer-list li{
    display: flex;
    gap: 5px;
    align-items: center;
    font-size: 14px;
    color: #e0e0e0;
}

.footer-list li a{
    color: #e0e0e0;
}

.header__menu{
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__langs{
    display:flex;
    align-items:center;
    gap:12px;
}

.header__lang{
    font-size:12px;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
    opacity:.5;
    transition:all .3s ease;
}

.header__lang.active{
    opacity:1;
    color: var(--color-secondary);
}

.header__lang:hover{
    opacity:1;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .icon-overlay{
        opacity: 0;
    }

    .form-banner__title{
        font-size: 26px;
    }

    .form-banner__text{
        font-size: 16px;
    }

    .form-grid{
        grid-template-columns: 1fr;
    }

    .footer-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .footer-left {
        max-width: 100%;
    }

    .footer-right {
        margin-top: 20px;
    }

    .footer-text-flex{
        flex-direction: column;
    }

    .form-step__header{
        flex-direction: column;
        gap: 20px;
    }

    .form-step__header-left img{
        width: 60px;
    }

    .form__row{
        flex-direction: column;
    }

    .form__row .form__group{
        width: 100%;
    }

    .footer-list{
        flex-direction: column;
        margin: 20px;
        gap: 10px;
    }

    .footer-aranwa .sep{
        display: none;
    }

    .footer-list li{
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .footer-list li p{
        width: 100%;
        display: block;
        
    }

    .form-step__header-left,
    .form-step__header-right
    {
        width: 100%;
    }
}