

:root {
    --fondo-web: #010612;   /* AZUL DE FONDO de toda la página: cámbialo aquí y cambia en todas */
    --m-azul: #00aaff;
    --m-azul-suave: rgba(0, 170, 255, .14);
    --m-borde: rgba(120, 190, 235, .16);
    --m-sombra: 0 14px 40px rgba(0, 0, 0, .28);
    --m-curva: cubic-bezier(.22, .61, .36, 1);
}

::selection {
    background: rgba(0, 170, 255, .35);
    color: #fff;
}

/* ---------- Barra de desplazamiento ---------- */
html { scrollbar-color: #164568 #020b16; scrollbar-width: thin; }

/* ---------- MENÚ ---------- */
.navbar-fixoem {
    background: rgba(2, 11, 22, .78) !important;
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--m-borde);
    transition: background .35s ease, box-shadow .35s ease;
}
.navbar-fixoem.menu-scroll {
    background: rgba(2, 11, 22, .94) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
}
.navbar-fixoem .nav-link {
    letter-spacing: .02em;
    transition: color .25s ease;
}

/* ---------- BOTONES ---------- */
.btn-primary {
    background: linear-gradient(135deg, #0097e6, #00b4ff) !important;
    border: 0 !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 20px rgba(0, 170, 255, .28);
    transition: transform .3s var(--m-curva), box-shadow .3s ease, filter .3s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 170, 255, .4);
    filter: brightness(1.06);
}
.btn-primary:active { transform: translateY(0); }

/* ---------- INICIO ---------- */
.inicio {
    position: relative;
    overflow: hidden;
}
.inicio .img-telefono img {
    filter: drop-shadow(0 22px 40px rgba(0, 170, 255, .22));
    animation: m-flotar 6s ease-in-out infinite;
}
@keyframes m-flotar {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* ---------- REPARACIONES ---------- */
.reparaciones {
    background:
        radial-gradient(circle at 80% 0%, rgba(0, 170, 255, .10), transparent 40%),
        linear-gradient(180deg, #031322, #041a2e) !important;
}
.reparaciones .text-black,
.reparaciones h1, .reparaciones h2, .reparaciones h3 {
    color: #e9f7ff !important;
}
.tarjeta-reparacion {
    border: 1px solid rgba(0, 170, 255, .3) !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .22);
    transition: transform .4s var(--m-curva), box-shadow .4s ease, border-color .4s ease !important;
}
.tarjeta-reparacion:hover {
    transform: translateY(-8px) !important;   /* antes crecía mucho; ahora solo sube */
    border-color: rgba(0, 170, 255, .55) !important;
    box-shadow: 0 20px 44px rgba(0, 170, 255, .22);
}
.tarjeta-reparacion .card-img-top {
    transition: transform .6s var(--m-curva);
}
.tarjeta-reparacion:hover .card-img-top { transform: scale(1.05); }

/* ---------- CÓMO TRABAJAMOS ---------- */
.como-trabajamos .card {
    border-radius: 16px;
    border: 1px solid var(--m-borde);
    transition: transform .4s var(--m-curva), box-shadow .4s ease;
}
.como-trabajamos .card:hover {
    transform: translateY(-6px);
    box-shadow: var(--m-sombra);
}
.icono-proceso { transition: transform .4s var(--m-curva); }
.card:hover .icono-proceso { transform: scale(1.12) rotate(-4deg); }

/* ---------- PIEZAS ---------- */
.buscador-piezas input,
.buscador-piezas button {
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.buscador-piezas input:focus {
    box-shadow: 0 0 0 3px var(--m-azul-suave);
    border-color: var(--m-azul);
    outline: none;
}
.categoria-btn { border-radius: 999px !important; }
.categoria-btn:hover,
.categoria-btn.active {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 170, 255, .2);
}
.producto-card {
    border-radius: 16px !important;
    border-color: rgba(184, 201, 211, .6) !important;
    transition: transform .4s var(--m-curva), box-shadow .4s ease, border-color .3s ease !important;
}
.producto-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 44px rgba(0, 170, 255, .24) !important;
}
.producto-imagen img { transition: transform .5s var(--m-curva); }
.producto-card:hover .producto-imagen img { transform: scale(1.06); }

