/* Texto general */
html {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: 'Raleway', sans-serif;
    min-width: 320px;
    background-color: #D5B893;
    /* Límite mínimo global */
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.btn-volver {
    background-color: #4A2C1D;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 40px;
    margin-top: 20px;
    width: auto;
    max-width: 150px;
    margin-left: 20px;
    margin-right: auto;
}

.btn-volver:hover {
    background-color: #6B3D2A;
}

/* HEADER CONTACTO */
.header-contacto {
    width: 100%;
    background-color: #D5B893;
    padding: 8px 0;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 15px;
}

.header-logo {
    flex-shrink: 0;
}

.header-logo img {
    width: 120px;
    height: auto;
}

.header-nav {
    display: flex;
    gap: 15px;
}

.header-btn {
    background-color: #4A2C1D;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.header-btn:hover {
    background-color: #6B3D2A;
}

/* SECCION CONTACTO */
.seccion-contacto {
    padding: 40px 15px 15px 15px;
    display: flex;
    justify-content: center;
    background-color: #D5B893;
}

.contacto-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding: 0;
    align-items: stretch;
}

/* TARJETA IZQUIERDA */
.contacto-tarjeta {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 3px 25px 4px rgba(0, 0, 0, 0.51);
}

.contacto-tarjeta img,
.contacto-tarjeta video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FORMULARIO DERECHA */
.contacto-formulario {
    padding: 30px;
    height: 460px;
    display: flex;
    flex-direction: column;
    background-color: #632024;
    border-radius: 20px;
    box-shadow: 0px 3px 25px 4px rgba(0, 0, 0, 0.51);
    color: white;
}

.contacto-formulario h1 {
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
    color: white;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 2px solid white;
    background-color: transparent;
    color: white;
    font-size: 14px;
    font-family: 'Raleway', sans-serif;
    transition: border-color 0.3s ease;
}

/* Estado vacío (placeholder visible) */
.form-group input:placeholder-shown,
.form-group select:placeholder-shown,
.form-group textarea:placeholder-shown {
    border-bottom-color: white; /* Negro para campos vacíos */
}

/* Color de placeholders */
.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
    color: white;
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: #D5B893;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
    border: 2px solid black;
}

.btn-enviar {
    width: 100%;
    padding: 12px;
    background-color: #D5B893;
    color: black;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;   
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}

.contacto-bottom-row .btn-enviar {
    width: auto;
    padding: 12px 25px;
    margin-top: 0;
}

.btn-enviar:hover {
    background-color: #283646;
    color: white;
}

/* INFORMACIÓN DE CONTACTO Y BOTÓN */
.contacto-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2px;
    padding-top: 20px;
    border-top: none;
    gap: 15px;
}

.contacto-info {
    flex: 1;
}

.contacto-info p {
    font-size: 14px;
    margin-bottom: 5px;
    margin: 0;
}

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

.btn-enviar {
    flex-shrink: 0;
}

.red-social {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.red-social:hover {
    transform: scale(1.1);
}

.red-social img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Títulos */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Luckiest Guy', cursive;
}

/* ====== FOOTER ====== */
.footer {
    width: 100%;
    background-color: #283646;
    color: white;
    padding: 40px 0 0 0;
    display: flex;
    justify-content: center;
    position: relative;
    margin-top: auto;
}

.footer-container {
    max-width: 1000px;
    width: 100%;
    min-width: 320px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    padding: 0 30px 40px 30px;
    align-items: start;
    margin: 0 auto;
}

/* Columna 1: Logo en círculo blanco */
.footer-columna1 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.footer-logo-circle {
    width: 120px;
    height: 120px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-logo-circle img {
    width: 80px;
    height: auto;
}

/* Columna 2: Links, redes, copyright */
.footer-columna2 {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #D5B893;
}

.footer-redes {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.red-social {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.red-social:hover {
    transform: scale(1.1);
}

.red-social img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    font-size: 12px;
    margin: 0;
    color: white;
}

/* Columna 3: Gato asomándose */
.footer-columna3 {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: absolute;
    bottom: 0;
    right: 40px;
}

.footer-columna3 img {
    width: 450px;
    height: auto;
}
