/* ============================================================
   legal.css — Estilos para /terminos-y-condiciones y /aviso-de-privacidad
   Hotel Casa Chips · Barra de Navidad, Jalisco
   ============================================================ */

/* ── HERO INTERNO ─────────────────────────────────────────── */
.legal-hero {
  position: relative;
  height: 55vh;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.legal-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.legal-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.legal-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(26, 13, 5, .6) 0%,
    rgba(26, 13, 5, .4) 40%,
    rgba(26, 13, 5, .8) 100%
  );
  z-index: 1;
}

.legal-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 clamp(1rem, 5vw, 4rem);
  max-width: 800px;
}

.legal-hero__tag {
  display: inline-block;
  background: rgba(245, 166, 35, .18);
  border: 1px solid rgba(245, 166, 35, .4);
  color: var(--sol2);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .4rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.legal-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  color: white;
  line-height: 1.05;
  margin-bottom: 1rem;
  text-shadow: 0 4px 24px rgba(0,0,0,.4);
}

.legal-hero__title em {
  font-style: italic;
  color: var(--sol);
}

.legal-hero__sub {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.8);
  font-weight: 300;
  line-height: 1.6;
}

/* ── BREADCRUMB ───────────────────────────────────────────── */
.legal-breadcrumb {
  background: var(--arena);
  border-bottom: 1px solid rgba(200, 71, 42, .15);
}

.legal-breadcrumb .s2 {
  padding-top: .9rem;
  padding-bottom: .9rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: var(--gris);
}

.legal-breadcrumb a {
  color: var(--terra);
  font-weight: 500;
  transition: color .2s;
}

.legal-breadcrumb a:hover {
  color: var(--sol);
}

.legal-breadcrumb span {
  color: var(--gris2);
}

/* ── CUERPO LEGAL ─────────────────────────────────────────── */
.legal-body {
  background: var(--crema);
  padding: 4rem 0 5rem;
}

.legal-card {
  background: white;
  border-radius: 20px;
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: 0 8px 40px rgba(26, 13, 5, .07);
  max-width: 860px;
  margin: 0 auto;
}

.legal-meta {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--arena);
}

.legal-meta p {
  font-size: .8rem;
  color: var(--gris2);
  font-style: italic;
}

/* ── SECTION TITLES ───────────────────────────────────────── */
.legal-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--noche);
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--arena);
}

.legal-section-title:first-of-type {
  margin-top: 0;
}

.legal-section-title svg {
  color: var(--terra);
  flex-shrink: 0;
}

/* ── LISTAS ───────────────────────────────────────────────── */
.legal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.legal-item {
  padding-left: 1.5rem;
  position: relative;
  font-size: .95rem;
  line-height: 1.65;
  color: #3a2c24;
}

.legal-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: .65em;
  width: 7px;
  height: 7px;
  background: var(--sol);
  border-radius: 50%;
  flex-shrink: 0;
}

.legal-item strong {
  color: var(--noche);
}

/* ── PÁRRAFOS ─────────────────────────────────────────────── */
.legal-para {
  font-size: .95rem;
  color: #3a2c24;
  line-height: 1.7;
  margin-bottom: .75rem;
}

.legal-para a {
  color: var(--terra);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(200, 71, 42, .3);
  transition: color .2s;
}

.legal-para a:hover {
  color: var(--sol);
}

.legal-secondary {
  font-style: italic;
  color: var(--gris);
  margin-top: 1rem;
}

/* ── NOTA PIE DE CARD ─────────────────────────────────────── */
.legal-footer-note {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--arena);
  border-radius: 12px;
  border-left: 4px solid var(--sol);
  font-size: .88rem;
  color: var(--gris);
  line-height: 1.7;
}

.legal-footer-note strong {
  color: var(--noche);
}

/* ── CTA SECTION ──────────────────────────────────────────── */
.legal-cta {
  background: var(--noche);
  padding: 3.5rem 0;
  text-align: center;
}

.legal-cta__text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: white;
  margin-bottom: 1.5rem;
}

.legal-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: linear-gradient(135deg, var(--terra), var(--sol));
  color: white;
  font-weight: 700;
  font-size: .95rem;
  padding: .9rem 2.5rem;
  border-radius: 100px;
  transition: all .25s;
  box-shadow: 0 4px 24px rgba(200, 71, 42, .5);
}

.legal-cta__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(200, 71, 42, .65);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .legal-card {
    border-radius: 12px;
  }

  .legal-section-title {
    font-size: 1.15rem;
  }
}
