/* ------------------------------------------- */
/* 0. Importación de Fuentes y Reset */
/* ------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&display=swap');

@font-face {
    font-family: 'Kollektif';
    src: url('kollektif/Kollektif.woff') format('woff');   
         
    font-weight: normal; 
    font-style: normal;
    font-display: swap; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --padding-desktop: 40px;
    --padding-tablet: 20px;
    --padding-mobile: 20px;
    --current-padding-sides: var(--padding-desktop);
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400; 
    background-color: #F5F5F5;
    color: #575554;
    overflow-x: hidden; 
}

/* SCROLLBAR PERSONALIZADO - WebKit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    background-color: #c4c2be;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #a8a6a2;
}

/* ------------------------------------------- */
/* 2. Header y Navegación */
/* ------------------------------------------- */
header {
    width: 100%;
    padding: 20px var(--current-padding-sides); 
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: 'Kollektif', sans-serif;
    font-size: 30px;
    color: #575554;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #575554;
    font-size: 20px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.nav-links a.current {
    text-decoration: underline;
    color: #575554;
    text-underline-offset: 4px; 
    text-decoration-thickness: 1px; 
    text-decoration-color: #575554; 
}

/* MENU ICON (Hamburguesa) */
.menu-icon {
    width: 30px;
    height: 15px;
    cursor: pointer;
    display: none; 
    flex-direction: column;
    justify-content: space-between;
    z-index: 101;
}

.menu-icon span {
    height: 2px;
    background: #575554;
    width: 100%;
    transition: all 0.4s ease;
}

.menu-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-icon.active span:nth-child(2) {
    opacity: 0;
}

.menu-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ------------------------------------------- */
/* 10. Estilos del Menú Desplegable (Dropdown) */
/* ------------------------------------------- */

/* Contenedor principal del dropdown */
.dropdown {
position: relative;
display: inline-block;
padding-bottom: 15px; 
}

/* Contenido del menú desplegable */
.dropdown-content {
display: none;
position: absolute;
top: 100%; 
left: 50%; 
background-color: #F5F5F5;
min-width: 260px;
box-shadow: 0px 8px 16px 0px #5755541a;
z-index: 10;
padding: 5px 0;
border-radius: 0px;
opacity: 0;
visibility: hidden;
transform: translate(-50%, 10px); 
transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
margin-top: -15px; 
}

.dropdown-content a {
 font-size: 16px; 
 padding: 10px 20px;
 display: block; 
 text-align: center;
 text-underline-offset: 0; 
}

.dropdown-content a:last-child {
  padding-left: 30px;
  padding-right: 30px;
  line-height: 1.4;
}

.dropdown-content a:hover {
 background-color: #e9e8e6;
 transform: none;
}

.dropdown:hover .dropdown-content {
 display: block;
 opacity: 1;
 visibility: visible;
 transform: translate(-50%, 0); 
}

/* Estilo para el párrafo del email */
.email-info {
    font-size: 10px;
    font-weight: 300;
    color: #8a8783;
    margin-bottom: 30px; 
    line-height: 1;
    text-align: left;
    padding: 20px 0px;
}

.email-info a {
    color: #575554;
    font-weight: 300;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px; 
    transition: opacity 0.3s ease;
}

.email-info a:hover {
    opacity: 0.7;
}

/* ------------------------------------------- */
/* 3. Sección de Contacto e Intro */
/* ------------------------------------------- */
.contact-section {
    padding: 60px var(--current-padding-sides); 
    text-align: left;
    max-width: none;
    margin: 0; 
}

.contact-section h1 {
    font-size: 50px;
    color: #575554;
    margin-bottom: 30px;
    text-align: left;
}

.contact-section p {
    font-size: 20px;
    color: #8a8783;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: left;
}

.contact-button {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    font-size: 16px;
    background-color: transparent;
    border-radius: 0px;
    color: #575554;
    border: 1px solid #575554;
    text-decoration: none;
    border-radius: 0px;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

.contact-button:hover {
    background-color: #575554;
    transform: scale(1.05);
    color: #F5F5F5;
}

.contact-form {
    width: 100%; 
}

.contact-form label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    margin-top: 20px;
    color: #575554;
}

.required {
    font-size: 12px;
    color: #a69e96;
    margin-left: 6px;
}

.name-group {
    display: flex;
    gap: 10px;
}

.name-group input {
    flex: 1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400; 
    font-size: 16px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #a69e96;
    color: #575554;
    outline: none;
    text-align: left;
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23575554' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    cursor: pointer;
}

.budget-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    text-align: left;
}

