*, html{font-family:'Roboto';box-sizing: border-box;margin: 0;padding: 0;}
@font-face{font-family:'Roboto';src:url('fonts/Roboto-Regular.woff2') format('woff2'),url('fonts/Roboto-Regular.woff') format('woff');font-weight:400;font-style:normal;font-display:swap;}

body{background: #dee1e3;font-family:'Roboto';margin:0;}
/* Formulario de comentario */
#comment-form {
    background-color: #fff;
    margin-left:138px;
    margin-top:20px;
    padding: 20px;
    width: 50%;
    border-radius: 0px;
}
/* Contenedor general */
.breadcrumb-container {
  font-family: 'Roboto', 'Segoe UI', sans-serif;
  margin-bottom: 30px;
}

/* Lista de navegación */
.breadcrumb {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  font-size: 18px;
  color: #000;
  background:;
  margin: 0 auto;
  padding-top: 10px;
  width: 80%;
}

/* Enlaces */
.breadcrumb a {
  text-decoration: none;
  color: #007bff;
  transition: color 0.2s ease-in-out;
}

.breadcrumb a:hover {
  color: #0056b3;
}

/* Separador */
.separator {
  margin: 0 10px;
  color: #adb5bd;
}

/* Elemento actual */
.breadcrumb .current {
  color: #212529;
  font-weight: 500;
}

/* Título */
.titlePag {
  margin-top: 10px;
  font-size: 28px;
  font-weight: bold;
  color: #212529;
}
nav#categoriaBlog{
  background: none;
  text-align: center;
}
nav#categoriaBlog h1{
  background: ;
  color:crimson;
  font-size:40px;
  margin: 0 auto;
  text-align:left;
  width: 80%;
}
/* ------------------------- */
/* 📱 RESPONSIVE STYLES */
/* ------------------------- */
@media (max-width: 768px) {
  .breadcrumb {
    font-size: 14px;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
    width: 100%;
  }

  .breadcrumb::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  .titlePag {
    font-size: 40px;
  }
  nav#categoriaBlog{
    background: none;
    text-align: center;
  }
  nav#categoriaBlog h1{
    background: ;
    color:crimson;
    font-size:40px;
    margin: 0 auto;
    text-align:left;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .breadcrumb li:nth-child(3),
  .breadcrumb li:nth-child(4) {
    display: none; /* Oculta "Blog" y su separador en móviles */
  }

  .titlePag {
    font-size: 20px;
    line-height: 1.3;
  }
}
/* ====== Sección Local ====== */
section {
  margin: 2rem 0;
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

section h2 {
  font-size: 1.8rem;
  color: #1d3557;
  margin-bottom: 1rem;
  border-left: 6px solid #457b9d;
  padding-left: 10px;
}

section h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  color: #457b9d;
}

section p {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

section ul {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem 1rem;
}

section ul li {
  background: #f1f5f9;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #333;
  position: relative;
  transition: all 0.3s ease;
}

section ul li::before {
  content: "📍";
  margin-right: 6px;
}

section ul li:hover {
  background: #e0f2fe;
  transform: translateX(4px);
}
section.map-section{
  background: none;
  box-shadow:none;
}
div#wrapStars{
  background: ;
  height: auto;
  margin-top:20px;
  padding: 25px;
  text-align: center;
  width: 100%;
}
div.star-rating h2{
  font-size:35px;
}
.star-rating {
  direction: rtl;
  display: inline-flex;
  font-size: 2rem;
}
.star {
  cursor: pointer;
  color: #ccc;
  transition: color 0.2s;
}
.star:hover,
.star:hover ~ .star,
.star.selected {
  color: yellow;
}
.star-rating {
direction: rtl;
display: inline-flex;
font-size: 2rem;
}
.star {
cursor: pointer;
color: #ccc;
transition: color 0.2s;
}
.star.filled {
color: yellow;
}
.star-rating {
direction: rtl;
display: inline-flex;
font-size: 2rem;
position: relative;
}

.star {
cursor: pointer;
color: #ccc;
position: relative;
}

.star.filled {
color: yellow;
}

