/* =============================
   ESTILOS GENERALES DE RUBROS
   ============================= */

.rubro-page {
  font-family: 'Inter', Arial, sans-serif;
  color: #222;
  background-color: #fff;
}

/* Contenedor */
.rubro-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- HERO --- */
.rubro-hero {
  background: linear-gradient(135deg, #F54D29 0%, #c74021 100%);
  color: #fff;
  text-align: center;
  padding: 50px 20px 50px;
}

.rubro-title {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.rubro-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 30px;
}

.rubro-btn {
  display: inline-block;
  background: #fff;
  color: #F54D29;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
}

.rubro-btn:hover {
  background: #e5e9ff;
}

/* --- FEATURES --- */
.rubro-features {
  background: #f9fafb;
  padding: 40px 0;
  text-align: center;
}

.rubro-section-title {
  font-size: 1.9rem;
  margin-bottom: 40px;
  color: #1a1a1a;
}

.rubro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.rubro-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 25px 30px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.rubro-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Icono dentro de la tarjeta */
.rubro-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F54D29, #db4422);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rubro-icon svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

/* Título y texto */
.rubro-card-title {
  color: #F54D29;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.rubro-card-text {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Fondo decorativo */
.rubro-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,82,204,0.05), rgba(0,115,230,0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 16px;
}

.rubro-card:hover::before {
  opacity: 1;
}

/* --- CTA --- */
.rubro-cta {
  background: #F54D29;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.rubro-cta-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.rubro-cta-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.rubro-cta .cta-btn {
  background: #fff;
  color: #F54D29;
}

.rubro-cta .cta-btn:hover {
  background: #e5e9ff;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .rubro-hero {
    padding: 80px 15px;
  }

  .rubro-title {
    font-size: 1.9rem;
  }

  .rubro-grid {
    gap: 16px;
  }

  .rubro-features {
    padding: 60px 0;
  }

  .rubro-cta {
    padding: 60px 20px;
  }
}

.rubro-intro {
  background: #ffffff;
  padding: 36px 0;
  text-align: left;
  color: #333;
}

.rubro-intro-title {
  font-size: 1.4rem;
  color: #F54D29; /* color principal */
  margin-bottom: 12px;
}

.rubro-intro-paragraph {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 980px;
  margin: 0 0 18px;
  color: #444;
}

.rubro-intro-points {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.rubro-intro-points li 
{
  background: linear-gradient(180deg, rgba(0,82,204,0.06), rgba(0,115,230,0.03));
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #F54D29;
}

/* Responsive */
@media (max-width: 768px) 
{
  .rubro-intro { padding: 28px 0; }
  .rubro-intro-title { font-size: 1.2rem; }
  .rubro-intro-paragraph { font-size: 0.98rem; }
  .rubro-intro-points { gap: 12px; }
}

.autopartes-section {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f4f4f4;
    padding: 30px;
}

.autopartes-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.autopartes-section h1 {
    font-size: 28px;
    color: #F54D29;
    margin-bottom: 15px;
    text-align: center;
}

.autopartes-section h2 {
    font-size: 22px;
    color: #343a40;
    margin-top: 30px;
}

.autopartes-section p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.autopartes-section .intro {
    font-weight: bold;
    font-size: 18px;
}

.autopartes-section .solution {
    font-style: italic;
    color: #F54D29;
}

.autopartes-section .link a {
    color: #F54D29;
    text-decoration: none;
}

.autopartes-section .link a:hover {
    text-decoration: underline;
}

.autopartes-section .points {
    list-style-type: disc;
    margin-left: 20px;
}

.autopartes-section .points li {
    font-size: 16px;
    margin-bottom: 10px;
}

.autopartes-section .points ul {
    list-style-type: circle;
    margin-left: 30px;
}

.autopartes-section strong {
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .autopartes-section {
        padding: 15px;
    }

    .autopartes-section h1 {
        font-size: 24px;
    }

    .autopartes-section h2 {
        font-size: 20px;
    }

    .autopartes-section p {
        font-size: 14px;
    }
}