
body {
  font-family: 'Poppins', sans-serif;
  background: #f3f3f3;
}

.mainbox{
    background: #f7f7f7;
}

.mainbox * {
    font-family: 'Poppins';
}

.custom-nav {
  background: white;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero {
  background-color: #ffffff;
  padding-top: 2em;
  padding-bottom: 80px;
}

.hero-line {
  width: 60px;
  height: 3px;
  background: #bd0a24;
  margin-bottom: 20px;
}

.hero-title {
  font-weight: 700;
  font-size: 38px;
}

.hero-text {
  color: #666;
}

/* CONTENEDOR */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

/* BOTONES */
.btn-chip {
  border: 1px solid #bd0a24;
  color: #bd0a24;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

/* HOVER */
.btn-chip:hover {
  background: #bd0a24;
  color: white;
  transform: translateY(-2px);
}

/* ACTIVO */
.btn-chip.active {
  background: #bd0a24;
  color: white;
  box-shadow: 0 6px 14px rgba(189, 10, 36, 0.25);
}

/* TABLET */
@media (min-width: 768px) {
  .hero-buttons {
    gap: 12px;
  }

  .btn-chip {
    font-size: 14px;
    padding: 8px 16px;
  }
}

/* DESKTOP */
@media (min-width: 1200px) {
  .hero-buttons {
    gap: 14px;
    margin-top: 30px;
  }

  .btn-chip {
    font-size: 15px;
    padding: 10px 18px;
  }
}

/* ULTRA WIDE */
@media (min-width: 1600px) {
  .hero-buttons {
    gap: 16px;
  }

  .btn-chip {
    font-size: 16px;
    padding: 12px 22px;
  }
}

.btn-chip {
  border: 1px solid #bd0a24;
  color: #bd0a24;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
}

.btn-chip:hover {
  background: #bd0a24;
  color: white;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 20px;
  font-weight: 600;
}

.line {
  flex: 1;
  height: 2px;
  background: #bd0a24;
}

.icon-red {
  color: #bd0a24;
  font-size: 22px;
}

/* PREVIEW SECTION */
.faq-preview {
  margin-top: 40px;
  margin-bottom: 60px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* CARD */
.preview-card {
  background: white;
  border-radius: 14px;
  padding: 18px;
  transition: 0.3s;
  border: 1px solid #eee;
}

.preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

/* HEADER */
.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.preview-header h5 {
  margin: 0;
  font-weight: 600;
}

/* VIEW ALL BUTTON */
.see-more {
  background: none;
  border: none;
  color: #bd0a24;
  font-size: 13px;
  cursor: pointer;
  font-weight: 500;
}

.see-more:hover {
  text-decoration: underline;
}

.section-block {
  display: none;
}

.section-block.active {
  display: block;
}

.hidden {
  display: none !important;
}
/* ITEMS */
.preview-item {
  background: #fafafa;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: 0.25s;
}

.preview-item:hover {
  background: #f1f1f1;
}

.preview-item p {
  margin: 5px 0 0;
  font-size: 13px;
}

/* VISTAS */
.view {
  display: none;
}

.view.active {
  display: block;
  animation: fadeIn 0.35s ease;
  padding: 24px 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-question i {
  transition: transform 0.3s ease;
  font-size: 30px;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

/* BOTÓN BACK */
.back-btn {
  margin-bottom: 20px;
  border: none;
  background: none;
  font-weight: 500;
  color: #e53935;
  cursor: pointer;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 15px;
}

.faq-item {
  background: white;
  padding: 14px;
  border-radius: 10px;
  transition: 0.3s;
  cursor: pointer;
}

.faq-item:hover {
  transform: translateY(-4px);
}

.badge {
  font-size: 14px!important;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
  display: inline-block;
}

.red { background: #fdecea; color: #bd0a24!important; }
.blue { background: #e3f2fd; color: #1e88e5!important; }
.green { background: #e8f5e9; color: #43a047!important; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s ease;
  font-size: 13px;
  color: #666;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  margin-top: 10px;
}
.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.faq-item.active {
  border: 1px solid #eee;
}

/* =====================================
RESPONSIVE & SCALE IMPROVEMENTS (ADD-ON)
NO REEMPLAZA TU CSS
===================================== */

.img-fluid.hero-img{width: 100%;object-fit: none;}

/* ===== TIPOGRAFÍA FLUIDA ===== */
.hero-title {
  font-size: clamp(28px, 5vw, 38px);
}

.hero-text {
  font-size: clamp(14px, 2.5vw, 16px);
  line-height: 1.6;
}

.section-header h2 {
  font-size: clamp(18px, 3vw, 20px);
}

.faq-question {
  font-size: clamp(13px, 2vw, 14px);
}

.faq-answer {
  font-size: clamp(13px, 2vw, 14px);
}


/* ===== MEJORAS DE ESPACIADO ===== */
.hero {
  padding-top: clamp(1.5em, 4vw, 3em);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.view.active {
  padding: 40px 0;
}


/* ===== HOVER MÁS PRO ===== */
.faq-item {
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}


/* =========================
TABLET (≥768px)
========================= */
@media (min-width: 768px) {

  .hero-title {
    font-size: 42px;
  }

  .hero-text {
    font-size: 16px;
  }

  .btn-chip {
    font-size: 14px;
    padding: 8px 16px;
  }

  .faq-grid {
    gap: 20px;
  }

  .faq-item {
    padding: 18px;
  }

  .faq-question {
    font-size: 15px;
  }

  .faq-answer {
    font-size: 14px;
  }
}


/* =========================
DESKTOP (≥1200px)
========================= */
@media (min-width: 1200px) {

  .hero-title {
    font-size: 52px;
  }

  .hero-text {
    font-size: 18px;
  }

  .btn-chip {
    font-size: 1rem;
    padding: 6px 16px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .icon-red {
    font-size: 26px;
  }

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

  .faq-item {
    padding: 22px;
    border-radius: 14px;
  }

  .faq-question {
    font-size: 16px;
  }

  .faq-answer {
    font-size: 15px;
  }
}


/* =========================
ULTRA WIDE (≥1600px)
========================= */
@media (min-width: 1600px) {

 
  .hero-title {
    font-size: 3rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .faq-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .faq-item {
    padding: 26px;
  }
}