/* =========================
   RESET BÁSICO
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   VARIABLES INDUSTRIALES
========================= */
:root {
    --bg-main: #0F1720;      /* fondo general azul acero oscuro */
    --bg-card: #1E293B;      /* tarjetas */
    --text-main: #F1F5F9;    /* texto principal */
    --text-muted: #94A3B8;   /* texto secundario */
    --accent: #0EA5E9;       /* azul técnico */
    --border-card: #334155;  /* bordes sutiles */
}

/* =========================
   ESTILOS GENERALES
========================= */
body {
    line-height: 1.6;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Segoe UI', sans-serif;
}

h1 {
    font-weight: 600;
}

h2, h3, h4, h5{
    font-weight: 600;
    color: var(--text-main);
}

p {
    color: var(--text-muted);
}

section {
    padding: 80px 0;
}

.accent-line {
    width: 100px;
    height: 3px;
    background: var(--accent);
    margin: 15px auto;
    
}

/* =========================
   NAVBAR
========================= */
.navbar {
    background-color: #0B1220;
}

.navbar a {
    color: var(--text-main);
}

.navbar a:hover {
    color: var(--accent);
}

.navbar-brand img {
    height: 50px;
}

.navbar-nav .nav-link {
    color: var(--text-main) !important;
}

.navbar-nav .nav-link:hover {
    color: var(--accent) !important;
}

/* =========================
   HERO
========================= */
.hero {
    background: url("img/taller.jpg") center/cover no-repeat;
    padding: 140px 20px;
    text-align: center;
    background-blend-mode: overlay;
    background-color: rgba(0,0,0,0.65);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* =========================
   NOSOTROS
========================= */

.nosotros {
    background-color: var(--bg-main);
    color: var(--text-main);

}

.nosotros h2 {
    font-weight: 600;
    text-align: center;
}

.nosotros p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: center;
}

.nosotros-box {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-card);
    text-align: center;
}

.nosotros-box h5 {
    margin-bottom: 15px;

}

.nosotros-box ul {
    padding-left: 18px;
    list-style: none;

}

.nosotros-box li {
    margin-bottom: 10px;
    font-size: 0.95rem;
 

}

/* =========================
   SISTEMA DE CARD INDUSTRIAL
========================= */
.card-industrial {
    padding: 30px;
    border-radius: 8px;
    height: 100%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    color: var(--text-main);
    transition: all 0.3s ease;
}

.card-industrial:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}

.card-industrial h5 {
    font-weight: 600;
    margin-bottom: 15px;
}

.card-industrial p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.card-industrial ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.card-industrial ul li {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =========================
   SECCIÓN OIL & GAS
========================= */
.oilgas {
    background-color: var(--bg-secondary);
}

.norma-principal {
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 15px;
}

.normas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.normas span {
    background: #263445;
    border: 1px solid var(--border-card);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.subnormas {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =========================
   MANTENIMIENTO
========================= */

.mantenimiento-intro {
    max-width: 850px;
    margin: 0 auto;
    color: var(--text-muted);
    line-height: 1.7;
}

#mantenimiento .card-industrial ul {
    list-style: none;
    padding: 0;
}

#mantenimiento .card-industrial li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* =========================
   SECCIÓN MATERIALES
========================= */
.materiales {
    background-color: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   CONTACTO
========================= */
#contacto {
    display: flex;
    align-items: center;
    justify-content: center;
}

#contacto strong {
    margin-right: 8px;
}

#contacto h2, p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

iframe {
    border: none;
}

/* =========================
   GALERIA
========================= */

.gallery-img {
    width: 100%;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    object-fit: cover;
    height: 250px;
}

.gallery-img:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

.modal-dialog {
    max-width: fit-content;
}

.modal-body img {
    max-height: 80vh;
    width: auto;
    display: block;
}


/* =========================
   FOOTER
========================= */
footer {
    background-color: var(--bg-secondary);
    padding: 30px 0;
    text-align: center;
    color: var(--text-muted);
}

/* =========================
   BOTÓN WHATSAPP FLOTANTE
========================= */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
}

.whatsapp-float img {
    width: 40px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease-in-out;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    .hero {
        padding: 100px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }
}