.star.partial {
background: linear-gradient(90deg, gold var(--percent), #ccc var(--percent));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.topbar {
  background: linear-gradient(90deg, #1e3a8a, #1d4ed8);
  color: #fff;
  font-size: 0.9rem;
  padding: 6px 20px;
  font-family: 'Roboto', Arial, sans-serif;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.topbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.topbar-text { font-weight: 600; margin-right: 10px; }
.topbar-badge {
  background: rgba(255,255,255,0.15);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.topbar-right a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.topbar-right a:hover { color: #facc15; }

.topbar-cta {
  background: crimson;
  color: #fff !important;
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: bold;
  transition: all 0.3s ease;
}
.topbar-cta:hover { background: #eab308; }
nav {
  background: crimson;
  padding:0;
  position: relative;
}
button#openMenu,
button#closeMenu{
  display: none;
}
img#imgShow{
  display: none;
}
.nav-container {

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-container img { max-height: 60px; }

/* Menu desktop */
ul#navMenu {
  background:;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  width: 100%;
}

ul#navMenu li {
  display: inline-block;
  margin: 0;
  margin-left:10px;
  margin-right:10px;
  position: relative;
  vertical-align: middle;
  width: auto;
}

ul#navMenu li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 5px;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

ul#navMenu li a.active,
ul#navMenu li a:hover { color: #facc15; }

/* Tooltips */
.tooltip2 {
  border-bottom:1px dotted white;
  position: relative;
 }
.tooltip2 .tooltiptext2 {
  visibility: hidden;
  width: 200px;
  background-color: rgba(0,0,0,0.85);
  color: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  position: absolute;
  z-index: 10;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
}
.tooltip2:hover .tooltiptext2 { visibility: visible; opacity:1; transform: translateX(-50%) translateY(120%);}
.tooltip2 .tooltiptext2 img { width: 20px; height: 20px; }

/* Botón especial */
ul#navMenu li a.boton-prueba {
  background: black;
  border-radius:20px;
  color: white;
  font-size:18px;
  padding: 10px 20px;
  padding-left:20px;
  font-weight: ;
  transition: all 0.3s;
}
ul#navMenu li a.boton-prueba:hover { background: white;color:crimson; }

/* Botones hamburguesa y cerrar */
.menu-toggle, .menu-close {
  font-size: 28px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

#comment-form h2 {
    margin-bottom: 20px;
    color: #262626;
    font-size: 30px;
}

#comment-form input[type="text"],
#comment-form input[type="email"],
#comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 0px;
    background: #f9f9f9;
    font-size: 18px;
    transition: border 0.2s;
}
#comment-form textarea{
  max-height: 125px;
  max-width: 100%;
}

#comment-form input:focus,
#comment-form textarea:focus {
    border-color: #e1306c; /* color Instagram */
    outline: none;
    background: #fff;
}

#comment-form button {
    background-color: crimson; /* Instagram pink */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 0px;
    font-size:20px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

#comment-form button:hover {
    background-color: #c52e62;
}

/* Sección de comentarios */
#comments-section {
  background-color:;
      margin-left:138px;
  margin-top:20px;
  padding: 0px;
  width: 50%;
  border-radius: 0px;
}

