/* Títulos destacados de secciones en amarillo */
h2, h2.section-title, .section-title {
  color: #ffc107;
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* Ajuste para subtítulos o frases importantes en amarillo */
.text-yellow, .text-warning, .section-highlight {
  color: #ffc107 !important;
  font-weight: 600;
}
/* Ajuste para tarjetas y secciones de fondo blanco en todas las páginas */
.modern-card.bg-white, .modern-card.bg-light, .modern-card.bg-white *, .modern-card.bg-light * {
  color: #23272a !important;
}
.modern-card.bg-white .servicio-title, .modern-card.bg-light .servicio-title {
  color: #23272a !important;
}
.modern-card.bg-white .servicio-desc, .modern-card.bg-light .servicio-desc {
  color: #23272a !important;
}
.modern-card.bg-white .servicio-beneficio, .modern-card.bg-light .servicio-beneficio {
  color: #23272a !important;
}

/* Títulos sobre fondo oscuro en todas las páginas */
.modern-section.bg-dark .servicio-title, .modern-section.bg-dark .modern-card .servicio-title, .hero-servicios h1 {
  color: #ffc107 !important;
}
/* ==== ESTILOS EXCLUSIVOS PARA servicios.html ==== */
.modern-section {
  background: #23272a;
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px #000a;
  margin-bottom: 2.5rem;
  padding: 2.5rem 1.5rem;
}
.modern-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px #ffd60055;
  padding: 2rem 1.5rem;
  margin-bottom: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
  color: #23272a;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: 2px solid #ffc107;
}
.modern-card:hover {
  box-shadow: 0 8px 32px #ffd60099;
  transform: translateY(-6px) scale(1.03);
  border-color: #23272a;
}
.servicio-icon {
  color: #ffc107;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.servicio-title {
  color: #23272a;
  font-weight: 800;
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  text-shadow: none;
}
.servicio-desc {
  color: #23272a;
  font-size: 1.08rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  text-shadow: none;
}
.servicio-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 1.2rem 1.2rem 0 0;
  margin-bottom: 1rem;
}
.servicio-beneficio {
  color: #23272a;
  font-size: 1.01rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  text-shadow: none;
}
.servicio-beneficio i {
  color: #ffc107;
  margin-right: 0.5rem;
  text-shadow: none;
}
@media (max-width: 767px) {
  .modern-section { padding: 1.2rem 0.5rem; }
  .modern-card { padding: 1.2rem 0.5rem; }
  .servicio-img { height: 100px; }
  .servicio-title { font-size: 1.1rem; }
}

/* HERO y textos claros sobre fondo oscuro */
.hero-servicios h1, .hero-servicios p {
  text-shadow: none;
}
.hero-servicios h1 {
  color: #ffc107 !important;
  font-weight: 900;
  letter-spacing: 1px;
}
.hero-servicios p {
  color: #fff !important;
  font-size: 1.25rem;
  font-weight: 500;
}
/* Tarjetas y secciones modernas */
.modern-card, .bg-white.rounded-4, .service-card {
  border-radius: 1.2rem !important;
  box-shadow: 0 2px 16px #0002 !important;
  background: #fff !important;
  color: #223c47 !important;
  padding: 2rem 1.5rem !important;
  margin-bottom: 2rem !important;
  transition: box-shadow 0.2s, transform 0.2s;
}
.modern-card:hover, .service-card:hover {
  box-shadow: 0 8px 32px #ffd60055 !important;
  transform: translateY(-6px) scale(1.03);
}
.modern-card h2, .modern-card h5, .modern-card h4, .modern-card h3 {
  color: #223c47 !important;
}
.modern-card .text-warning, .modern-card h5[style*="color:#ffc107"] {
  color: #ffc107 !important;
}
.modern-card .fa-2x, .modern-card .fa-lg {
  color: #ffd600 !important;
}
.modern-card ul {
  margin-bottom: 0;
}
.modern-section {
  padding: 3rem 0 2rem 0;
}
.modern-section.bg-light {
  background: #f8f9fa !important;
}
.modern-section.bg-dark {
  background: #223c47 !important;
}
.modern-section .row {
  margin-left: 0;
  margin-right: 0;
}
.modern-section .col-md-4, .modern-section .col-md-3 {
  margin-bottom: 1.5rem;
}
.modern-section h2, .modern-section h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.modern-section .fa-star, .modern-section .fa-lightbulb {
  color: #ffd600 !important;
}
.modern-section .fa-check {
  color: #43a047 !important;
}
.modern-section .fa-bolt, .modern-section .fa-users, .modern-section .fa-award {
  color: #ffc107 !important;
}
.modern-section .text-dark {
  color: #223c47 !important;
}
.modern-section .text-warning {
  color: #ffc107 !important;
}
.modern-section .bg-white {
  background: #fff !important;
}
.modern-section .rounded-4 {
  border-radius: 1.2rem !important;
}
.modern-section .shadow {
  box-shadow: 0 2px 16px #0002 !important;
}
.modern-section .h-100 {
  height: 100% !important;
}
/* ==== ESTILOS MODERNOS PARA index.html Y SECCIONES ==== */
.marcas-section {
  background: url('imagenes/fondo_herramientas.jpg') center/cover no-repeat;
  padding: 60px 20px;
  text-align: center;
  color: #fff;
  position: relative;
}