/* ---------- COTIZACIONES / FORMULARIOS ---------- */
.cotizacion-section .form-control,
.cotizacion-section .form-select,
.login-card .form-control,
.contacto-card .form-control {
    border-radius: 10px;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.cotizacion-section .form-control:focus,
.cotizacion-section .form-select:focus,
.login-card .form-control:focus,
.contacto-card .form-control:focus {
    border-color: var(--m-azul);
    box-shadow: 0 0 0 3px var(--m-azul-suave);
}
.cotizacion-section .btn-cotizar {
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 170, 255, .25);
}

/* ---------- PIE DE PÁGINA ---------- */
.phonefix-footer a {
    transition: color .25s ease, transform .25s ease;
}
.phonefix-footer .social-column a:hover { transform: translateX(3px); }
.footer-bottom { border-top: 1px solid var(--m-borde); }

/* ---------- ÓVALO DE USUARIO ---------- */
.ovalo { transition: transform .3s var(--m-curva), box-shadow .3s ease; }
.ovalo:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0, 170, 255, .25); }
.menu-ovalo { border-radius: 14px; box-shadow: var(--m-sombra); animation: m-aparecer .25s var(--m-curva); }
@keyframes m-aparecer {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- APARECER AL HACER SCROLL ----------
   Las clases las pone animaciones.js. Si el JS falla,
   todo queda visible normalmente. */
.m-oculto {
    opacity: 0;
    transform: translateY(26px);
}
.m-visible {
    opacity: 1;
    transform: none;
    transition: opacity .7s var(--m-curva), transform .7s var(--m-curva);
    transition-delay: var(--m-retraso, 0s);
}

/* ==========================================================
   REPARACIONES QUE CUBRIMOS: estilo sencillo y limpio
========================================================== */
.reparaciones {
    background: linear-gradient(180deg, #031322, #04192b) !important;
}

/* Tarjeta: oscura, con borde fino y una línea azul arriba */
.tarjeta-reparacion {
    position: relative;
    background-color: #06182b !important;
    border: 1px solid rgba(120, 190, 235, .14) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    overflow: hidden;
}
.tarjeta-reparacion::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0097e6, #00d0ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s var(--m-curva);
}
.tarjeta-reparacion:hover::before { transform: scaleX(1); }
.tarjeta-reparacion:hover {
    border-color: rgba(0, 170, 255, .4) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .3) !important;
}

/* Ícono dentro de un círculo suave */
.tarjeta-reparacion .card-body > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 6px;
    font-size: 24px !important;
    border-radius: 50%;
    background: rgba(0, 170, 255, .1);
    transition: background .3s ease, transform .4s var(--m-curva);
}
.tarjeta-reparacion:hover .card-body > i {
    background: rgba(0, 170, 255, .2);
    transform: translateY(-3px);
}

/* ==========================================================
   ¿CÓMO TRABAJAMOS? (sección "proceso")
   Pasos con número + imagen a la derecha
========================================================== */
.proceso {
    padding: 70px 0 80px;
    background:
        radial-gradient(circle at 85% 40%, rgba(0, 170, 255, .12), transparent 45%),
        var(--fondo-web);
}

.proceso-etiqueta {
    display: inline-block;
    margin-bottom: 8px;
    color: #19b9ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
}
.proceso-titulo {
    margin: 0 0 6px;
    color: #fff;
    font-size: clamp(32px, 4.5vw, 46px);
    font-weight: 800;
    letter-spacing: -.02em;
}
.proceso-subtitulo {
    margin: 0;
    color: #19b9ff;
    font-size: 17px;
}

/* Tarjeta de cada paso */
.proceso-paso {
    position: relative;
    height: 100%;
    padding: 38px 16px 24px;
    text-align: center;
    background: rgba(6, 24, 43, .72);
    border: 1px solid rgba(0, 170, 255, .28);
    border-radius: 18px;
    transition: transform .4s var(--m-curva), border-color .3s ease, box-shadow .4s ease;
}
.proceso-paso:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 170, 255, .7);
    box-shadow: 0 18px 38px rgba(0, 170, 255, .18);
}

