/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tipografía */
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

/* Header / Navegación */
header {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 1.8rem;
    color: #2c3e50;
}

.logo h1 span {
    color: #e74c3c;
}

.tagline {
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-top: -5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-links a:hover {
    color: #e74c3c;
}

.contact-header .btn-whatsapp-header {
    background-color: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s;
}

.contact-header .btn-whatsapp-header:hover {
    background-color: #1da851;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2c3e50;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 150px 0 100px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/hero-bg.jpg') center/100% 100% no-repeat;
    opacity: 0.25;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: white;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #25D366;
    color: white;
    border: 2px solid #25D366;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background-color: #1da851;
    border-color: #1da851;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Secciones comunes */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: #7f8c8d;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* SERVICIOS COMPLETOS CON IMÁGENES */
.service-category {
    margin-bottom: 70px;
}

.category-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e74c3c;
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-title i {
    color: #e74c3c;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eaeaea;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 400px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;    
    transition: transform 0.5s;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h4 {
    color: #2c3e50;
    margin: 20px 20px 10px;
    font-size: 1.3rem;
    min-height: 60px;
}

.service-card p {
    color: #555;
    line-height: 1.6;
    margin: 0 20px 20px;
    font-size: 0.95rem;
}

.service-card.highlight {
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    border: 2px solid #ff9800;
}

.cert-note {
    margin: 15px;
    padding: 15px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #5d4037;
    border-left: 3px solid #ff9800;
}

/* Sobre Nosotros */
.about {
    background-color: #f8f9fa;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature i {
    font-size: 2.2rem;
    color: #e74c3c;
    margin-bottom: 15px;
}

.feature h4 {
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 1.2rem;
}

/* Contacto SIN FORMULARIO */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}

.contact-item {
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.contact-item.highlight {
    background: #e8f5e9;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #25D366;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #e74c3c;
    margin-top: 5px;
    float: left;
    margin-right: 20px;
}

.contact-item.highlight i {
    color: #25D366;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2c3e50;
    overflow: hidden;
}

.contact-item a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
}

.contact-item a:hover {
    color: #e74c3c;
}

.phone-main {
    font-size: 1.4rem !important;
    color: #25D366 !important;
    font-weight: 600 !important;
}

.small-text {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 5px;
}

.small-text i {
    margin-right: 5px;
}

.badge-primary {
    background-color: #25D366;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 10px;
}

.secondary-numbers p {
    margin-bottom: 5px;
}

.secondary-numbers a {
    font-size: 1rem !important;
    color: #555 !important;
}

.warning-text {
    color: #f39c12;
}

.warning-text i {
    color: #f39c12;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.btn-whatsapp, .btn-call {
    padding: 15px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #1da851;
}

.btn-call {
    background-color: #3498db;
    color: white;
}

.btn-call:hover {
    background-color: #2980b9;
}

/* Botón de Instagram */
.btn-instagram {
    background: linear-gradient(45deg, #405DE6, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #FFDC80);
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    flex: 1;
    min-width: 140px;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
    color: white;
}

.btn-instagram:active {
    transform: translateY(-1px);
}

.contact-text {
    background: #f0f7ff;
    padding: 40px;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.contact-text h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-text p {
    margin-bottom: 15px;
    color: #444;
    line-height: 1.6;
}

.info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
}

.info-box h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box p {
    margin: 10px 0;
    padding-left: 20px;
}

.alert-info {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin-top: 25px;
    border-radius: 5px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.alert-info i {
    color: #ff9800;
    font-size: 1.2rem;
    margin-top: 3px;
}

.alert-info p {
    margin: 0;
    color: #856404;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 10px;
}

.footer-logo h2 span {
    color: #e74c3c;
}

.footer-tagline {
    color: #bdc3c7;
    margin-top: 10px;
    font-style: italic;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #bdc3c7;
}

.footer-contact i {
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
    font-size: 0.9rem;
}

.disclaimer {
    margin-top: 15px;
    font-style: italic;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Indicador de horario */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 25px;
    margin: 10px auto 30px;
    font-weight: 500;
    justify-content: center;
}

.status-indicator.open {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-indicator.closed {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-indicator i {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-header {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary,
    .btn-secondary {
        text-align: center;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card h4 {
        min-height: auto;
    }
    
    .contact-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .btn-whatsapp, .btn-call, .btn-instagram {
        flex: 1 1 calc(50% - 10px); /* 2 botones por fila en tablets */
        min-width: calc(50% - 10px);
        font-size: 0.9rem;
        padding: 12px 15px;
    }

    .service-image {
        height: 280px; /* Reduce altura en tablets */
    }
    
    .service-card {
        min-height: 550px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .category-title {
        font-size: 1.4rem;
    }
    
    .contact-buttons {
        flex-direction: column;
    }

    .btn-whatsapp, .btn-call, .btn-instagram {
        flex: 1;
        min-width: 100%;
        width: 100%;
    }
    
    .contact-item i {
        float: none;
        display: block;
        margin-bottom: 10px;
    }

    .service-image {
        height: 220px; /* Reduce más en móviles */
    }
    
    .service-card {
        min-height: 500px;
    }
    
    .service-card h4 {
        font-size: 1.2rem;
        margin: 15px 15px 8px;
    }
    
    .service-card p {
        font-size: 0.9rem;
        margin: 0 15px 15px;
    }
}