/* =====================================================
   SERVICIOS-STYLES.CSS - Montajes Metálicos Mallo
   CSS específico para servicios.html
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

/* ============================
   RESET Y ESTILOS BASE
   ============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #1a1a1a;
    color: #f0f0f0;
    min-height: 100vh;
    text-align: center;
    position: relative;
    padding-top: 92px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('logo.webp') no-repeat center center/cover;
    opacity: 0.15;
    z-index: -1;
}

/* ============================
   HEADER Y NAVEGACIÓN
   ============================ */
.main-header {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #ffc107;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-menu li a {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-menu li a:hover {
    background-color: #ffc107;
    color: #1a1a1a;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: #ffc107;
    font-size: 2em;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background-color: rgba(0, 0, 0, 0.95);
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 20px 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    margin-bottom: 20px;
}

.mobile-menu ul li a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: 700;
}

/* ============================
   CONTENEDOR PRINCIPAL
   ============================ */
.container {
    background-color: rgba(0, 0, 0, 0.75);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(255, 193, 7, 0.3);
    border: 1px solid #ffc107;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.servicios-container {
    max-width: 1200px !important;
}

/* ============================
   TÍTULOS DE SECCIÓN
   ============================ */
.section-title {
    font-size: 2em;
    color: #ffc107;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================
   HERO SECTION MEJORADO
   ============================ */
.servicios-hero-modern {
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(26,26,26,0.9) 50%, rgba(42,42,42,0.85) 100%),
                url('logo.webp') center/cover;
    padding: 60px 20px;
    margin: -40px -40px 40px -40px;
    border-bottom: 3px solid #ffc107;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.servicios-title-hero {
    font-size: 2.8em;
    color: #ffc107;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.servicios-subtitle-hero {
    font-size: 1.3em;
    color: #e0e0e0;
    margin-bottom: 35px;
    line-height: 1.6;
}

.hero-badge {
    display: inline-block;
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.hero-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 15px;
    background: rgba(42, 42, 42, 0.7);
    border-radius: 10px;
    border: 1px solid rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
}

.badge-item:hover {
    border-color: #ffc107;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.2);
}

.badge-item i {
    font-size: 2em;
    color: #ffc107;
}

.badge-item span {
    color: #fff;
    font-size: 0.95em;
    font-weight: 600;
    text-align: center;
}

/* ============================
   INTRODUCCIÓN
   ============================ */
.servicios-intro-section {
    margin-bottom: 40px;
}

.intro-section-title {
    font-size: 1.8em;
    color: #ffc107;
    margin-bottom: 25px;
    text-align: center;
}

.servicios-intro {
    font-size: 1.15em;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 20px;
    color: #ddd;
    text-align: left;
}

.servicios-intro strong {
    color: #ffc107;
}

.servicios-catalogo-intro {
    font-size: 1.2em;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #ddd;
    text-align: center;
}

/* ============================
   MATERIALES
   ============================ */
.materiales-section {
    margin: 60px 0;
}

.materiales-intro {
    font-size: 1.2em;
    color: #ddd;
    max-width: 800px;
    margin: 0 auto 50px;
}

.materiales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.material-item {
    background: rgba(42, 42, 42, 0.6);
    padding: 30px 20px;
    border-radius: 10px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.material-item:hover {
    border-color: #ffc107;
    transform: translateY(-5px);
}

.material-icon-fa {
    font-size: 2.5em;
    color: #ffc107;
    margin-bottom: 15px;
    display: block;
}

.material-item h3 {
    color: #ffc107;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.material-item p {
    font-size: 1.1em;
    line-height: 1.5;
    color: #ccc;
}

.material-item strong {
    color: #ffc107;
}

/* ============================
   SERVICIOS GRID
   ============================ */
.lista-servicios-section {
    margin: 80px 0;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.categoria-servicio {
    background: rgba(42, 42, 42, 0.7);
    padding: 35px;
    border-radius: 12px;
    border-left: 5px solid #ffc107;
    transition: all 0.3s ease;
}

.categoria-servicio:hover {
    border-left-color: #25D366;
    transform: translateX(5px);
}

.categoria-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 193, 7, 0.3);
}

