/* Pérez Vega Abogados — terminos.php */

.pva-terminos {
  --pva-doc-width: min(92%, 1120px);
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: clamp(72px, 9vw, 112px);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.pva-terminos h1.heading-decorated {
  font-family: var(--pva-font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--pva-navy);
  font-size: clamp(32px, 4vw, 48px);
}

.pva-terminos .heading-decorated::before {
  width: 60px;
  height: 3px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(12px, 2vw, 16px);
  background: var(--pva-gold);
}

.pva-terminos #accordion {
  width: var(--pva-doc-width);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.pva-terminos .card-custom {
  background: #ffffff;
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(11, 31, 58, 0.03);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.pva-terminos .card.card-custom {
  padding: 0;
  border: 1px solid rgba(11, 31, 58, 0.08);
}

.pva-terminos .card-custom:hover {
  box-shadow: 0 8px 30px rgba(11, 31, 58, 0.06);
}

.pva-terminos .card-custom-heading {
  background: #ffffff;
  padding: 18px 40px;
  border-bottom: none;
  margin: 0;
}

.pva-terminos .card-custom .card-custom-collapse .card-custom-body {
  padding: 10px 40px 22px calc(40px + 24px + 12px);
}

.pva-terminos .card-custom-body p {
  font-family: var(--pva-font-body);
  font-size: var(--pva-copy-size);
  line-height: 1.75;
  color: #4a5568;
  margin: 0;
  text-align: justify !important;
  text-align-last: left;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 4 2 2;
}

.pva-terminos .card-custom-title {
  margin: 0;
}

.pva-terminos .card-custom-title a {
  color: var(--pva-navy);
  font-family: var(--pva-font-body);
  font-weight: 600;
  font-size: var(--pva-copy-size);
  text-decoration: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  padding-left: 0;
  padding-right: 0;
}

.pva-terminos .card-classic .card-custom-title > a:before {
  content: "\e93c";
  font: 400 24px/24px "Linearicons";
  color: #cca776;
  position: static;
  display: block;
  width: 24px;
  flex-shrink: 0;
  margin-top: 1px;
  transform: rotate(90deg);
  transition: transform 0.35s ease-in-out;
}

.pva-terminos .card-classic .card-custom-title > a.collapsed:before {
  transform: rotate(0deg);
}

.pva-terminos .card-custom-title a:hover {
  color: var(--pva-gold);
}

.page p.pva-terminos_meta,
.pva-terminos .pva-terminos_meta {
  font-family: var(--pva-font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.01em;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
  max-width: var(--pva-doc-width);
  text-align: center !important;
  text-justify: auto;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.pva-terminos_prose {
  width: var(--pva-doc-width);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
  text-align-last: left;
  background: #ffffff;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4.5vw, 56px);
  border-radius: 4px;
  border: 1px solid rgba(11, 31, 58, 0.1);
  box-shadow: 0 8px 28px rgba(11, 31, 58, 0.04);
}

.pva-terminos_doc-cabecera {
  display: block;
  width: 100%;
  margin: 0 0 1.75rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(11, 31, 58, 0.1);
  text-align: center;
}

.pva-terminos_prose p {
  font-family: var(--pva-font-body);
  font-size: var(--pva-copy-size);
  line-height: 1.8;
  color: #3d4a5c;
  margin-bottom: 1.15rem;
  text-align: justify !important;
  text-align-last: left;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 4 2 2;
}

.pva-terminos_prose .pva-terminos_doc-cabecera p,
.pva-terminos_prose .pva-terminos_doc-marca,
.pva-terminos_prose .pva-terminos_doc-titulo {
  display: block;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  text-align: center !important;
  text-align-last: center !important;
  text-justify: auto;
  hyphens: none;
}

.pva-terminos_prose .pva-terminos_doc-marca {
  font-family: var(--pva-font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: #64748b;
  margin-bottom: 0.75rem !important;
}

.pva-terminos_prose .pva-terminos_doc-titulo {
  font-family: var(--pva-font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.45;
  color: #475569;
  margin-bottom: 0 !important;
}

.pva-terminos_prose p:last-child {
  margin-bottom: 0;
}

.pva-terminos_bloque {
  margin-bottom: 0.25rem;
}

.pva-terminos_bloque + .pva-terminos_bloque {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(11, 31, 58, 0.08);
}

.pva-terminos_sub {
  font-family: var(--pva-font-display);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--pva-navy);
  margin: 0 0 1rem;
  letter-spacing: 0.01em;
  line-height: 1.4;
  padding: 0 0 0 0.75rem;
  border-left: 2px solid var(--pva-gold);
  background: none;
  border-radius: 0;
}

.pva-terminos_lista {
  margin: 0 0 1.35rem;
  padding: 0.15rem 0 0.15rem 1rem;
  background: none;
  border: none;
  border-left: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 0;
  box-shadow: none;
}

.pva-terminos_lista p {
  margin-bottom: 0.55rem;
  padding-left: 0;
  color: #3d4a5c;
}

.pva-terminos_lista p:last-child {
  margin-bottom: 0;
}

.pva-terminos_lista--vinetas p {
  padding-left: 0;
}

.pva-terminos_prose a {
  color: var(--pva-navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(11, 31, 58, 0.28);
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  word-break: break-word;
  background: none;
}

.pva-terminos_prose a:hover,
.pva-terminos_prose a:focus {
  color: #1e3a5f;
  text-decoration-color: var(--pva-gold);
  background: none;
}

.pva-terminos_firma {
  margin-top: 1.75rem;
  padding: 1.35rem 0 0;
  background: none;
  border: none;
  border-top: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 0;
  box-shadow: none;
}

.pva-terminos_firma p {
  text-align: left !important;
  text-align-last: left;
  text-justify: auto;
  hyphens: none;
  margin-bottom: 0.75rem;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  font-family: var(--pva-font-body);
  font-size: var(--pva-copy-size);
  letter-spacing: normal;
}

.pva-terminos_firma p:last-child {
  margin-bottom: 0;
}

.pva-terminos_atentamente {
  margin-top: 0 !important;
  margin-bottom: 0.35rem !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--pva-navy);
  text-align: left !important;
  text-align-last: left;
}

.pva-terminos_firma-nombre {
  font-family: var(--pva-font-display) !important;
  font-weight: 700;
  font-size: 1.1rem !important;
  color: var(--pva-navy);
  text-align: left !important;
  text-align-last: left;
  margin-bottom: 0.45rem !important;
  letter-spacing: 0.02em;
}

.pva-terminos_firma .pva-terminos_firma-nombre + p {
  font-family: var(--pva-font-body) !important;
  text-align: left !important;
  text-align-last: left;
  font-size: var(--pva-copy-size) !important;
  letter-spacing: normal;
}

.pva-terminos_fecha-label {
  margin-top: 1.35rem !important;
  font-weight: 600;
  color: #64748b;
  text-align: left !important;
  text-align-last: left;
  margin-bottom: 0.2rem !important;
}

.pva-terminos_fecha {
  font-weight: 600;
  color: var(--pva-navy);
  text-align: left !important;
  text-align-last: left;
}

@media (max-width: 991px) {
  .pva-terminos {
    --pva-doc-width: min(94%, 1120px);
  }
}

@media (max-width: 767px) {
  .pva-terminos {
    --pva-doc-width: 100%;
  }

  .pva-terminos .card-custom-heading {
    padding: 14px 16px;
  }

  .pva-terminos .card-custom .card-custom-collapse .card-custom-body {
    padding: 8px 16px 16px calc(16px + 24px + 12px);
  }

  .pva-terminos_prose {
    padding: 22px 16px 26px;
  }

  .pva-terminos_lista {
    padding-left: 0.75rem;
  }

  .pva-terminos_sub {
    padding-left: 0.65rem;
  }
}
