
body {
    background-color: #fdf6e3;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 100px 0 0; /* Añadido padding-top para el header fijo */
    box-sizing: border-box;
}

.contacto-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 40px; /* Reducido el padding superior */
    min-height: calc(100vh - 140px); /* Ajuste para el footer */
    box-sizing: border-box;
}

.contacto-header {
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.contacto-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2f3a46;
}

.contacto-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Información de Contacto */
.contacto-info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contacto-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 20px;
}

.contacto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffac4c, #ffb765);
}

.contacto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.contacto-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffac4c 0%, #ffb765 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contacto-icon i {
    font-size: 1.5rem;
    color: white;
}

.contacto-details h4 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
}

.contacto-details a {
    color: #ffac4c;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contacto-details a:hover {
    color: #e69435;
    text-decoration: underline;
}

/* Formulario de Contacto */
.contacto-form-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #2f3a46;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    font-size: 1.1rem;
}

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

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffac4c;
    box-shadow: 0 0 0 3px rgba(255, 172, 76, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #ffac4c 0%, #ffb765 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 172, 76, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 172, 76, 0.4);
}

.submit-btn i {
    font-size: 1.2rem;
}

/* Confirmación */
.confirmacion-message {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.confirmacion-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: scale(0.8);
    animation: scaleIn 0.3s ease forwards;
}

@keyframes scaleIn {
    to {
        transform: scale(1);
    }
}

.confirmacion-content i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

.confirmacion-content h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
}

.confirmacion-content p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.cerrar-btn {
    background: linear-gradient(135deg, #ffac4c 0%, #ffb765 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cerrar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 172, 76, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contacto-section {
        padding: 60px 15px 30px;
    }
    
    .contacto-header h2 {
        font-size: 2.5rem;
    }
    
    .contacto-info-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contacto-form-container {
        padding: 30px 20px;
    }
    
    .contacto-form {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contacto-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}