.categoria-icon {
    font-size: 2em;
    color: #ffc107;
    min-width: 50px;
}

.categoria-title {
    color: #ffc107;
    font-size: 1.5em;
    margin: 0;
}

.servicio-descripcion {
    font-size: 1.05em;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 20px;
    text-align: left;
}

.servicio-descripcion strong {
    color: #ffc107;
}

.servicios-lista {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.servicios-lista li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1.05em;
    color: #f0f0f0;
    line-height: 1.5;
}

.servicios-lista li i {
    color: #25D366;
    font-size: 0.9em;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.servicios-lista li strong {
    color: #ffc107;
}

/* Botones de servicios - colores variados */
.btn-ver-ejemplos {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-top: 10px;
    border: none;
}

/* Color base para botones estándar - gris azulado suave */
.btn-ver-ejemplos:not(.urgencia-link):not(.marquesina-link) {
    background: linear-gradient(135deg, #6c7a89 0%, #5d6d7a 100%);
    box-shadow: 0 4px 12px rgba(108, 122, 137, 0.3);
}

.btn-ver-ejemplos:not(.urgencia-link):not(.marquesina-link):hover {
    background: linear-gradient(135deg, #5d6d7a 0%, #4a5560 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(108, 122, 137, 0.4);
}

/* Botón de urgencias - rojo */
.urgencia-link {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.urgencia-link:hover {
    background: linear-gradient(135deg, #c0392b 0%, #922b21 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.4);
}

/* Botón de marquesinas - verde */
.marquesina-link {
    background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.marquesina-link:hover {
    background: linear-gradient(135deg, #1e8449 0%, #145a32 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(39, 174, 96, 0.4);
}

.servicios-enlaces {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.servicios-enlaces .btn-ver-ejemplos {
    margin-top: 0;
    justify-content: center;
    min-width: 200px;
}

/* Animación para urgencias */
.urgencia-link i {
    animation: pulse-urgencia 2s infinite;
}

@keyframes pulse-urgencia {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Enlace de marquesinas - discreto pero visible */
.marquesina-link {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.15) 0%, rgba(41, 128, 185, 0.15) 100%);
    border-color: rgba(52, 152, 219, 0.4);
}

.marquesina-link:hover {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-color: #3498db;
    color: #ffffff;
}

.marquesina-link i {
    color: #3498db;
}

.marquesina-link:hover i {
    color: #ffffff;
}

/* Enlace de rejas - discreto pero visible */
.rejas-link {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.15) 0%, rgba(39, 174, 96, 0.15) 100%);
    border-color: rgba(46, 204, 113, 0.4);
}

.rejas-link:hover {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    border-color: #2ecc71;
    color: #ffffff;
}

.rejas-link i {
    color: #2ecc71;
}

.rejas-link:hover i {
    color: #ffffff;
}

/* ============================
   CÓMO TRABAJAMOS
   ============================ */
.como-trabajamos-section {
    background: rgba(42, 42, 42, 0.4);
    padding: 50px 30px;
    margin: 50px -40px;
    border-top: 1px solid rgba(255, 193, 7, 0.2);
    border-bottom: 1px solid rgba(255, 193, 7, 0.2);
}

.como-trabajamos-intro {
    text-align: center;
    color: #ccc;
    font-size: 1.15em;
    margin-bottom: 40px;
}

.proceso-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.proceso-step {
    background: rgba(0, 0, 0, 0.4);
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(255, 193, 7, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.proceso-step:hover {
    border-color: #ffc107;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.2);
}

.paso-numero {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #ffc107;
    color: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    font-weight: 700;
    border: 3px solid #1a1a1a;
}

.paso-icon {
    font-size: 2.5em;
    color: #ffc107;
    margin: 20px 0 15px;
}

.proceso-step h3 {
    color: #ffc107;
    font-size: 1.2em;
    margin-bottom: 12px;
    font-weight: 700;
}

.proceso-step p {
    color: #ddd;
    font-size: 0.95em;
    line-height: 1.5;
    margin: 0;
}

/* ============================
   FAQ
   ============================ */
.faq-section {
    margin: 50px 0;
    padding: 40px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(42, 42, 42, 0.6);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
    transition: all 0.3s ease;
    text-align: left;
}

.faq-item:hover {
    background: rgba(42, 42, 42, 0.8);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.2);
}

.faq-question {
    color: #ffc107;
    font-size: 1.1em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.faq-question i {
    color: #25D366;
    font-size: 0.9em;
}

.faq-answer {
    color: #ddd;
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0;
}

.faq-answer a {
    color: #ffc107;
    text-decoration: none;
    font-weight: 600;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* ============================
   PROYECTOS LINK
   ============================ */
.proyectos-link-section {
    margin: 80px 0;
}

.proyectos-link-section.destacada {
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.95) 0%, rgba(42, 42, 42, 0.95) 100%);
    padding: 50px;
    border-radius: 15px;
    border: 1px solid #ffc107;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.proyectos-link-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.proyectos-link-title {
    font-size: 2.2em;
    color: #ffc107;
    margin-bottom: 25px;
}

.proyectos-link-text {
    font-size: 1.3em;
    line-height: 1.7;
    color: #f0f0f0;
    margin-bottom: 40px;
}

.btn-proyectos {
    background: #ffc107;
    color: #1a1a1a;
    font-size: 1.2em;
    padding: 18px 45px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-proyectos:hover {
    background: #e0a800;
    transform: translateY(-5px);
}

/* ============================
   CTA SECTION
   ============================ */
.cta-section {
    text-align: center;
    margin: 60px 0 40px;
    padding: 40px 20px;
    background: rgba(42, 42, 42, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.cta-title {
    font-size: 2.2em;
    color: #ffc107;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 1.3em;
    color: #ddd;
    margin-bottom: 30px;
}

.cta-subtitle strong {
    color: #ffc107;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-llamada,
.btn-whatsapp,
.btn-visita {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.btn-llamada {
    background: #ffc107;
    color: #1a1a1a;
}

.btn-llamada:hover {
    background: #e0a800;
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #1ebc57;
    transform: translateY(-3px);
}

.btn-visita {
    background: #1a73e8;
    color: #fff;
}

.btn-visita:hover {
    background: #1557b0;
    transform: translateY(-3px);
}

/* ============================
   FOOTER
   ============================ */
.main-footer {
    background-color: rgba(0, 0, 0, 0.85);
    border-top: 1px solid rgba(255, 193, 7, 0.2);
    padding: 30px 20px;
    margin-top: 60px;
    text-align: center;
}

.footer-content a {
    color: #ffc107;
    text-decoration: none;
    font-weight: bold;
    margin: 0 15px;
}

.footer-content a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-content p {
    margin: 10px 0;
    color: #aaa;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 768px) {
    body {
        padding-left: 15px;
        padding-right: 15px;
    }

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .container {
        padding: 25px 15px;
    }

    .servicios-hero-modern {
        padding: 40px 15px;
        margin: -20px -15px 30px -15px;
    }

    .servicios-title-hero {
        font-size: 2em;
    }

    .servicios-subtitle-hero {
        font-size: 1.1em;
    }

    .hero-badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .servicios-intro {
        text-align: left;
        font-size: 1.05em;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .como-trabajamos-section {
        padding: 40px 15px;
        margin: 40px -15px;
    }

    .proceso-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-llamada,
    .btn-whatsapp,
    .btn-visita {
        width: 100%;
        max-width: 350px;
        justify-content: center;
    }

    .proyectos-link-section.destacada {
        padding: 35px 20px;
    }
}

@media (max-width: 480px) {
    .servicios-title-hero {
        font-size: 1.6em;
    }

    .servicios-subtitle-hero {
        font-size: 1em;
    }

    .hero-badges-grid {
        grid-template-columns: 1fr;
    }

    .badge-item {
        padding: 15px 10px;
    }

    .proceso-step {
        padding: 25px 20px;
    }

    .paso-icon {
        font-size: 2em;
    }

    .section-title {
        font-size: 1.6em;
    }

    .categoria-header {
        flex-direction: column;
        text-align: center;
    }

    .categoria-icon {
        min-width: auto;
    }
}

/* WHATSAPP FLOTANTE */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.7em;
        bottom: 15px;
        right: 15px;
    }
}
