/* Políticas del dominio .ec — diseño PDF página 1 (#0b50cb) */

html.politicas-nic {
  --pol-primary: #0b50cb;
  --pol-primary-hover: #003d9a;
  --pol-banner-bg: #051d40;
  --pol-text: #051d40;
  --pol-text-muted: #405381;
  --pol-page-bg: #f0f4f9;
  --pol-white: #ffffff;
  --pol-border: #d8e2ef;
  --pol-panel-bg: #eef4ff;
  --pol-radius: 14px;
  --pol-shadow: 0 4px 24px rgba(5, 29, 64, 0.08);
  --pol-max: 1140px;
  --pol-sidebar: 270px;
}

html.politicas-nic,
html.politicas-nic body,
html.politicas-nic section#main-body {
  background: var(--pol-page-bg) !important;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif !important;
}

html.politicas-nic section#main-body {
  padding: 0;
}

html.politicas-nic section#main-body > .container,
html.politicas-nic section#main-body .row,
html.politicas-nic section#main-body .col-12 {
  max-width: none;
  padding: 0;
  margin: 0;
  overflow: visible;
}

.pol-page {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  color: var(--pol-text);
  background: var(--pol-white);
}

/* Banner */
.pol-banner {
  position: relative;
  background-color: var(--pol-banner-bg);
  background-image: url('../images/politicas/banner-politicas.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 3.5rem 1.5rem 3.75rem;
  text-align: center;
  overflow: hidden;
}

.pol-banner__inner {
  position: relative;
  z-index: 1;
  max-width: var(--pol-max);
  margin: 0 auto;
}

.pol-banner__title {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.55rem;
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--pol-white);
  line-height: 1.2;
  font-family: 'Montserrat-Bold', Montserrat, sans-serif;
}

.pol-banner__text {
  display: inline-block;
}

.pol-banner__logo {
  display: block;
  width: auto;
  flex-shrink: 0;
}

.pol-banner__subtitle {
  margin: 0;
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  font-family: 'Montserrat-Regular', Montserrat, sans-serif;
}

/* Breadcrumbs */
.pol-breadcrumb {
  max-width: var(--pol-max);
  margin: 0 auto;
  padding: 1.15rem 1.5rem 0;
  font-size: 0.875rem;
}

.pol-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pol-breadcrumb li + li::before {
  content: '›';
  margin-right: 0.5rem;
  color: var(--pol-text-muted);
  font-weight: 600;
}

.pol-breadcrumb a {
  color: var(--pol-primary);
  text-decoration: none;
  font-weight: 600;
  font-family: 'Montserrat-Bold', Montserrat, sans-serif;
}

.pol-breadcrumb a:hover {
  color: var(--pol-primary-hover);
  text-decoration: underline;
}

.pol-breadcrumb li[aria-current='page'] {
  color: var(--pol-text-muted);
  font-weight: 500;
}

/* Layout */
.pol-layout {
  max-width: var(--pol-max);
  margin: 0 auto;
  padding: 1.75rem 1.5rem 3.5rem;
  display: grid;
  grid-template-columns: var(--pol-sidebar) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

/* Sidebar */
.pol-sidebar {
  position: sticky;
  top: 100px;
  background: var(--pol-white);
  border: 1px solid var(--pol-border);
  border-radius: var(--pol-radius);
  box-shadow: var(--pol-shadow);
  padding: 1.15rem 0;
}

.pol-sidebar__label {
  display: block;
    padding: 0 1.15rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    /* letter-spacing: 0.14em; */
    text-transform: uppercase;
    /* color: var(--pol-text-muted); */
    font-family: 'Montserrat-Bold', Montserrat, sans-serif;
}

.pol-sidebar__nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pol-sidebar__link {
  display: block;
  padding: 0.7rem 1.15rem 0.7rem 1rem;
  border-left: 4px solid transparent;
  color: var(--pol-text);
  font-size: 0.8125rem;
  line-height: 1.35;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  font-family: 'Montserrat-Regular', Montserrat, sans-serif;
}

.pol-sidebar__link:hover {
  background: var(--pol-panel-bg);
  color: var(--pol-primary);
}

.pol-sidebar__link.is-active {
  background: var(--pol-panel-bg);
  border-left-color: var(--pol-primary);
  color: var(--pol-primary);
}

/* Accordion panel */
.pol-main {
  min-width: 0;
}

.pol-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pol-panel {
  background: var(--pol-white);
  border: 1px solid var(--pol-border);
  border-radius: var(--pol-radius);
  box-shadow: var(--pol-shadow);
  overflow: hidden;
}

.pol-panel__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.25rem;
  border: none;
  background: var(--pol-white);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.pol-panel__trigger:hover {
  background: #fafbfd;
}

.pol-panel__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pol-text-muted);
  line-height: 1.3;
  font-family: 'Montserrat-Bold', Montserrat, sans-serif;
}

.pol-panel__title-num {
  margin-right: 0.35rem;
  color: var(--pol-primary) !important;
  font-family: 'Montserrat-Bold', Montserrat, sans-serif;
}

.pol-panel__toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--pol-primary);
  color: var(--pol-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.pol-panel__trigger:hover .pol-panel__toggle {
  border-color: var(--pol-primary-hover);
  color: var(--pol-primary-hover);
}

.pol-panel__toggle svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.pol-panel:not(.is-open) .pol-panel__toggle line.vert {
  display: block;
}

.pol-panel.is-open .pol-panel__toggle line.vert {
  display: none;
}

.pol-panel__body {
  display: none;
  padding: 0 1.35rem 1.35rem;
  border-top: 1px solid var(--pol-border);
}

.pol-panel.is-open .pol-panel__body {
  display: block;
}

.pol-panel__content {
  padding-top: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--pol-text);
  text-align: justify;
  font-family: 'Montserrat-Regular', Montserrat, sans-serif;
}

