/* =========================================================
   LEGAL.CSS
   Páginas: Privacidad, Cookies, Aviso Legal
========================================================= */

:root{
  --legal-blue:#184687;
  --legal-purple:#67013A;
  --legal-green:#95B734;
  --legal-text:#1f2937;
  --legal-muted:#667085;
  --legal-border:#e5e7eb;
  --legal-soft:#f8fafc;
  --legal-white:#fff;
  --legal-radius:18px;
  --legal-shadow:0 10px 30px rgba(24,70,135,.08);
}

.legal-hero{
  position:relative;
  overflow:hidden;
  padding:88px 0 64px;
  background:linear-gradient(135deg,#f8fafc 0%,#fff 55%,#f4f7fb 100%);
  border-bottom:1px solid var(--legal-border);
}

.legal-hero::before{
  content:"";
  position:absolute;
  width:320px;
  height:320px;
  border-radius:50%;
  background:rgba(24,70,135,.06);
  top:-120px;
  right:-100px;
}

.legal-hero::after{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  border-radius:50%;
  background:rgba(149,183,52,.08);
  bottom:-120px;
  left:-70px;
}

.legal-hero .container{
  position:relative;
  z-index:2;
  max-width:980px;
}

.legal-hero .eyebrow{
  display:inline-block;
  margin-bottom:14px;
  font-size:.8rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--legal-green);
}

.legal-hero h1{
  margin:0 0 18px;
  max-width:820px;
  font-size:clamp(2.2rem,5vw,4.6rem);
  line-height:1.02;
  font-weight:800;
  color:#101828;
}

.legal-hero p{
  margin:0;
  max-width:760px;
  font-size:1.08rem;
  line-height:1.75;
  color:var(--legal-muted);
}

.legal-content{
  padding:64px 0 90px;
  background:var(--legal-white);
}

.legal-container{
  max-width:920px;
}

.legal-update{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0 0 38px;
  padding:10px 14px;
  border-radius:999px;
  background:#f3f6fa;
  color:var(--legal-muted);
  font-size:.88rem;
}

.legal-container h2{
  position:relative;
  margin:42px 0 16px;
  padding-left:18px;
  font-size:1.45rem;
  line-height:1.3;
  font-weight:800;
  color:#101828;
}

.legal-container h2::before{
  content:"";
  position:absolute;
  left:0;
  top:.18em;
  width:5px;
  height:1.05em;
  border-radius:999px;
  background:var(--legal-green);
}

.legal-container h3{
  margin:28px 0 12px;
  font-size:1.08rem;
  font-weight:800;
  color:var(--legal-blue);
}

.legal-container p{
  margin:0 0 18px;
  font-size:1rem;
  line-height:1.8;
  color:var(--legal-text);
}

.legal-container ul,
.legal-container ol{
  margin:10px 0 24px;
  padding-left:24px;
}

.legal-container li{
  margin-bottom:10px;
  line-height:1.7;
  color:var(--legal-text);
}

.legal-container a{
  color:var(--legal-blue);
  font-weight:700;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}

.legal-container a:hover{
  color:var(--legal-purple);
}

.legal-container strong{
  color:#111827;
}

.legal-container blockquote{
  margin:30px 0;
  padding:22px 24px;
  border-left:4px solid var(--legal-green);
  border-radius:0 var(--legal-radius) var(--legal-radius) 0;
  background:var(--legal-soft);
  color:var(--legal-text);
  font-size:1rem;
  line-height:1.75;
}

.legal-table-wrap{
  width:100%;
  margin:26px 0 32px;
  overflow-x:auto;
  border:1px solid var(--legal-border);
  border-radius:16px;
  background:#fff;
  box-shadow:var(--legal-shadow);
}

.legal-table{
  width:100%;
  min-width:640px;
  border-collapse:collapse;
}

.legal-table thead{
  background:var(--legal-blue);
  color:#fff;
}

.legal-table th,
.legal-table td{
  padding:16px 18px;
  text-align:left;
  vertical-align:top;
  border-bottom:1px solid var(--legal-border);
}

.legal-table th{
  font-size:.9rem;
  font-weight:800;
}

.legal-table td{
  font-size:.95rem;
  line-height:1.65;
  color:var(--legal-text);
}

.legal-table tbody tr:last-child td{
  border-bottom:none;
}

.legal-table tbody tr:hover{
  background:#fafbfc;
}

.legal-container>*:first-child{
  margin-top:0;
}

.legal-container>*:last-child{
  margin-bottom:0;
}

@media(max-width:900px){
  .legal-hero{
    padding:72px 0 52px;
  }

  .legal-content{
    padding:52px 0 72px;
  }

  .legal-container h2{
    margin-top:36px;
    font-size:1.3rem;
  }
}

@media(max-width:640px){
  .legal-hero{
    padding:58px 0 42px;
  }

  .legal-hero::before{
    width:220px;
    height:220px;
    top:-90px;
    right:-90px;
  }

  .legal-hero::after{
    width:150px;
    height:150px;
    bottom:-90px;
    left:-60px;
  }

  .legal-hero h1{
    margin-bottom:14px;
    font-size:clamp(2rem,12vw,3rem);
  }

  .legal-hero p{
    font-size:1rem;
    line-height:1.65;
  }

  .legal-content{
    padding:42px 0 60px;
  }

  .legal-update{
    display:flex;
    width:100%;
    border-radius:12px;
    line-height:1.5;
  }

  .legal-container h2{
    margin:32px 0 14px;
    padding-left:14px;
    font-size:1.2rem;
  }

  .legal-container h2::before{
    width:4px;
  }

  .legal-container p{
    font-size:.96rem;
    line-height:1.72;
  }

  .legal-container ul,
  .legal-container ol{
    padding-left:20px;
  }

  .legal-table th,
  .legal-table td{
    padding:14px;
  }
}




.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 64px 0;
}

.error-card {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.error-code {
    display: block;
    margin-bottom: 14px;
    font-size: clamp(4rem, 12vw, 8rem);
    line-height: .9;
    font-weight: 800;
    color: #184687;
}

.error-card h1 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.1;
}

.error-card p {
    max-width: 680px;
    margin: 0 auto 30px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5f6875;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.error-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.error-links a {
    color: #184687;
    font-weight: 700;
    text-decoration: none;
}

.error-links a:hover,
.error-links a:focus-visible {
    text-decoration: underline;
}


@media (max-width: 640px) {

    .error-page {
        padding: 56px 0;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-actions .button {
        width: 100%;
        justify-content: center;
    }

}

  