/* ===========================================================
   Estilos extraídos de los partials del home.
   Original: la-tecnologia.php (bloques inline) y faqs.php (bloque inline).
   =========================================================== */

/* ── la-tecnologia: features (cards) ─────────────────────── */
.h3vel-feature-static > div,
.h3vel-feature-interactive .h3vel-feature-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.h3vel-feature-static,
.h3vel-feature-interactive {
  border: 1.5px solid #e0e0e0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.07);
  padding: 18px 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow 0.2s;
}

.h3vel-feature-static:last-child,
.h3vel-feature-interactive:last-child {
  margin-bottom: 0;
}

.h3vel-feature-static .h3vel-feature-icon,
.h3vel-feature-interactive .h3vel-feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f6f6;
  border-radius: 50%;
  margin-right: 8px;
}

.h3vel-feature-static .h3vel-feature-title,
.h3vel-feature-interactive .h3vel-feature-title {
  font-size: 1.1em;
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
  text-align: left;
}

.h3vel-feature-static .h3vel-feature-text,
.h3vel-feature-interactive .h3vel-feature-text {
  font-size: 1em;
  color: #555;
  text-align: left;
}

.h3vel-feature-interactive .h3vel-feature-content {
  flex: 1;
}

.h3vel-interactive-grid-desktop {
  display: none;
}

.h3vel-interactive-grid-mobile {
  display: block;
}

@media (min-width: 1024px) {
  .h3vel-interactive-grid-desktop {
    display: block;
  }

  .h3vel-interactive-grid-mobile {
    display: none;
  }
}

@media (min-width: 768px) {
  .h3vel-feature-static,
  .h3vel-feature-interactive {
    padding: 22px 24px;
    border-radius: 22px;
    gap: 22px;
  }

  .h3vel-feature-static .h3vel-feature-icon,
  .h3vel-feature-interactive .h3vel-feature-icon {
    width: 54px;
    height: 54px;
  }
}

/* ── la-tecnologia: certificados ─────────────────────────── */
.h3vel-cert-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 10px;
}

.h3vel-cert-container {
  display: grid;
  grid-template-columns: repeat(4, auto);
  align-items: center;
  gap: 20px;
  width: 100%;
}

.h3vel-cert-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.h3vel-cert-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
}

.h3vel-cert-icon svg {
  width: 48px !important;
  height: 48px !important;
  display: block;
}

.h3vel-cert-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .h3vel-cert-container {
    gap: 12px;
  }

  .h3vel-cert-icon {
    width: 40px;
    height: 40px;
  }

  .h3vel-cert-icon svg {
    width: 40px !important;
    height: 40px !important;
  }

  .h3vel-cert-label {
    font-size: 0.78rem;
  }
}

@media (max-width: 600px) {
  .h3vel-cert-container {
    display: flex;
    flex-direction: row;
    gap: 6px;
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
  }

  .h3vel-cert-item {
    flex: 0 0 auto;
    min-width: 60px;
    padding: 0;
    justify-content: center;
  }

  .h3vel-cert-item {
    min-width: 0;
    padding: 0;
  }

  .h3vel-cert-icon {
    width: 34px;
    height: 34px;
  }

  .h3vel-cert-icon svg {
    width: 34px !important;
    height: 34px !important;
  }

  .h3vel-cert-label {
    font-size: 0.7rem;
  }
}

/* ── faqs: sección completa ──────────────────────────────── */
.h3-home-faq {
  background: #fff;
  padding: 80px 0 72px;
}

.h3-home-faq__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.h3-home-faq__badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgb(77, 163, 142) !important;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.h3-home-faq__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #0e1726;
  line-height: 1.1;
  margin-bottom: 8px;
}

.h3-home-faq__subtitle {
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(14,23,38,0.45);
  margin-bottom: 52px;
}

.h3-home-faq__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
  margin-bottom: 52px;
}

@media (max-width: 768px) {
  .h3-home-faq__layout { grid-template-columns: 1fr; gap: 0; }
}

.h3-home-faq__group {
  margin-bottom: 32px;
}

.h3-home-faq__group-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgb(77, 163, 142) !important;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.h3-home-faq__group-sub {
  font-size: 0.82rem;
  color: rgba(14,23,38,0.45);
  margin-bottom: 10px;
  font-style: italic;
  line-height: 1.5;
}

.h3-home-faq__item {
  border-bottom: 1px solid rgba(14,23,38,0.08);
  transition: background 0.2s;
  border-radius: 0;
}

.h3-home-faq__item[open] {
  background: rgba(var(--color-verdeZ-500), 0.18);
  border-radius: 10px;
  border-bottom-color: transparent;
  margin-bottom: 4px;
}

.h3-home-faq__question {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 10px;
  font-size: 0.93rem;
  font-weight: 600;
  color: #0e1726;
  outline: none;
  transition: color 0.2s;
}

.h3-home-faq__question::-webkit-details-marker { display: none; }
.h3-home-faq__question::marker { display: none; }

.h3-home-faq__item[open] .h3-home-faq__question {
  color: rgb(var(--color-verdeZ-900));
  padding-bottom: 6px;
}

.h3-home-faq__arrow {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgb(77, 163, 142) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.3s ease, background 0.2s;
}

.h3-home-faq__item[open] .h3-home-faq__arrow {
  transform: rotate(180deg);
  background: rgb(var(--color-verdeZ-900));
  color: #fff;
}

.h3-home-faq__answer {
  padding: 4px 10px 18px;
  color: rgba(14,23,38,0.65);
  font-size: 0.88rem;
  line-height: 1.8;
}

.h3-home-faq__answer p { margin-bottom: 8px; }
.h3-home-faq__answer p:last-child { margin-bottom: 0; }
.h3-home-faq__answer strong { color: #0e1726; }

.h3-home-faq__answer ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 10px;
}

.h3-home-faq__answer ul li {
  padding: 6px 0 6px 20px;
  position: relative;
  border-bottom: 1px solid rgba(14,23,38,0.05);
}

.h3-home-faq__answer ul li:last-child { border-bottom: none; }

.h3-home-faq__answer ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(var(--color-verdeZ-700));
}

.h3-home-faq__callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: rgb(77, 163, 142) !important;
  border-radius: 20px;
  padding: 36px 40px;
  flex-wrap: wrap;
}

.h3-home-faq__callout-body { flex: 1; min-width: 260px; }

.h3-home-faq__callout-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: #0e1726;
  margin-bottom: 12px;
}

.h3-home-faq__callout-body p {
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 8px;
}

.h3-home-faq__callout-body p:last-child { margin-bottom: 0; }
.h3-home-faq__callout-body strong { color: #fff; }

.h3-home-faq__callout-body ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 10px;
}

.h3-home-faq__callout-body ul li {
  padding: 5px 0 5px 20px;
  position: relative;
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.6;
}

.h3-home-faq__callout-body ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(var(--color-verdeZ-900));
}

.h3-home-faq__callout-cta { flex-shrink: 0; }

.h3-home-faq__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0e1726;
  border: 2px solid #0e1726;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.h3-home-faq__btn:hover {
  background: rgb(var(--color-verdeZ-900));
  border-color: #fff;
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .h3-home-faq__callout { padding: 28px 24px; }
  .h3-home-faq__callout-cta { width: 100%; }
  .h3-home-faq__btn { width: 100%; justify-content: center; }
}