/* Círculo con el número, en la esquina */
.proceso-numero {
    position: absolute;
    top: -16px;
    left: -10px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0097e6, #00b4ff);
    border-radius: 50%;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(0, 170, 255, .45);
}

.proceso-icono {
    display: block;
    margin-bottom: 14px;
    color: #19b9ff;
    font-size: 40px;
    line-height: 1;
    transition: transform .4s var(--m-curva);
}
.proceso-paso:hover .proceso-icono { transform: scale(1.12); }

.proceso-paso h4 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
}
.proceso-paso p {
    margin: 0;
    color: #c4d6e4;
    font-size: 14px;
    line-height: 1.55;
}

/* Imagen de la derecha: se desvanece hacia la izquierda */
.proceso-imagen {
    position: relative;
    min-height: 380px;
}
.proceso-imagen img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 22px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
    filter: saturate(1.1) contrast(1.05);
}
.proceso-frase {
    position: absolute;
    right: 8px;
    bottom: 18px;
    margin: 0;
    color: #19b9ff;
    font-size: 24px;
    font-weight: 700;
    font-style: italic;
    line-height: 1.25;
    text-align: right;
    transform: rotate(-5deg);
    text-shadow: 0 2px 8px rgba(0, 0, 0, .8);
}

/* En pantallas medianas y chicas la imagen va debajo, completa */
@media (max-width: 1199px) {
    .proceso-imagen { min-height: 0; }
    .proceso-imagen img {
        height: 300px;
        -webkit-mask-image: none;
        mask-image: none;
    }
    .proceso-frase { font-size: 20px; right: 16px; }
}
@media (max-width: 575px) {
    .proceso { padding: 50px 0 60px; }
    .proceso-paso { padding: 34px 12px 20px; }
    .proceso-numero { left: -4px; }
}

/* ---------- Accesibilidad: sin movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition-duration: .01ms !important;
    }
    .m-oculto { opacity: 1; transform: none; }
}

/* ==========================================================
   CELULAR: ajustes para que todo se vea bien en pantallas chicas
========================================================== */
.proceso { overflow-x: clip; }

@media (max-width: 575px) {
    /* Logo y frase del menú más chicos para que no se salgan */
    .navbar-fixoem .navbar-brand { max-width: calc(100% - 64px); margin-right: 0; }
    .navbar-fixoem .navbar-brand img { width: 46px; height: 46px; }
    .navbar-fixoem .navbar-brand p { font-size: 11px !important; }
    .navbar-fixoem .navbar-brand .lh-1 > div:first-child { font-size: 18px; }
}

@media (max-width: 575px) {
    /* Reparaciones: 2 tarjetas por fila, más compactas */
    .reparaciones .rep-contenido .row {
        --bs-gutter-x: .75rem;
        --bs-gutter-y: .75rem;
    }
    .reparaciones .rep-contenido .row > [class*="col-"] { width: 50%; }
    .tarjeta-reparacion .card-body { padding: 16px 8px; }
    .tarjeta-reparacion .card-body > i {
        width: 46px;
        height: 46px;
        font-size: 19px !important;
    }
    .tarjeta-reparacion .card-title { font-size: 14px; }
    .tarjeta-reparacion .card-text { font-size: 12.5px !important; line-height: 1.4; }
}

/* Cotizaciones: un poco de aire debajo del menú fijo en celular */
@media (max-width: 575px) {
    .cotizacion-section { padding-top: 90px; }
}

/* ==========================================================
   INICIO: el diseño de antes, con las 4 características
   más separadas y la frase junto al teléfono
========================================================== */
@media (min-width: 768px) {
    .inicio .d-flex.flex-wrap { gap: 8px 0 !important; }
    .inicio .d-flex.flex-wrap p {
        margin: 0;
        padding: 10px 22px;
    }
    .inicio .d-flex.flex-wrap p:first-child { padding-left: 0; }
}

