/* Sistema de Gestión de Calidad - estilos añadidos al sitio de Ovalle & Asociados.
   Solo usa los tokens del sitio: Open Sans, coral #e24637 (hover botón #3c60a0), gris #f6f6f6, oscuro #333,
   títulos de sección en mayúsculas 600 #555 con barra coral (hr), texto #777 14px, fondos oscuros con foto. */

/* ---------- utilidades ---------- */
.ova-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* ---------- menú: ítem destacado ---------- */
.navbar-custom .nav li.ova-menu-calidad a { color: #fff; background: #e24637; border-radius: 3px; margin: 8px 0 8px 12px; padding: 8px 16px; line-height: 20px; }
.navbar-custom .nav li.ova-menu-calidad a:hover, .navbar-custom .nav li.ova-menu-calidad a:focus,
.navbar-custom .nav li.ova-menu-calidad.active a { color: #fff; background: #3c60a0; }
@media (max-width: 767px) {
  .navbar-custom .nav li.ova-menu-calidad a { margin: 8px 15px; text-align: center; display: block; }
}

/* ---------- página interna: la barra fija debe verse siempre (main.js la oculta hasta bajar 200 px) ---------- */
body.ova-interna { padding-top: 50px; }
body.ova-interna .navbar { display: block !important; opacity: 1 !important; }

/* ---------- hero ---------- */
#ova-hero { position: relative; padding: 110px 0 100px; color: #fff; background: #000 url("../img/calidad-hero.webp") center / cover no-repeat; }
#ova-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); }
#ova-hero .container { position: relative; }
#ova-hero h1 { font-size: 54px; font-weight: 700; line-height: 1.15; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); margin: 0 0 20px; }
#ova-hero h1 .ova-coral { color: #e24637; text-shadow: 0 3px #e24637; }
#ova-hero .ova-etiqueta { color: #fff; font-size: 16px; letter-spacing: 3px; text-transform: uppercase; margin: 0 0 10px; }
#ova-hero .ova-hero-texto { font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, 0.9); max-width: 680px; margin: 0 auto 30px; }
#ova-hero .btn-default { margin: 6px 8px; }
.ova-btn-borde, .ova-btn-borde:focus { background: transparent; border: 2px solid #fff; padding: 10px 22px; color: #fff; }
.ova-btn-borde:hover, .ova-btn-borde:active { background: #fff; color: #e24637; }
@media (max-width: 767px) { #ova-hero { padding: 80px 0; } #ova-hero h1 { font-size: 34px; } #ova-hero .btn-default { display: block; margin: 12px auto; max-width: 320px; } }

/* ---------- secciones ---------- */
.ova-seccion { padding: 100px 0; }
.ova-gris { background: #f6f6f6; }
.ova-blanca { background: #fff; }
@media (max-width: 767px) { .ova-seccion { padding: 60px 0; } }
#que-es .about-text { margin-left: 10px; }
#que-es h4 { font-size: 34px; }
#que-es li { margin-bottom: 3px; list-style: none; padding: 0; font-size: 17px; }
#que-es li::before { content: "\f00c"; font-family: FontAwesome; color: #e24637; margin-right: 8px; font-size: 13px; }
#que-es img { margin-bottom: 20px; }
.section-title p { margin-top: 10px; }

/* ---------- principios (misma sección oscura de "Nuestros Servicios") ---------- */
.ova-oscura { position: relative; padding: 120px 0; background: #333 url("../img/services-bg.jpg") center / cover no-repeat; }
.ova-oscura::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); }
.ova-oscura .container { position: relative; }
.ova-oscura h2 { color: #f6f6f6; }
.ova-oscura .service { padding: 20px 10px; }
.ova-oscura .service h3 { font-size: 20px; font-weight: 600; color: #f6f6f6; }
.ova-oscura .service p { color: rgba(255, 255, 255, 0.7); }
.ova-oscura i.fa { font-size: 36px; color: #e24637; }
@media (max-width: 767px) { .ova-oscura { padding: 70px 0; } }

/* ---------- documentos ---------- */
.ova-doc { background: #fff; padding: 28px 24px; margin-bottom: 30px; border-radius: 2px; min-height: 285px; text-align: center; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.ova-doc i.fa { font-size: 30px; color: #e24637; padding: 5px; }
.ova-doc h3 { margin: 10px 0 10px; }
.ova-doc p { margin-bottom: 10px; }
.ova-doc ul { margin: 0; padding: 10px 0 0; border-top: 1px solid #eee; }
.ova-doc li { font-size: 13px; padding: 2px 0; color: #e24637; }

/* ---------- beneficios ---------- */
.ova-centrar { display: flex; align-items: center; flex-wrap: wrap; }
@media (max-width: 991px) { .ova-centrar { display: block; } .ova-centrar img { margin: 0 auto 30px; } }
.ova-lista { margin: 0; padding: 0; list-style: none; }
.ova-lista li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; font-size: 15px; line-height: 1.6; border-bottom: 1px solid #eee; }
.ova-lista li:last-child { border-bottom: 0; }
.ova-lista i.fa { color: #e24637; font-size: 18px; margin-top: 4px; }
.ova-lista strong { color: #555; font-weight: 600; }

/* ---------- compromisos ---------- */
.ova-compromisos { counter-reset: c; list-style: none; margin: 10px 0 0; padding: 0; }
.ova-compromisos li { counter-increment: c; display: flex; align-items: flex-start; gap: 16px; padding: 14px 18px; margin-bottom: 12px; background: #fff; font-size: 15px; line-height: 1.6; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.ova-compromisos li::before { content: counter(c); flex: none; width: 30px; height: 30px; border-radius: 50%; background: #e24637; color: #fff; font-weight: 600; line-height: 30px; text-align: center; font-size: 14px; }

/* ---------- banda de acceso (portada y calidad) ---------- */
.ova-banda { padding: 80px 0; background: #e24637; color: #fff; }
.ova-banda h2 { color: #fff; }
.ova-banda hr { background: #fff; }
.ova-banda p { color: #fff; font-size: 15px; line-height: 1.7; }
.ova-botones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ova-botones .btn-default { margin: 0; }
.ova-btn-claro, .ova-btn-claro:focus { background: #fff; color: #e24637; }
.ova-btn-claro:hover, .ova-btn-claro:active { background: #333; color: #fff; }
.ova-banda .ova-btn-borde:hover { background: #fff; color: #e24637; }
@media (max-width: 767px) { .ova-banda { padding: 60px 0; } .ova-botones .btn-default { width: 100%; font-size: 16px; } }

/* ---------- defecto del original: el slider de logos mide 800 px fijos y desborda la pantalla en móvil ---------- */
@media (max-width: 820px) {
  .slider-holder { width: 100%; height: auto; }
  .image-holder { width: 300%; height: auto; }
  .slider-image { width: 33.3333%; height: auto; }
  #slider-image-2:target ~ .image-holder { left: -100%; }
  #slider-image-3:target ~ .image-holder { left: -200%; }
}

/* ---------- acceso.html ---------- */
body.ova-acceso { margin: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #f6f6f6;
  font-family: "Open Sans", sans-serif; color: #777; padding: 25px; }
.ova-acceso-caja { background: #fff; padding: 40px 30px; max-width: 560px; width: 100%; text-align: center; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1); }
.ova-acceso-caja img { display: block; margin: 0 auto 20px; max-width: 220px; width: 100%; height: auto; }
.ova-acceso-caja h1 { font-size: 24px; font-weight: 600; text-transform: uppercase; color: #555; margin: 0 0 20px; }
.ova-acceso-caja hr { height: 4px; width: 70px; background: #e24637; border: 0; margin: 0 auto 24px; }
.ova-acceso-caja p { font-size: 14px; line-height: 1.7; margin: 0 0 14px; }
.ova-botones { margin-top: 22px; }
.ova-btn { display: inline-block; padding: 12px 24px; font-family: inherit; font-size: 15px; line-height: 1.3; color: #f6f6f6; background: #e24637; border: 2px solid #e24637;
  border-radius: 4px; text-decoration: none; cursor: pointer; transition: all .5s; }
.ova-btn:hover, .ova-btn:focus-visible { background: #3c60a0; border-color: #3c60a0; color: #f6f6f6; }
.ova-btn--borde { background: transparent; color: #e24637; }
.ova-btn--borde:hover, .ova-btn--borde:focus-visible { background: #3c60a0; border-color: #3c60a0; color: #f6f6f6; }
.ova-cuenta { color: #e24637; font-weight: 600; }
a.ova-volver { display: inline-block; margin-top: 20px; color: #e24637; }
.ova-acceso-caja a:focus-visible, .ova-btn:focus-visible { outline: 3px solid #333; outline-offset: 3px; }
