/*Fuentes*/
@font-face {
    font-family: "TrebuechetMS";
    src: url(fonts/TrebuchetMS.ttf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "BebasNeue";
    src: url(fonts/BebasNeue.otf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "WebSymbolsRegular";
    src: url(fonts/websymbols-regular-webfont.eot);
    src: url(fonts/websymbols-regular-webfont.eot?#iefix) format(embedded-opentype),
        url(fonts/websymbols-regular-webfont.woff) format(woff),
        url(fonts/websymbols-regular-webfont.ttf) format(truetype),
        url(fonts/websymbols-regular-webfont.svg#WebSymbolsRegular) format(svg);
    font-weight: normal;
    font-style: normal;
}

/*GENERAL*/
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body {
    background: url(../img/pattern.png);
    font-family: "TrebuechetMS", sans-serif;
}

.wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0px auto;
    padding: 0 15px;
}

.gear {
    font-family: WebSymbolsRegular;
    color: rgb(185, 27, 27);
}

.clearfix {
    float: none;
    clear: both;
}

/*CABECERA*/
#header {
    width: 100%;
    height: 70px;
    font-family: BebasNeue;
    background-color: black;
    color: white;
    position: relative;
}

#logo {
    float: left;
    width: 200px;
    background-color: #eb790f;
    text-align: center;
    margin-top: 8px;
    margin-left: 20px;
    letter-spacing: 1px;
    cursor: pointer;
    overflow: hidden;
    transition: all 300ms;
}

#logo .gear {
    display: block;
    float: left;
    font-size: 30px;
    margin-top: 8px;
    margin-left: 26px;
}

#logo h3 {
    display: block;
    float: right;
    font-size: 40px;
    margin-top: 5px;
    margin-right: 65px;
    transition: all 300ms;
}

#menu {
    float: right;
    height: 70px;
    background: transparent;
}

#menu ul li {
    font-size: 24px;
    display: inline-block;
    margin: 0px 20px 0px 20px;
    letter-spacing: 1px;
    line-height: 70px;
}

#menu ul li a {
    display: block;
    color: white;
    text-decoration: none;
    transition: all 200ms;
}

#menu ul li a:hover {
    color: #e9e511;
    transform: scale(1.2, 1.2);
}