/* Comentario individual */
.comment {
    background:;
    border:none;
    border-radius: 0px;
    font-size:18px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

/* Avatar */
.comment .avatar {
    width: 40px;
    height: 40px;
    background: rgba(220,20,60,.6);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Texto del comentario */
.comment strong {
    color: crimson;
    font-size: 18px;


}

.comment p {
  color:#444;
    font-size: 16px;
    margin: 5px 0 10px;
}

/* Acciones: responder, me gusta */
.comment .actions {
    font-size: 13px;
    color: #999;
}

.comment .actions span {
  color:crimson;
    cursor: pointer;
    margin-right: 20px;
}
.comment .actions span:hover {
    color: #e1306c;
}

/* Subcomentarios (respuestas) */
.comment + .comment {

    margin-left: 20px;
}
/* Estilos generales para la sección */
.problemas-seguridad {
  padding: 60px 20px;
  background-color: #f4f6f8; /* Fondo claro profesional */
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  color: #2c2c2c;
}

.problemas-seguridad h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #1a1a1a;
}

/* Grid responsivo */
.problemas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* Tarjetas individuales */
.problema-item {
  background-color: #ffffff;
  border: 1px solid #d1d1d1;
  border-left: 6px solid #003366; /* Azul corporativo profundo */
  border-radius: 8px;
  padding: 25px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.problema-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.problema-item h3 {
  font-size: 20px;
  font-weight: 600;
  color: #003366;
  margin-bottom: 15px;
}

.problema-item p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.problema-item strong {
  color: #222;
  font-weight: 600;
}


@media (max-width: 768px){
  #comment-form {
      background-color: #fff;
      margin: 0 auto;
      margin-top:20px;
      padding: 20px;
      width: 90%;
      border-radius: 0px;
  }


  /* Sección de comentarios */
  #comments-section {
    background-color:;
    margin: 0 auto;
    margin-top:20px;
    padding: 0px;
    width: 90%;
    border-radius: 0px;
  }

  /* Comentario individual */
  .comment {
      background:;
      border: 0px solid #e6e6e6;
      border-radius: 0px;
      font-size:18px;
      padding: 15px;
      margin-bottom: 15px;
      display: flex;
      align-items: flex-start;
  }

  /* Avatar */
  .comment .avatar {
      width: 40px;
      height: 40px;
      background: #e1306c;
      color: #fff;
      border-radius: 50%;
      text-align: center;
      line-height: 40px;
      font-weight: bold;
      margin-right: 15px;
      flex-shrink: 0;
  }

  /* Texto del comentario */
  .comment strong {
      color: crimson;
      font-size: 18px;
  }

  .comment p {
    color:#444;
      font-size: 16px;
      margin: 5px 0 10px;
  }

  /* Acciones: responder, me gusta */
  .comment .actions {
      font-size: 13px;
      color: #999;
  }

  .comment .actions span {
    color:crimson;
      cursor: pointer;
      margin-right: 20px;
      transition: color 0.2s ease-in-out;
  }
  .comment .actions span:hover {
      color: #e1306c;
  }

  /* Subcomentarios (respuestas) */
  .comment + .comment {
      margin-left: 20px;
  }
  .topbar-container { flex-direction: column; gap: 6px; text-align: center; }
  .topbar-right { justify-content: center; }
  button#openMenu,
  button#closeMenu{
    display: inherit;
  }
  button#closeMenu{
    position: absolute;
    right:10px;
    top:10px;
    z-index:200;
  }
  nav{
    padding: 20px;
    position: relative;
    text-align: center;
  }
  ul#navMenu {
    background:;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: crimson;
    padding: 0px;
    opacity: 0;
      text-align: center;
    transition: left 0.4s ease, opacity 0.4s ease;
    z-index:30000;
  }
  img#imgShow{
    display: inherit;
    width: 150px;
  }

  ul#navMenu.show {
    left: 0;
    opacity: 1;
    box-shadow: 4px 0 15px rgba(0,0,0,0.2);
  }

  ul#navMenu li {
    background:;
    display: block;
    font-size:24px;
    margin: 0 auto;
    margin-bottom:0px;
    opacity: 0;
    padding-left:50px;
    text-align: center;
    transform: translateX(-30px);
    transition: transform 0.4s ease, opacity 0.4s ease;
    width: 100%;
  }

  ul#navMenu.show li {
    opacity: 1;
    transform: translateX(0);
    transition-delay: calc(var(--i) * 0.08s);
  }
  .tooltip2 {
    display: none;
    border-bottom:0px dotted white;
    position: relative;
   }
   .tooltip2:hover .tooltiptext2 { visibility: hidden; opacity:1; transform: translateX(-50%) translateY(120%);}
   .tooltip2 .tooltiptext2 img { width: 20px; height: 20px; }
  /* Botón especial */
  ul#navMenu li a.boton-prueba {
    background: black;
    border-radius:0px;
    color: white;
    font-size:24px;
    padding: 10px 20px;
    padding-left:20px;
    font-weight: ;
    transition: all 0.3s;
    width: 300px;
  }
  /*img { max-height: 120px; }*/
  /* Botones hamburguesa y cerrar */
  .menu-close {
    font-size: 50px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    right:-100px;
    top:10px;
  }
  .topbar {
    background: linear-gradient(90deg, #1e3a8a, #1d4ed8);
    background:;
    color: #fff;
    font-size: 0.9rem;
    padding:0px;
    font-family: 'Roboto', Arial, sans-serif;
    border-bottom: 1px solid rgba(255,255,255,0.1);

  }

  .topbar-container {
    background:;
    display: block;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0 auto;

  }


  .topbar-text { font-weight: 600; margin-right: 10px; }
  .topbar-badge {
    background: rgba(255,255,255,0.15);
    background: ;
    display: block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    align-items: center;
    vertical-align: middle;
  }

  .topbar-right {
    display:block;
    align-items: center;
    align-items: center;
    vertical-align: middle;
    gap: 15px;
  }

  .topbar-right a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    display: block;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
  }
    .topbar-right a img{
      margin-right:10px;
      vertical-align: middle;
    }

  .topbar-right a:hover { color: #facc15; }

  .topbar-cta {
    background: crimson;
    color: #fff !important;
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: bold;
    margin-bottom:10px;
    transition: all 0.3s ease;
  }
  .topbar-cta:hover { background: #eab308; }

}
