
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: oswaldRegular;
    src: url(../Fonts/Oswald-Regular.ttf);
}

@font-face {
    font-family: Roboto;
    src: url(../Fonts/Roboto-VariableFont_wdth\,wght.ttf);
}

:root {
    --bg-main: #12161a;
    --bg-card: #1c232b;
    --bg-dark: #0f1419;
    --orange: #ff5a13;
    --orange-hover: #e04e0f;
    --text-light: #ffffff;
    --text-muted: #8a94a0;
    --border-color: #2a343f;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: Roboto, Arial, sans-serif;
    margin: 0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================================================
   Encabezado y menu de navegacion
   ========================================================= */

header {
    background-color: black;
    color: whitesmoke;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Menu De navegacion */

.logo {
    width: 220px;
}

nav ul {
    display: flex;
    margin: 20px;
    text-decoration: none;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: #6F6F6F;
    font-weight: bold;
    padding: 8px 12px;
    margin: 20px;
    transition: background 0.3s, transform 0.3s;
}

nav ul li a:hover {
    transform: scale(1.05);
    color: #E5560B;
    text-decoration: underline #E5560B;
}

/*iconos superiores*/
.btnConfiguracion {
    width: 35px;
    height: 35px;
    object-fit: contain;
    display: block;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.btnConfiguracion:hover {
    transform: scale(1.08);
    background-color: rgba(229, 86, 11, 0.18);
}

.iconos_contenedor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-right: 30px;
}

.btnTipoUno {
    width: 160px;
    text-decoration: none;
    font-family: oswaldRegular;
    font-size: 15px;
    color: whitesmoke;
    background-color: #E5560B;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    padding: 8px 12px;
    margin: 20px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.25);
}

.btnTipoUno a {
    text-decoration: none;
    color: inherit;
}

.btnTipoUno:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.35);
    background-color: #c4450a;
}

.btnTipoUno:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.3);
    background-color: #a63a08;
}

/* =========================================================
   Contenido principal de contacto
   ========================================================= */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.hero-text .badge {
    background-color: rgba(255, 90, 19, 0.15);
    color: var(--orange);
    font-size: 0.65rem;
    font-weight: bold;
    padding: 4px 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
    border-left: 3px solid var(--orange);
}

.hero-text h1 {
    font-family: oswaldRegular, Arial, sans-serif;
    font-size: 3rem;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--text-light);
}

.hero-text h1 span {
    color: var(--orange);
}

.hero-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 480px;
    line-height: 1.5;
}

.hero-image {
    position: relative;
    height: 250px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../Img/instalacionesBocaran.png') center/cover;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.hero-image .img-badge {
    font-size: 0.65rem;
    color: var(--orange);
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 2px;
}

.hero-image h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

.content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
}

/* =========================================================
   Formulario de contacto
   ========================================================= */

.form-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.form-card h2 {
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.form-card h2::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 3px;
    background-color: var(--orange);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
    margin-top: 10px;
}

.form-group label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    padding: 12px;
    color: var(--text-light);
    font-size: 0.9rem;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--orange);
}

.form-group textarea {
    resize: none;
    height: 120px;
}

.btnTipoTres {
    background: linear-gradient(90deg, var(--orange), #ff7332);
    color: var(--text-light);
    border: none;
    width: 100%;
    padding: 15px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-top: 25px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, opacity 0.3s, box-shadow 0.25s ease;
}

.btnTipoTres:hover {
    opacity: 0.95;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.35);
}

.btnTipoTres:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.3);
}

/* =========================================================
   Barra lateral de informacion
   ========================================================= */

.info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-row-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-box {
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: 4px;
}

.info-box .info-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.info-box .info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
}

.hours-box {
    background-color: var(--bg-card);
    padding: 25px;
    border-radius: 4px;
}