/* ===== SECCIÓN DE CONTACTO MEJORADA ===== */
.contact-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-container h2 {
    text-align: center;
    color: #eb790f;
    margin-bottom: 40px;
    font-family: "BebasNeue";
    font-size: 3rem;
    letter-spacing: 2px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.contact-info {
    margin-bottom: 35px;
}

.contact-info h3 {
    color: #333;
    margin-bottom: 15px;
    font-family: "BebasNeue";
    font-size: 1.8rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mini-address {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.5;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #eb790f;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 2px solid #f0f0f0;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.contact-block {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    text-align: center;
}

.contact-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.contact-block h3 {
    color: #eb790f;
    margin-bottom: 20px;
    font-family: "BebasNeue";
    font-size: 1.6rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-block p {
    margin: 12px 0;
    font-family: "TrebuechetMS";
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
}

.contact-block a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.contact-block a:hover {
    color: #eb790f;
    transform: translateX(3px);
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 20px;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: "BebasNeue";
    font-size: 1.2rem;
    letter-spacing: 1px;
    min-width: 180px;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.action-btn .icon {
    margin-right: 10px;
    font-size: 1.3rem;
}

.whatsapp {
    background: #25D366;
    color: white;
}

.whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.call {
    background: #eb790f;
    color: white;
}

.call:hover {
    background: #d4690c;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(235, 121, 15, 0.3);
}

.chatbot-notice {
    text-align: center;
    margin-top: 30px;
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
}

.chatbot-notice button {
    background: none;
    border: none;
    color: #eb790f;
    text-decoration: underline;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.chatbot-notice button:hover {
    color: #d4690c;
}

/* FOOTER */
#footer {
    background-color: #000;
    color: white;
    padding: 50px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    padding: 0 15px;
}

.footer-section {
    text-align: center;
}

.logo-footer img {
    max-width: 150px;
    margin-bottom: 15px;
    border: 3px solid #eb790f;
    border-radius: 5px;
}

.logo-footer h4 {
    font-size: 1.2rem;
    color: #eb790f;
    font-family: "BebasNeue";
    letter-spacing: 1px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: #eb790f;
    font-family: "BebasNeue";
    letter-spacing: 1px;
}

.footer-section h4:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: #eb790f;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}
.contact-block a[href^="mailto:"] {
    word-break: break-all;
    display: inline-block;
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.4;
}
/* ===== BOTÓN FLOTANTE WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999; /* Número muy alto para que esté por encima de todo */
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    font-family: "TrebuechetMS", sans-serif;
    font-weight: 600;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    background: #128C7E;
}

.whatsapp-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

.whatsapp-text {
    font-size: 0.9rem;
    white-space: nowrap;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn {
        padding: 12px 18px;
    }
}

@media (max-width: 360px) {
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-btn {
        padding: 15px;
        border-radius: 50%;
    }
    
    .whatsapp-icon {
        margin-right: 0;
    }
}
/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .wrap {
        padding: 0 20px;
    }
    
    #menu ul li {
        margin: 0px 15px;
        font-size: 22px;
    }
    
    .contact-section {
        margin: 30px auto;
        padding: 30px 25px;
    }
    
    .contact-container h2 {
        font-size: 2.5rem;
    }
    
    .contact-details {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

/* Tablet Pequeña (768px y menos) */
@media (max-width: 768px) {
    #header {
        height: auto;
        padding: 10px 0;
    }
    
    #logo {
        float: none;
        margin: 0 auto;
        display: block;
    }
    
    #menu {
        float: none;
        width: 100%;
        height: auto;
        text-align: center;
        margin-top: 15px;
    }
    
    #menu ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    #menu ul li {
        font-size: 18px;
        line-height: 50px;
        margin: 0 10px;
    }
    
    /* Contacto Responsive */
    .contact-section {
        margin: 20px auto;
        padding: 25px 20px;
        border-radius: 12px;
    }
    
    .contact-container h2 {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
    
    .contact-info h3 {
        font-size: 1.6rem;
        justify-content: center;
    }
    
    .mini-address {
        font-size: 1rem;
        text-align: center;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .contact-block {
        padding: 20px;
    }
    
    .contact-block h3 {
        font-size: 1.4rem;
    }
    
    .contact-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin: 30px 0 15px;
    }
    
    .action-btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 25px;
    }
    
    /* Footer Responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .logo-footer img {
        max-width: 130px;
    }
}

/* Móvil (480px y menos) */
@media (max-width: 480px) {
    #header {
        padding: 8px 0;
    }
    
    #logo {
        width: 160px;
    }
    
    #logo .gear {
        font-size: 24px;
        margin-left: 20px;
        margin-top: 6px;
    }
    
    #logo h3 {
        font-size: 32px;
        margin-right: 50px;
        margin-top: 3px;
    }
    
    #menu ul {
        flex-wrap: wrap;
    }
    
    #menu ul li {
        font-size: 16px;
        margin: 0 8px;
        line-height: 45px;
    }
    
    /* Contacto Mobile */
    .contact-section {
        margin: 15px auto;
        padding: 20px 15px;
        border-radius: 10px;
    }
    
    .contact-container h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .contact-info h3 {
        font-size: 1.4rem;
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .mini-address {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    
    .map-container {
        border-radius: 8px;
    }
    
    .contact-details {
        gap: 15px;
    }
    
    .contact-block {
        padding: 18px 15px;
    }
    
    .contact-block h3 {
        font-size: 1.3rem;
        flex-direction: column;
        gap: 5px;
    }
    
    .contact-block p {
        font-size: 0.9rem;
        margin: 10px 0;
    }
    
    .contact-actions {
        margin: 25px 0 10px;
    }
    
    .action-btn {
        padding: 12px 20px;
        font-size: 1.1rem;
        min-width: auto;
        width: 100%;
        max-width: 250px;
    }
    
    .action-btn .icon {
        font-size: 1.2rem;
        margin-right: 8px;
    }
    
    /* Footer Mobile */
    #footer {
        padding: 30px 0 0;
    }
    
    .footer-content {
        gap: 20px;
    }
    
    .logo-footer img {
        max-width: 110px;
    }
    
    .logo-footer h4 {
        font-size: 1.1rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .copyright {
        padding: 15px 0;
        font-size: 0.8rem;
    }
}

/* Móvil muy pequeño (360px y menos) */
@media (max-width: 360px) {
    #menu ul li {
        font-size: 14px;
        margin: 0 5px;
    }
    
    .contact-section {
        padding: 15px 12px;
    }
    
    .contact-container h2 {
        font-size: 1.6rem;
    }
    
    .contact-info h3 {
        font-size: 1.3rem;
    }
    
    .contact-block {
        padding: 15px 12px;
    }
    
    .contact-block h3 {
        font-size: 1.2rem;
    }
    
    .action-btn {
        padding: 10px 18px;
        font-size: 1rem;
    }
}