/* ==========================================================
   INICIO CON IMAGEN DE FONDO (media/fondo-azul.jpg)
   - Escritorio: texto a la izquierda, teléfonos a la derecha
   - Celular: la imagen sigue de fondo y se oscurece un poco
     para que el texto se lea bien
========================================================== */
section.inicio {
    display: flex;
    align-items: center;
    min-height: clamp(520px, 88vh, 720px);
    padding: 90px 10px 50px;
    background:
        linear-gradient(180deg, rgba(1, 6, 18, 0) 70%, var(--fondo-web) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .30) 45%, rgba(0, 0, 0, 0) 75%),
        linear-gradient(180deg, rgba(0, 0, 0, .30) 0%, rgba(0, 0, 0, .15) 100%),
        url("../media/fondo-azul.jpg") right center / cover no-repeat,
        #030D1B;
}
section.inicio > .container { width: 100%; }

/* Tablet y celular: imagen corrida a la derecha + capa oscura de arriba a abajo
   (mover la imagen: cambia "10% center", 0% = izquierda y 100% = derecha;
   acercar la imagen: cambia "100%" por 120%, 140%...) */
@media (max-width: 991px) {
    section.inicio {
        min-height: 0;
        padding: 80px 10px 40px;
        background:
            linear-gradient(180deg, rgba(1, 6, 18, 0) 75%, var(--fondo-web) 100%),
            linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .25) 55%, rgba(0, 0, 0, .10) 100%),
            url("../media/fondo-azul.jpg") 10% center / auto max(100%, 560px) no-repeat,
            #030D1B;
    }
}

