/* MapaSEO Contacto Page Styles */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Lato:wght@300;400;700&display=swap');

/* MapaSEO Brand Colors */
:root {
    --mapaseo-primary: #2E7D32;
    --mapaseo-secondary: #1976D2;
    --mapaseo-accent: #FFA726;
    --mapaseo-dark: #263238;
    --mapaseo-light: #F5F5F5;
    --mapaseo-success: #43A047;
    --mapaseo-gradient: linear-gradient(135deg, #2E7D32 0%, #1976D2 100%);
}

/* General Styles */
.mapaseo-contacto-page {
    font-family: 'Lato', sans-serif;
    color: var(--mapaseo-dark);
    line-height: 1.6;
}

.mapaseo-contacto-page h1, 
.mapaseo-contacto-page h2, 
.mapaseo-contacto-page h3, 
.mapaseo-contacto-page h4 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.contacto-hero {
    background: var(--mapaseo-gradient);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.main-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
}

.subtitle {
    font-size: 20px;
    opacity: 0.9;
}

/* Contact Form Section */
.contacto-form-section {
    padding: 80px 0;
    background: var(--mapaseo-light);
}

.contacto-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

/* Contact Information */
.contacto-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--mapaseo-primary);
}

.contacto-info > p {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

.contacto-details {
    margin-bottom: 40px;
}

.contacto-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contacto-icon {
    width: 50px;
    height: 50px;
    background: var(--mapaseo-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contacto-icon i {
    font-size: 24px;
    color: white;
}

.contacto-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--mapaseo-dark);
}

.contacto-text p {
    color: #666;
    margin: 0;
}

/* Support Box */
.support-box {
    background: white;
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.support-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--mapaseo-secondary);
}

.support-box p {
    color: #666;
    margin-bottom: 20px;
}

.support-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.support-box li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.check-icon {
    width: 20px;
    height: 20px;
    background: var(--mapaseo-success);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
}

.check-icon:before {
    content: "✓";
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Contact Form */
.contacto-form-container {
    background: white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

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

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--mapaseo-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--mapaseo-primary);
}

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

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.checkbox-group a {
    color: var(--mapaseo-secondary);
    text-decoration: underline;
}

/* Submit Button */
.submit-button {
    background: var(--mapaseo-gradient);
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 20px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.4);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form Messages */
.form-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 600;
}

.success-message {
    background: #E8F5E9;
    color: var(--mapaseo-success);
    border: 1px solid var(--mapaseo-success);
}

.error-message {
    background: #FFEBEE;
    color: #D32F2F;
    border: 1px solid #D32F2F;
}

/* Map Section */
.mapa-section {
    padding: 80px 0;
    background: white;
}

.mapa-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--mapaseo-dark);
}

.mapa-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.mapa-info {
    background: var(--mapaseo-light);
    padding: 40px;
    border-radius: 25px;
}

.mapa-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--mapaseo-primary);
}

.mapa-info p {
    color: #666;
    margin-bottom: 15px;
}

.mapa-note {
    font-style: italic;
    color: #999;
    font-size: 14px;
}

.mapa-embed {
    height: 400px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.mapa-placeholder {
    width: 100%;
    height: 100%;
    background: #E0E0E0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

/* CTA Section */
.contacto-cta {
    padding: 80px 0;
    background: var(--mapaseo-gradient);
    text-align: center;
    color: white;
}

.contacto-cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contacto-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--mapaseo-primary);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* Icons */
.icon-email::before {
    content: "✉";
}

.icon-phone::before {
    content: "📞";
}

.icon-location::before {
    content: "🕐";
}

/* Responsive Design */
@media (max-width: 968px) {
    .contacto-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mapa-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 36px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contacto-form-container {
        padding: 30px 20px;
    }
    
    .submit-button {
        width: 100%;
    }
}