.budget-options label {
    font-size: 14px;
    background: #F5F5F5;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    color: #575554;
}

.budget-options input {
    display: none;
}

.budget-options input:checked + span,
.budget-options label:has(input:checked) {
    background: #575554;
    color: #F5F5F5;
}

.contact-form textarea {
    resize: vertical;
    border: 1px solid #a69e96;
    border-radius: 0px;
    text-align: left;
}

/* ------------------------------------------- */
/* 3. Sección de Contacto e Intro */
/* ------------------------------------------- */

.captcha-and-submit {
    display: flex;
    flex-direction: column; 
    align-items: left; 
    margin-top: 30px; 
}

.contact-button {
    display: inline-block; 
    width: auto; 
    max-width: 300px; 
}

.captcha-and-submit .contact-button {
    margin-top: 20px; 
} 

/* ------------------------------------------- */
/* 4. Footer */
/* ------------------------------------------- */
.main-footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px var(--current-padding-sides);
    background-color: transparent;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 0px;
}

.footer-divider {
    height: 0.50px;
    background-color: #575554; 
    width: 100%; 
    margin: 20px 0; 
}

.footer-button {
    background: none;
    border: none;
    font-size: 14px;
    color: #575554;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-button:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.copyright-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color:after #8a8783;
    margin-top: 0px; 
    font-weight: 300;
}

.copyright-text .footer-button {
    font-size: 12px;
    font-weight: 300;
    color: #8a8783; 
    text-decoration: none; 
}

.copyright-text .footer-button:hover {
    color: #575554; 
    text-decoration: underline;
}



/* ------------------------------------------- */
/* 5. Efectos (Fade-in) */
/* ------------------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------------------- */
/* 6. Media Queries */
/* ------------------------------------------- */

/* Tablet y dispositivos más pequeños (ancho máximo 768px) */
@media (max-width: 768px) {
    :root {
        --current-padding-sides: var(--padding-tablet);
    }

    .logo {
        font-size: 20px;
    }

    .menu-icon {
        display: flex;
    }

    .nav-links {
        display: none; 
        flex-direction: column; 
        justify-content: center;
        align-items: center;
        background: #F5F5F5;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 99;
        gap: 30px;
    }

    .nav-links.show {
        display: flex; 
    }

    .contact-section {
        padding: 120px var(--current-padding-sides); 
    }
    .copyright-text {
       font-size: 11px;
    }
}

/* Móviles (ancho máximo 480px) */
@media (max-width: 480px) {
    :root {
        --current-padding-sides: var(--padding-mobile); 
    }
    
    .contact-section h1 {
        font-size: 40px; 
    }

    .contact-section p {
        font-size: 18px; 
    }

    .name-group {
        flex-direction: column;
        gap: 0; 
    }

    .name-group input {
        margin-bottom: 10px; 
    }

        .copyright-text {
       font-size: 10px;
    }

    .captcha-and-submit {
        display: flex;
        flex-direction: column;
        align-items: center; 
        gap: 20px; 
    }

    .g-recaptcha {
        transform: scale(0.9);
        transform-origin: 0 0;
    }

    .captcha-and-submit .contact-button {
        width: 100%;
        max-width: none; 
        box-sizing: border-box; 
    }
}