/* ==========================================================
   REPARACIONES QUE CUBRIMOS: tarjetas + panel de ventajas
========================================================== */
.seccion-etiqueta {
    display: inline-block;
    margin-top: 10px;
    color: #19b9ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
}
.reparaciones .rep-contenido > h2.text-center,
.reparaciones .rep-contenido > p.text-center {
    text-align: left !important;
}
.reparaciones .rep-contenido > h2 {
    margin-top: 4px !important;
    font-size: clamp(28px, 4vw, 42px) !important;
    letter-spacing: -.02em;
}
.reparaciones .rep-contenido > p { color: #c4d6e4; }
.reparaciones .rep-contenido .row { margin-top: .5rem !important; margin-bottom: 0 !important; }

.reparaciones {
    background:
        radial-gradient(circle at 85% 20%, rgba(0, 120, 200, .05), transparent 35%),
        radial-gradient(circle at 10% 90%, rgba(12, 75, 167, .06), transparent 35%),
        var(--fondo-web) !important;
}

/* Tarjetas: ícono limpio con brillo, sin círculo */
.tarjeta-reparacion .card-body > i {
    width: auto;
    height: auto;
    margin-bottom: 8px;
    background: none;
    font-size: 32px !important;
    text-shadow: 0 0 16px rgba(0, 170, 255, .55);
}
.tarjeta-reparacion:hover .card-body > i { background: none; transform: translateY(-3px) scale(1.06); }
.tarjeta-reparacion .card-title { font-size: 15px; font-weight: 700; }
.tarjeta-reparacion .card-text {
    font-size: 12.5px !important;
    line-height: 1.4;
    color: #a9c0d2;
}

/* Imagen de fondo del lado izquierdo (sin recuadro, se desvanece) */
.reparaciones { position: relative; overflow: hidden; }
.rep-fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 46%;
    height: 100%;
    object-fit: cover;
    opacity: .6;
    filter: saturate(1.1);
    -webkit-mask-image: linear-gradient(90deg, #000 25%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 25%, transparent 100%);
    pointer-events: none;
}
.reparaciones .container { position: relative; z-index: 1; }

/* ---------- Celular ---------- */
@media (max-width: 575px) {
    .inicio .d-flex.flex-wrap p,
    .inicio .d-flex.flex-wrap p:first-child {
        padding: 6px 0;
        border-right: 0;
    }

    .inicio-frase {
        margin: -8px 0 6px;
        text-align: center;
        font-size: 22px;
        transform: rotate(-3deg);
    }
    .inicio-frase br { display: none; }

    .tarjeta-reparacion .card-body > i { font-size: 26px !important; }
    .tarjeta-reparacion .card-title { font-size: 13.5px; }
    .tarjeta-reparacion .card-text { font-size: 12px !important; }

}

/* Pantallas menores a 1200px: la imagen queda de fondo, muy suave, detrás de todo */
@media (max-width: 1199px) {
    .rep-fondo {
        width: 100%;
        opacity: .14;
        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* Tablet: 2 tarjetas por fila (chica) o 4 (mediana); nunca una sola suelta */
@media (min-width: 576px) and (max-width: 767px) {
    .reparaciones .rep-contenido .row > [class*="col-"] { width: 50%; }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .reparaciones .rep-contenido .row > [class*="col-"] { width: 25%; }
}

/* ==========================================================
   ¿CÓMO TRABAJAMOS?: las tarjetas dan la vuelta (180 grados)
========================================================== */
.proceso-flip {
    height: 100%;
    perspective: 1100px;
    outline: none;
}
.proceso-flip-interior {
    position: relative;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform .75s var(--m-curva);
}
@media (hover: hover) {
    .proceso-flip:hover .proceso-flip-interior { transform: rotateY(180deg); }
}
.proceso-flip:focus .proceso-flip-interior,
.proceso-flip.volteada .proceso-flip-interior { transform: rotateY(180deg); }

/* El frente manda en el tamaño; la parte de atrás se pone encima */
.proceso-flip .proceso-frente {
    position: relative;
    min-height: 220px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.proceso-flip .proceso-atras {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotateY(180deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background: linear-gradient(160deg, rgba(0, 120, 190, .35), rgba(6, 24, 43, .95));
    border-color: rgba(0, 170, 255, .7);
    box-shadow: 0 16px 36px rgba(0, 170, 255, .2);
}
/* Con la vuelta ya no se necesita que la tarjeta suba */
.proceso-flip .proceso-frente:hover { transform: none; box-shadow: none; }

.proceso-atras h4 { margin-bottom: 14px; }
.proceso-atras ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}
.proceso-atras li {
    position: relative;
    margin-bottom: 9px;
    padding-left: 22px;
    color: #e3f1fb;
    font-size: 13.5px;
    line-height: 1.3;
}
.proceso-atras li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #19b9ff;
    box-shadow: 0 0 8px #19b9ff;
}
@media (max-width: 575px) {
    .proceso-atras li { font-size: 12.5px; padding-left: 18px; }
    .proceso-flip .proceso-frente { min-height: 230px; }
}

/* Foto pequeña arriba de cada tarjeta de "¿Cómo trabajamos?" */
.proceso-foto {
    display: block;
    width: calc(100% + 32px);
    height: 96px;
    margin: -38px -16px 16px;
    object-fit: cover;
    border-radius: 17px 17px 0 0;
    filter: brightness(.7) saturate(.9);
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
    mask-image: linear-gradient(180deg, #000 55%, transparent);
}
.proceso-frente .proceso-icono { margin-top: -22px; position: relative; z-index: 1; }
.proceso-flip .proceso-frente { min-height: 230px; }
@media (max-width: 575px) {
    .proceso-foto { width: calc(100% + 24px); margin: -34px -12px 14px; height: 80px; }
    .proceso-flip .proceso-frente { min-height: 240px; }
}
.proceso-numero { z-index: 3; }

/* Textos azules del inicio: mismo azul y brillo del botón y de los íconos */
.inicio .text-info {
    color: #19b9ff !important;
}

/* ==========================================================
   FONDO DE TODA LA PÁGINA (mismo azul del inicio)
   Index, piezas, cotizaciones, contacto y login
========================================================== */
body {
    background:
        radial-gradient(circle at 85% 0%, rgba(0, 70, 190, .16), transparent 45%),
        radial-gradient(circle at 0% 100%, rgba(0, 60, 170, .14), transparent 40%),
        var(--fondo-web) !important;
    background-attachment: scroll;
}

/* Unión suave entre el inicio y "Reparaciones que cubrimos":
   una franja que baja del color de fondo a transparente (quita el corte) */
.reparaciones::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(180deg, var(--fondo-web), transparent);
    z-index: 1;
    pointer-events: none;
}

/* ==========================================================
   REPARACIONES QUE CUBRIMOS: diseño centrado con foto a la izquierda
   (mismos colores; solo se reordena imagen, encabezado y tarjetas)
========================================================== */
.reparaciones { padding: 70px 0 60px; }

/* Foto de la izquierda: se desvanece hacia la derecha, arriba y abajo */
.rep-fondo {
    width: 38%;
    opacity: .9;
    -webkit-mask-image:
        linear-gradient(90deg, #000 45%, transparent 100%),
        linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
    mask-image:
        linear-gradient(90deg, #000 45%, transparent 100%),
        linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}

/* Encabezado centrado */
.reparaciones .rep-contenido > h2.text-center,
.reparaciones .rep-contenido > p.text-center { text-align: center !important; }
.reparaciones .rep-contenido > p { margin-bottom: 14px; }

.seccion-cabecera {
    display: flex;
    align-items: center;
    gap: 18px;
}
.seccion-cabecera::before,
.seccion-cabecera::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 170, 255, .5));
}
.seccion-cabecera::after { transform: scaleX(-1); }
.seccion-cabecera .seccion-etiqueta {
    margin: 0;
    padding: 9px 22px;
    border: 1px solid rgba(0, 170, 255, .45);
    border-radius: 999px;
    background: rgba(0, 170, 255, .07);
    box-shadow: 0 0 22px rgba(0, 170, 255, .15);
    white-space: nowrap;
}
.seccion-cabecera .seccion-etiqueta i { margin-right: 6px; }

.resalta {
    color: #19b9ff;
}
.seccion-linea {
    display: block;
    width: 90px;
    height: 3px;
    margin: 0 auto 8px;
    border-radius: 3px;
    background: linear-gradient(90deg, #0097e6, #00d0ff);
    box-shadow: 0 0 12px rgba(0, 170, 255, .6);
}

/* Tarjetas: vidrio azul, texto centrado, todas del mismo alto */
.tarjeta-reparacion {
    background: linear-gradient(160deg, rgba(0, 120, 200, .16), rgba(6, 24, 43, .6)) !important;
    border: 1px solid rgba(0, 170, 255, .32) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .25), inset 0 0 22px rgba(0, 170, 255, .05) !important;
}
.tarjeta-reparacion:hover {
    border-color: rgba(0, 190, 255, .7) !important;
    box-shadow: 0 16px 36px rgba(0, 170, 255, .22), inset 0 0 26px rgba(0, 170, 255, .08) !important;
}
.tarjeta-reparacion .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 22px 14px;
}
.tarjeta-reparacion .card-title { margin-top: 6px !important; color: #fff; }
.tarjeta-reparacion .card-text { text-align: center !important; margin-bottom: 0; }

/* Celular y tablet: encabezado más compacto y foto como fondo suave */
@media (max-width: 575px) {
    .reparaciones { padding: 50px 0 40px; }
    .seccion-cabecera { gap: 10px; }
    .seccion-cabecera .seccion-etiqueta { padding: 8px 14px; font-size: 11px; letter-spacing: .12em; }
}

/* Menos de 1200px: la foto se queda de fondo muy suave detrás de todo */
@media (max-width: 1199px) {
    .rep-fondo {
        width: 100%;
        opacity: .14;
        -webkit-mask-image: none;
        mask-image: none;
    }
}

@media (max-width: 767px) {

    /* Marca y descripción centradas */
    .phonefix-footer .footer-brand { justify-content: center; text-align: center; }
    .phonefix-footer .footer-description {
        text-align: center;
        max-width: 460px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Las 3 garantías en una fila (cada una con su ícono arriba) */
    .phonefix-footer .trust-items {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        text-align: center;
    }
    .phonefix-footer .trust-item {
        flex-direction: column;
        gap: 4px;
        font-size: 11px;
    }

    /* Columnas de enlaces: más compactas */
    .phonefix-footer .footer-column { padding-left: 12px; }
    .phonefix-footer .footer-column h4 { font-size: 15px; margin-bottom: 12px; }
    .phonefix-footer .footer-column li { margin-bottom: 8px; }
    .phonefix-footer .footer-column a { font-size: 13.5px; }

    /* Contacto: 2 columnas con línea arriba */
    .phonefix-footer .footer-contacto {
        border-top: 1px solid rgba(0, 174, 255, .2);
        padding-top: 22px;
        text-align: left;
    }

    /* Redes centradas */
    .phonefix-footer .social-column { text-align: center; }
    .phonefix-footer .social-column h4,
    .phonefix-footer .social-buttons { justify-content: center; }

    /* Barra de abajo centrada */
    .phonefix-footer .footer-bottom .row > div { text-align: center; }
    .phonefix-footer .secure-payment,
    .phonefix-footer .payment-methods { justify-content: center; }
    .phonefix-footer .payment-methods { gap: 8px; }
}

@media (max-width: 575px) {
    /* Contacto y redes en una sola columna, bien centrados */
    .phonefix-footer .footer-contacto { padding-left: 12px; }
    .phonefix-footer .social-column { padding-top: 20px; }
}
/* ==========================================================
   MENÚ SIEMPRE VISIBLE EN CELULAR Y TABLET (pégalo al final de CSS/moderno.css)
   - Se quita el botón hamburguesa
   - Arriba: logo y nombre + óvalo del usuario
   - Abajo: las pestañas en una fila (si no caben, se deslizan con el dedo)
========================================================== */
@media (max-width: 991px) {

    /* Fuera el botón hamburguesa y el menú siempre abierto */
    .navbar-fixoem .navbar-toggler { display: none; }
    .navbar-fixoem .navbar-collapse { display: contents !important; }

    /* Dos filas: arriba marca + óvalo, abajo las pestañas */
    .navbar-fixoem > .container-fluid {
        flex-wrap: wrap;
        align-items: center;
        row-gap: 2px;
    }
    .navbar-fixoem .navbar-brand {
        order: 1;
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        margin-right: 8px;
    }
    .navbar-fixoem .navbar-brand .lh-1 { min-width: 0; }
    .navbar-fixoem .navbar-brand p {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .navbar-fixoem .ovalo-zona { order: 2; flex: 0 0 auto; margin: 0 !important; }
    .navbar-fixoem .ovalo { padding: 5px 12px; font-size: 13px; }
    .navbar-fixoem .navbar-collapse > ul.nav {
        display: flex !important;   /* piezas.css lo escondía en celular */
        order: 3;
        width: 100%;
        flex-wrap: nowrap;
        justify-content: flex-start !important;   /* el centrado lo hacen los márgenes automáticos */
        overflow-x: auto;
        margin: 0;
        padding: 0 0 4px;
        border-top: 1px solid rgba(120, 190, 235, .16);
        scrollbar-width: none;            /* sin barra de desplazamiento */
    }
    .navbar-fixoem .navbar-collapse > ul.nav::-webkit-scrollbar { display: none; }
    .navbar-fixoem .nav-item { flex: 0 0 auto; }
    .navbar-fixoem .nav-item:first-child { margin-left: auto; }
    .navbar-fixoem .nav-item:last-child { margin-right: auto; }
    .navbar-fixoem .nav-link {
        padding: 8px 9px !important;
        font-size: 13.5px !important;
        white-space: nowrap;
    }

    /* Como el menú ahora es más alto, bajamos el contenido de todas las páginas */
    body { padding-top: 74px; }
    html { scroll-padding-top: 120px; }

    /* El óvalo: solo la inicial en pantallas muy chicas */
    .ovalo-nombre { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 400px) {
    .ovalo-nombre, .ovalo-admin { display: none; }
}


main.cotizacion-section {
    background:
        linear-gradient(180deg, rgba(1, 6, 18, .55) 0%, rgba(1, 6, 18, .68) 60%, var(--fondo-web) 100%),
        url("../media/fondo-cotizacion.jpg") center top / cover no-repeat,
        var(--fondo-web);
}
@media (max-width: 767px) {
    main.cotizacion-section {
        background:
            linear-gradient(180deg, rgba(1, 6, 18, .70) 0%, rgba(1, 6, 18, .80) 60%, var(--fondo-web) 100%),
            url("../media/fondo-cotizacion.jpg") 45% top / cover no-repeat,
            var(--fondo-web);
    }
}

/* Íconos junto a cada etiqueta del formulario de cotización */
.cotizacion-section .form-label .icono-label {
    margin-right: 6px;
    color: #19b9ff;
    font-size: 1.05em;
    vertical-align: -1px;
}
/* ==========================================================
   COTIZACIONES: panel informativo sin imagen, con la info mejor acomodada
   (pégalo al final de CSS/moderno.css)
========================================================== */
.cotizacion-section .info-cotizacion {
    justify-content: center;
    padding: 34px 30px;
}
.cotizacion-section .info-etiqueta {
    font-size: 11.5px;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}
.cotizacion-section .info-cotizacion h2 {
    font-size: 30px;
    line-height: 1.15;
    margin-bottom: 14px;
}
.cotizacion-section .info-cotizacion p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 26px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 170, 255, .18);   /* línea que separa el texto de los beneficios */
}
.cotizacion-section .beneficio {
    gap: 14px;
    margin-bottom: 18px;
    font-size: 14px;
}
.cotizacion-section .beneficio:last-child { margin-bottom: 0; }
.cotizacion-section .beneficio i {
    width: 38px;
    height: 38px;
    font-size: 18px;
    border-radius: 10px;
}

@media (max-width: 991px) {
    .cotizacion-section .info-cotizacion { padding: 26px 22px; }
    .cotizacion-section .info-cotizacion h2 { font-size: 26px; }
}

/* ==========================================================
   CONTACTO: nuevo orden (fotos arriba, mapa en medio, datos abajo)
   Pégalo al final de CSS/moderno.css (o de CSS/contacto.css)
========================================================== */
.contacto-seccion .container { max-width: 980px; }

.contacto-bloque { padding: 26px; }

/* Etiqueta numerada: 01 · CONÓCENOS */
.contacto-paso {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 14px;
    background: rgba(0, 170, 255, .12);
    border: 1px solid rgba(0, 170, 255, .35);
    border-radius: 999px;
    color: #19b9ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}
.contacto-tarjeta h2.contacto-titulo {
    margin: 0 0 6px;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
}
.contacto-sub { margin: 0 0 18px; color: #9bb5c8; }

/* 01: dos fotos con su nombre abajo */
.contacto-fotos.contacto-fotos-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.contacto-fotos-2 figure { margin: 0; }
.contacto-fotos-2 img { height: 240px; }
.contacto-fotos-2 figcaption {
    margin-top: 10px;
    color: #e9f7ff;
    font-weight: 600;
}

/* 02: mapa y botón "Cómo llegar" debajo, de lado a lado */
.contacto-mapa-caja {
    overflow: hidden;
    border: 1px solid #16466b;
    border-radius: 12px;
}
.contacto-mapa-caja iframe {
    display: block;
    width: 100%;
    height: 340px;
    border: 0;
}
.contacto-llegar-ancho {
    display: flex;
    justify-content: center;
    margin-top: 14px;
    padding: 13px 20px;
}

/* 03: datos en cuadritos (2 por fila) */
.contacto-datos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.contacto-datos .contacto-dato {
    background: rgba(9, 36, 58, .7);
    border: 1px solid #174a6c;
}
.contacto-datos .contacto-dato:last-child:nth-child(odd) { grid-column: 1 / -1; }

.contacto-tarjeta h2.contacto-redes-titulo { margin: 24px 0 12px; }

/* Celular: todo en una columna */
@media (max-width: 767px) {
    .contacto-bloque { padding: 20px 16px; }
    .contacto-tarjeta h2.contacto-titulo { font-size: 22px; }
    .contacto-fotos.contacto-fotos-2 { grid-template-columns: 1fr; }
    .contacto-fotos-2 img { height: 200px; }
    .contacto-mapa-caja iframe { height: 280px; }
    .contacto-datos { grid-template-columns: 1fr; }
} 