.marcas-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Oscurece el fondo */
  z-index: 0;
}

.marcas-section h2 {
  position: relative;
  z-index: 1;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.marcas-contenedor {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.marca-logo img {
  width: 150px;
  height: auto;
  background: #fff;
  padding: 10px;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.marca-logo img:hover {
  transform: scale(1.05);
}

/* Tarjetas y secciones modernas */
.modern-card, .bg-white.rounded-4, .bg-light.rounded-4, .card.shadow {
  border-radius: 1.2rem !important;
  box-shadow: 0 2px 16px #0002 !important;
  background: #fff !important;
  color: #223c47 !important;
  padding: 2rem 1.5rem !important;
  margin-bottom: 2rem !important;
  transition: box-shadow 0.2s, transform 0.2s;
}
.modern-card:hover, .card.shadow:hover {
  box-shadow: 0 8px 32px #ffd60055 !important;
  transform: translateY(-6px) scale(1.03);
}
.modern-card h2, .modern-card h5, .modern-card h4, .modern-card h3 {
  color: #223c47 !important;
}
.modern-card .text-warning, .modern-card h5[style*="color:#ffc107"] {
  color: #ffc107 !important;
}
.modern-card .fa-2x, .modern-card .fa-lg {
  color: #ffd600 !important;
}
.modern-card ul {
  margin-bottom: 0;
}
.modern-section {
  padding: 3rem 0 2rem 0;
}
.modern-section.bg-light {
  background: #f8f9fa !important;
}
.modern-section.bg-dark {
  background: #223c47 !important;
}
.modern-section .row {
  margin-left: 0;
  margin-right: 0;
}
.modern-section .col-md-4, .modern-section .col-md-3 {
  margin-bottom: 1.5rem;
}
.modern-section h2, .modern-section h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.modern-section .fa-star, .modern-section .fa-lightbulb {
  color: #ffd600 !important;
}
.modern-section .fa-check {
  color: #43a047 !important;
}
.modern-section .fa-bolt, .modern-section .fa-users, .modern-section .fa-award {
  color: #ffc107 !important;
}
.modern-section .text-dark {
  color: #223c47 !important;
}
.modern-section .text-warning {
  color: #ffc107 !important;
}
.modern-section .bg-white {
  background: #fff !important;
}
.modern-section .rounded-4 {
  border-radius: 1.2rem !important;
}
.modern-section .shadow {
  box-shadow: 0 2px 16px #0002 !important;
}
.modern-section .h-100 {
  height: 100% !important;
}

footer {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 1rem;
  margin-top: 2rem;
  background: #181d23;
  color: #f8f9fa;
}

@media (max-width: 991px) {
  .modern-section { padding: 2rem 0 1rem 0; }
  .modern-card, .card.shadow { padding: 1.2rem 0.7rem !important; }
}
@media (max-width: 768px) {
  .modern-section { padding: 1rem 0.5rem; }
  .modern-card, .card.shadow { padding: 1rem 0.5rem !important; }
}
