:root{--navy:#082466;--navy-deep:#061b45;--green:#55a017;--green-light:#7bbe35;--paper:#f7fafc;--white:#fff;--graphite:#26333a;--muted:#5f6d73;--line:#d9e2e6}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--graphite);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.7}
a{color:var(--navy);text-underline-offset:3px}
a:hover,a:focus-visible{color:#3d7f0b}
.legal-header{height:84px;padding:0 clamp(24px,7vw,112px);display:flex;align-items:center;justify-content:space-between;background:var(--white);border-bottom:1px solid var(--line)}
.legal-header img{display:block;width:230px;max-width:58vw}
.back{font-size:.9rem;font-weight:700;text-decoration:none}
.legal-hero{padding:clamp(58px,7vw,90px) clamp(24px,7vw,112px);background:var(--navy-deep);color:var(--white);border-bottom:6px solid var(--green)}
.eyebrow{margin:0 0 .8rem;color:var(--green-light);font-size:.78rem;font-weight:800;letter-spacing:.16em}
h1{max-width:850px;margin:0;font-size:clamp(1.95rem,3.2vw,2.85rem);font-weight:400;line-height:1.12;letter-spacing:-.03em}
.updated{margin:1rem 0 0;color:#c8d3e4;font-size:.9rem}
.legal-content{width:min(880px,calc(100% - 48px));margin:0 auto;padding:clamp(54px,7vw,90px) 0}
.legal-content section{margin:0 0 2.4rem;padding-bottom:2.1rem;border-bottom:1px solid var(--line)}
.legal-content section:last-child{border-bottom:0}
h2{margin:0 0 .9rem;color:var(--navy);font-size:clamp(1.3rem,1.9vw,1.7rem);line-height:1.25}
h3{margin:1.5rem 0 .5rem;color:var(--navy);font-size:1.08rem}
p,li{color:var(--muted)}
ul{padding-left:1.25rem}
.identity{padding:1.35rem 1.5rem;background:var(--white);border-left:4px solid var(--green)}
.identity p{margin:.35rem 0}
.legal-note{padding:1rem 1.2rem;background:#edf4e7;border:1px solid #cfe2bd;color:#35492a;font-size:.92rem}
.legal-footer{padding:2.3rem clamp(24px,7vw,112px);display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;background:var(--navy-deep);color:#bdc8d8;font-size:.82rem}
.legal-footer a{color:#fff}
:focus-visible{outline:3px solid var(--green-light);outline-offset:3px}
@media(max-width:600px){.legal-header{height:74px}.legal-header img{width:185px}.back{font-size:.82rem}.legal-content{width:min(100% - 36px,880px)}}

/* Match the compact phone layout used by the corporate pages. */
@media (max-width: 600px) {
  body { font-size: .9375rem; line-height: 1.6; }
  .legal-header { height: 64px; padding-inline: 16px; gap: .75rem; }
  .legal-header img { width: 150px; max-width: 42vw; }
  .back { display: inline-flex; align-items: center; min-height: 44px; font-size: .75rem; }
  .legal-hero { padding: 40px 18px; }
  .legal-hero h1 { font-size: clamp(1.375rem, 6vw, 2.25rem); line-height: 1.15; }
  .eyebrow { font-size: .7rem; }
  .updated { font-size: .8125rem; }
  .legal-content { padding: 40px 0; overflow-wrap: anywhere; }
  .legal-content section { margin-bottom: 1.5rem; padding-bottom: 1.5rem; }
  .legal-content h2 { font-size: 1.2rem; }
  .legal-content h3 { font-size: 1.05rem; }
  .identity { padding: 1.2rem; }
  .legal-note { font-size: .875rem; }
  .legal-footer { padding: 32px 18px; gap: .85rem; }
}


/* Aviso de cookies */
.cookie-consent[hidden]{display:none}
.cookie-consent{
  position:fixed;
  right:clamp(14px,3vw,36px);
  bottom:clamp(14px,3vw,30px);
  z-index:1000;
  width:min(560px,calc(100% - 28px));
  padding:24px;
  border:1px solid var(--line);
  border-top:4px solid var(--green);
  border-radius:6px;
  background:var(--white);
  box-shadow:0 24px 60px rgba(6,27,69,.24);
}
.cookie-consent-copy strong{display:block;margin-bottom:7px;color:var(--navy);font-size:1rem}
.cookie-consent-copy p{margin:0;color:var(--muted);font-size:.82rem;line-height:1.55}
.cookie-consent-copy a{color:var(--navy);font-weight:700;text-underline-offset:3px}
.cookie-consent-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:17px}
.cookie-consent-primary,.cookie-consent-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:9px 15px;
  border-radius:3px;
  font:inherit;
  font-size:.82rem;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
}
.cookie-consent-primary{border:1px solid var(--navy);background:var(--navy);color:var(--white)}
.cookie-consent-primary:hover,.cookie-consent-primary:focus-visible{background:var(--navy-deep)}
.cookie-consent-secondary{border:1px solid var(--navy);background:var(--white);color:var(--navy)}
.cookie-consent-secondary:hover,.cookie-consent-secondary:focus-visible{background:var(--paper)}
.cookie-settings-link{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:9px 15px;
  border:1px solid var(--navy);
  border-radius:3px;
  background:var(--white);
  color:var(--navy);
  font:inherit;
  font-size:.88rem;
  font-weight:700;
  cursor:pointer;
}
.cookie-settings-link:hover,.cookie-settings-link:focus-visible{background:var(--paper)}
@media(max-width:520px){
  .cookie-consent{padding:19px}
  .cookie-consent-actions{display:grid;grid-template-columns:1fr 1fr}
  .cookie-consent-actions>*{width:100%}
}


/* Legal pages: keep consent actions and long headings contained on phones. */
@media (max-width:520px){
  .cookie-consent-actions{display:grid!important;grid-template-columns:1fr!important}
  .cookie-consent-actions>*{width:100%!important}
}
@media (max-width:600px){
  .legal-content h2,.legal-content h3{overflow-wrap:break-word;word-break:normal;hyphens:none}
}
