* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.6;
    padding-top: 90px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: #000;
    color: #fff;
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid #333;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 55px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo-img:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #aaa;
}

.nav-links a.active {
    color: #fff;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    padding: 6rem 0 4rem;
    text-align: center;
    border-bottom: 2px solid #333;
}

.hero-title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.hero-main-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content */
main {
    padding: 4rem 0;
}

.section {
    margin-bottom: 4rem;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #bbb;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Contact Form */
.contact-form {
    background: #111;
    border: 2px solid #333;
    border-radius: 15px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.contact-form:hover {
    border-color: #555;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ccc;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    background: #000;
    border: 2px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #666;
    background: #111;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: #ddd;
    transform: translateY(-2px);
}

/* Contact Info */
.contact-info {
    background: #111;
    border: 2px solid #333;
    border-radius: 15px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.contact-info:hover {
    border-color: #555;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #000;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #222;
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #fff;
    width: 30px;
    text-align: center;
}

.contact-item-content h4 {
    color: #fff;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.contact-item-content p {
    color: #bbb;
    margin: 0;
}

.contact-item-content a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item-content a:hover {
    color: #fff;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #111;
    border: 2px solid #333;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: #fff;
    background: #222;
    transform: translateY(-3px);
}

/* FAQ Section */
.faq-section {
    margin-top: 4rem;
}

.faq-item {
    background: #111;
    border: 2px solid #333;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #555;
}

.faq-question {
    padding: 1.5rem;
    background: #000;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #222;
}

.faq-answer {
    padding: 1.5rem;
    color: #ccc;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background: #000;
    border-top: 2px solid #333;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p {
    color: #bbb;
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fff;
}

.slogan {
    font-style: italic;
    color: #888;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form,
.contact-info,
.faq-item {
    animation: fadeInUp 0.6s ease forwards;
}
/* Estilos para los mensajes de estado del formulario */
.mensaje-exito {
    background-color: #28a745; /* Verde */
    color: #fff;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #23923d;
}

.mensaje-error {
    background-color: #dc3545; /* Rojo */
    color: #fff;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #c82333;
}