/* =============== RESET =============== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: white;
}

/* =============== HEADER / NAVBAR (MISMO QUE LOS DEMÁS) =============== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Navbar transparente en scroll */
.header.transparent {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(30px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    margin-right: 10px;
    border-radius: 20%;
}

.logo-img img {
    height: 100%;
    display: block;
}

/* Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

/* hover SIN línea naranja */
.nav-link:hover {
    color: #555;
}

/* solo el activo tiene línea naranja */
.nav-link.active {
    color: #ff6b35;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b35;
    transition: width 0.3s ease;
}

/* subrayado solo en el activo */
.nav-link.active::after {
    width: 100%;
}

/* Hamburguesa móvil */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* =============== CONTENIDO PRINCIPAL =============== */

.main-content {
    max-width: 1200px;
    margin: 120px auto 60px; /* 120px para dejar espacio al navbar fijo */
    padding: 0 1.5rem;
}

/* Sección de formularios */
.contact-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    align-items: flex-start;
}

.contact-card {
    background: #fff;
    border-radius: 18px;
    padding: 20px 22px 24px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #222;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* Formularios */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-size: 0.9rem;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.15);
}

.form-group textarea {
    resize: vertical;
}

/* Botones */
.btn-whatsapp,
.btn-email {
    margin-top: 8px;
    border: none;
    cursor: pointer;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

/* Verde WhatsApp */
.btn-whatsapp {
    background: #25d366;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* Naranja correo */
.btn-email {
    background: #ff6b35;
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.btn-whatsapp:hover,
.btn-email:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.16);
    opacity: 0.95;
}

.contact-info {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #777;
}

/* Info empresa */
.company-info {
    margin-top: 40px;
    padding: 20px 22px;
    border-radius: 16px;
    background: #f8f9fa;
    border: 1px solid #eee;
}

.company-info h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #222;
}

.company-info p {
    margin-bottom: 6px;
    font-size: 0.95rem;
}

/* Redes sociales */
.social-section {
    margin-top: 30px;
    text-align: center;
}

.social-section h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

/* Colores redes */
.social-link.facebook {
    background: #1877f2;
}

.social-link.instagram {
    background: radial-gradient(circle at 30% 30%, #fdf497 0, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-link.whatsapp-social {
    background: #25d366;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    opacity: 0.95;
}

/* =============== RESPONSIVE =============== */
@media (max-width: 900px) {

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(25px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

    .main-content {
        margin-top: 100px;
    }

    .contact-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    .logo-img {
        height: 50px;
    }

    .main-content {
        padding: 0 1rem;
        margin-top: 95px;
    }
}