.hours-title {
    font-size: 0.75rem;
    color: var(--orange);
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.hours-row span:last-child {
    color: var(--text-light);
    font-weight: 600;
}

.emergency-row {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.emergency-label {
    color: var(--orange);
    font-weight: bold;
    font-size: 0.85rem;
}

.emergency-status {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.map-box {
    background: linear-gradient(rgba(28, 35, 43, 0.85), rgba(28, 35, 43, 0.95)), url('https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&q=80&w=400') center/cover;
    height: 240px;
    border-radius: 4px;
    display: flex;
    align-items: flex-end;
    padding: 15px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.map-address {
    background-color: rgba(15, 19, 23, 0.9);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 4px;
    width: 100%;
}

.map-address .addr-label {
    font-size: 0.65rem;
    color: var(--orange);
    text-transform: uppercase;
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
}

.map-address p {
    font-size: 0.75rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* =========================================================
   Boton flotante de WhatsApp
   ========================================================= */

.chatFloating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 999;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.chatFloating a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.chatFloating:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

.chatFloating .whatsapp-icon {
    color: var(--text-light);
    width: 30px;
    height: 30px;
    display: block;
}

/* =========================================================
   Pie de pagina
   ========================================================= */

.piePagina {
    background: #050505;
    color: var(--text-light);
    border-top: 4px solid #e5560b;
}

.piePagina h3 {
    font-family: oswaldRegular, Arial, sans-serif;
    font-size: 18px;
    letter-spacing: 3px;
    margin-bottom: 25px;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
}

.piePagina h3::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #e5560b;
    margin-top: 12px;
    opacity: 0.45;
}

.piePagina p {
    font-family: Roboto, Arial, sans-serif;
}

.contenedorPie {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.1fr 1.1fr;
    gap: 45px;
    padding: 60px 70px 70px;
}

.tituloEmpresa {
    color: #e5560b;
    line-height: 1.4;
}

.descripcionEmpresa,
.seccionSedes p,
.listaExplorar a,
.lineaInferior p {
    color: #8d8d8d;
    font-size: 13px;
    letter-spacing: 1.5px;
    line-height: 1.6;
    font-weight: 700;
}

.descripcionEmpresa {
    max-width: 260px;
    margin-bottom: 25px;
}

.iconosSociales {
    display: flex;
    gap: 12px;
}

.iconosSociales a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #1f1f1f;
    color: #bdbdbd;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.iconosSociales a:hover {
    background: #e5560b;
    color: var(--text-light);
}

.listaExplorar {
    list-style: none;
    padding: 0;
    margin: 0;
}

.listaExplorar li {
    margin-bottom: 18px;
}

.listaExplorar a {
    text-decoration: none;
    transition: 0.3s;
}

.listaExplorar a:hover {
    color: #e5560b;
}

.seccionSedes p {
    margin: 0 0 8px;
}

.formularioNewsletter {
    display: flex;
    width: 100%;
    max-width: 310px;
    background: #1e1e1e;
    border: 1px solid #2d2d2d;
    padding: 6px;
}

.campoCorreo {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-light);
    padding: 12px;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 700;
}

.campoCorreo::placeholder {
    color: #777;
}

.botonNewsletter {
    width: 50px;
    border: none;
    background: #e5560b;
    color: var(--text-light);
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.botonNewsletter:hover {
    background: #c4450a;
}

.lineaInferior {
    background: #171717;
    border-top: 1px solid #222;
    padding: 28px 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.lineaInferior p {
    margin: 0;
    font-size: 11px;
    text-transform: uppercase;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px) {
    header {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .logo {
        width: 220px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        margin: 10px 0;
        padding: 0;
        gap: 15px;
    }

    nav ul li a {
        margin: 0;
        padding: 8px;
    }

    .iconos_contenedor {
        margin-right: 0;
        flex-wrap: wrap;
    }

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

    .hero-text h1 {
        font-size: 2.4rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .contenedorPie {
        grid-template-columns: repeat(2, 1fr);
        padding: 50px 35px;
    }

    .lineaInferior {
        padding: 25px 35px;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 30px 16px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-image {
        height: 220px;
    }

    .form-card {
        padding: 28px 22px;
    }

    .info-row-top {
        grid-template-columns: 1fr;
    }

    .emergency-row,
    .hours-row {
        gap: 12px;
    }

    .btnTipoUno {
        width: 100%;
        margin: 10px 0;
    }

    .chatFloating {
        right: 20px;
        bottom: 20px;
    }

    .contenedorPie {
        grid-template-columns: 1fr;
        padding: 45px 25px;
    }

    .lineaInferior {
        padding: 25px;
    }
}