.pol-panel__content p {
  margin: 0 0 0.85rem;
  font-family: 'Montserrat-Regular', Montserrat, sans-serif;
}

.pol-panel__content p:last-child {
  margin-bottom: 0;
}

.pol-def {
  margin-bottom: 1rem;
  text-align: justify;
  font-family: 'Montserrat-Regular', Montserrat, sans-serif;
}

.pol-def strong {
  font-weight: 700;
  font-family: 'Montserrat-Bold', Montserrat, sans-serif;
}

.pol-def:last-child {
  margin-bottom: 0;
}

.pol-def__term {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pol-text);
  margin: 0 0 0.35rem;
  line-height: 1.35;
  font-family: 'Montserrat-Bold', Montserrat, sans-serif;
}

.pol-def p {
  margin: 0;
  text-align: justify;
  font-family: 'Montserrat-Regular', Montserrat, sans-serif;
}

.pol-subtitle {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--pol-text);
  margin: 1.1rem 0 0.5rem;
  line-height: 1.35;
  font-family: 'Montserrat-Bold', Montserrat, sans-serif;
}

.pol-subtitle:first-child {
  margin-top: 0;
}

/* Títulos numerados de política de privacidad: negrilla; párrafos siguientes en peso normal */
.pol-privacy__heading {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--pol-text);
  margin: 1.15rem 0 0.45rem;
  line-height: 1.35;
  font-family: 'Montserrat-Bold', Montserrat, sans-serif;
}

.pol-privacy__heading:first-child {
  margin-top: 0;
}

.pol-privacy__heading + p {
  font-weight: 400;
  font-family: 'Montserrat-Regular', Montserrat, sans-serif;
}

.pol-figure {
  margin: 0.5rem 0 1.25rem;
  padding: 0;
}

.pol-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.pol-figure--ciclo-vida {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pol-figure--registry-transfer {
  max-width: 22rem;
  margin: 0.75rem auto 1.1rem;
  text-align: center;
}

.pol-figure--registry-transfer img {
  display: block;
  width: 100%;
  max-width: 22rem;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--pol-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(5, 29, 64, 0.08);
}

/* Jerarquía tipo Word (sección 04 y similares) */
.pol-doc__h1 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pol-text);
  margin: 1.35rem 0 0.65rem;
  line-height: 1.4;
  font-family: 'Montserrat-Bold', Montserrat, sans-serif;
}

.pol-doc__h1:first-child {
  margin-top: 0;
}

.pol-doc__h2 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--pol-text);
  margin: 1rem 0 0.45rem;
  line-height: 1.35;
  font-family: 'Montserrat-Bold', Montserrat, sans-serif;
}

.pol-doc__lead {
  margin: 0.65rem 0 0.85rem;
  text-align: justify;
}

.pol-doc__lead strong {
  font-family: 'Montserrat-Bold', Montserrat, sans-serif;
}

.pol-doc__h3 {
  margin: 1rem 0 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--pol-text);
  font-family: 'Montserrat-Bold', Montserrat, sans-serif;
}

.pol-doc__step {
  margin: 0.85rem 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--pol-text);
  font-family: 'Montserrat-Bold', Montserrat, sans-serif;
}

.pol-doc__step + p,
.pol-doc__step + ul {
  margin-top: 0.35rem;
}

.pol-list {
  margin: 0 0 0.85rem;
  padding: 0 0 0 1.65rem;
}

.pol-list li {
  margin-bottom: 0.4rem;
  text-align: justify;
  line-height: 1.65;
  padding-left: 0.2rem;
}

.pol-list--decimal {
  list-style-type: decimal;
  list-style-position: outside;
}

.pol-list--bullet {
  list-style-type: disc;
  list-style-position: outside;
}

.pol-list--decimal li::marker {
  font-weight: 700;
  color: var(--pol-text);
}

.pol-panel__content a {
  color: var(--pol-primary);
  font-weight: 600;
  word-break: break-word;
}

.pol-panel__content a:hover {
  color: var(--pol-primary-hover);
}

/* Responsive */
@media (max-width: 992px) {
  .pol-layout {
    grid-template-columns: 1fr;
    padding: 1.25rem 1rem 2.5rem;
  }

  .pol-sidebar {
    position: static;
    padding: 0.85rem 0;
    overflow: visible;
  }

  .pol-sidebar__nav {
    display: block;
    padding: 0;
    overflow: visible;
  }

  .pol-sidebar__nav li {
    border-bottom: 1px solid var(--pol-border);
  }

  .pol-sidebar__nav li:last-child {
    border-bottom: none;
  }

  .pol-sidebar__link {
    white-space: normal;
    border-left: 4px solid transparent;
    border-bottom: none;
    border-radius: 0;
    padding: 0.75rem 1.15rem 0.75rem 1rem;
    font-size: 0.8125rem;
  }

  .pol-sidebar__link.is-active {
    border-left-color: var(--pol-primary);
    border-bottom: none;
  }

  .pol-sidebar__label {
    padding-bottom: 0.5rem;
  }
}

@media (max-width: 576px) {
  .pol-banner {
    padding: 2.5rem 1rem 2.75rem;
  }

  .pol-breadcrumb {
    padding: 0.85rem 1rem 0;
  }

  .pol-panel__trigger {
    padding: 0.85rem 1rem;
  }

  .pol-panel__body {
    padding: 0 1rem 1rem;
  }
}
