/* Equinoccio Hotel: página de políticas y condiciones (ES y EN) */
:root {
  --pol-ink: #072c2b;
  --pol-teal: #003e52;
  --pol-accent: #17706a;
  --pol-mint: #c9fffd;
  --pol-sand: #f6f3ec;
  --pol-line: #e4e0d6;
  --pol-text: #47585a;
  --pol-radius: 14px;
  --pol-serif: "Playfair Display", serif;
  --pol-sans: "Manrope", sans-serif;
}

.pol {
  background: #fff;
  color: var(--pol-text);
  font-family: var(--pol-sans);
  font-size: 16px;
  line-height: 1.7;
}

.pol p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 12px;
  padding: 0;
}

.pol-wrap {
  margin-inline: auto;
  width: min(1180px, 100% - 96px);
}

/* ---------- Encabezado ---------- */
.pol-hero {
  background: var(--pol-ink);
  padding: 150px 0 64px;
}

.pol-eyebrow {
  color: var(--pol-mint);
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.pol .pol-hero h1 {
  color: #fff;
  font-family: var(--pol-serif);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
  max-width: 16em;
}

.pol .pol-hero p {
  color: #fff;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
  margin: 20px 0 0;
  max-width: 44em;
}

/* ---------- Distribución ---------- */
.pol-layout {
  align-items: start;
  display: grid;
  gap: 72px;
  grid-template-columns: 260px minmax(0, 1fr);
  padding: 64px 0 96px;
}

/* ---------- Índice ---------- */
.pol-toc {
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  position: sticky;
  top: 96px;
}

.pol-toc summary {
  color: var(--pol-ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.pol-toc ol {
  counter-reset: pol-toc;
  margin: 0;
  padding: 0;
}

.pol-toc li {
  counter-increment: pol-toc;
}

.pol-toc a {
  border-radius: 6px;
  color: var(--pol-text);
  display: flex;
  font-size: 14px;
  gap: 10px;
  line-height: 1.35;
  padding: 5px 8px;
}

.pol-toc a::before {
  color: var(--pol-accent);
  content: counter(pol-toc);
  flex: none;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  min-width: 1.4em;
}

.pol-toc a:hover,
.pol-toc a:focus-visible {
  background: var(--pol-sand);
  color: var(--pol-ink);
  text-decoration: none;
}

/* ---------- Resumen ---------- */
.pol-glance {
  background: var(--pol-sand);
  border-radius: var(--pol-radius);
  margin-bottom: 56px;
  padding: 32px 36px;
}

.pol .pol-glance h2 {
  font-size: 26px;
  margin-bottom: 14px;
}

/* ---------- Contenido ---------- */
.pol h2,
.pol h3 {
  color: var(--pol-ink);
  margin: 0;
}

.pol h2 {
  font-family: var(--pol-serif);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.2;
}

.pol h3 {
  font-family: var(--pol-sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 4px;
}

.pol-section {
  border-top: 1px solid var(--pol-line);
  padding: 36px 0;
  scroll-margin-top: 75px;
}

.pol-section:last-child {
  padding-bottom: 0;
}

.pol-section__num {
  color: var(--pol-accent);
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}

.pol-section h2 {
  margin-bottom: 16px;
}

.pol-section > :last-child,
.pol-glance > :last-child {
  margin-bottom: 0;
}

.pol-list {
  margin: 0 0 12px;
  padding: 0;
}

.pol-list li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

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

.pol-list li::before {
  background: var(--pol-accent);
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 2px;
  position: absolute;
  top: 0.68em;
  width: 6px;
}

.pol strong {
  color: var(--pol-ink);
  font-weight: 700;
}

.pol-article a {
  color: var(--pol-teal);
  font-weight: 600;
  text-decoration: underline;
}

.pol-article a:hover,
.pol-article a:focus-visible {
  color: var(--pol-ink);
}

/* Condiciones por canal de reserva */
.pol-channels {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
}

.pol-channel {
  border: 1px solid var(--pol-line);
  border-radius: var(--pol-radius);
  padding: 18px 22px;
}

.pol-channel p {
  margin: 0 0 6px;
}

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

/* ---------- Móvil ---------- */
@media (max-width: 991.98px) {
  .pol-wrap {
    width: calc(100% - 40px);
  }

  .pol-hero {
    padding: 120px 0 44px;
  }

  .pol-layout {
    display: block;
    padding: 28px 0 64px;
  }

  .pol-toc {
    border: 1px solid var(--pol-line);
    border-radius: var(--pol-radius);
    margin-bottom: 32px;
    max-height: none;
    overflow: visible;
    padding: 14px 16px;
    position: static;
  }

  .pol-toc summary {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0;
  }

  .pol-toc summary::after {
    border-bottom: 2px solid var(--pol-ink);
    border-right: 2px solid var(--pol-ink);
    content: "";
    height: 9px;
    margin-right: 4px;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s;
    width: 9px;
  }

  .pol-toc[open] summary::after {
    transform: translateY(2px) rotate(-135deg);
  }

  .pol-toc[open] summary {
    margin-bottom: 10px;
  }

  .pol-glance {
    margin-bottom: 32px;
    padding: 24px 20px;
  }

  .pol-section {
    padding: 28px 0;
  }

  .pol-channel {
    padding: 16px;
  }
}

@media (min-width: 992px) {
  .pol-toc summary {
    cursor: default;
    list-style: none;
    pointer-events: none;
  }

  .pol-toc summary::-webkit-details-marker {
    display: none;
  }
}
