@font-face{
  font-family:"Montserrat";
  src:url("fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations");
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
}
@font-face{
  font-family:"Montserrat";
  src:url("fonts/montserrat-latin-wght-italic.woff2") format("woff2-variations");
  font-style:italic;
  font-weight:100 900;
  font-display:swap;
}
@font-face{
  font-family:"Source Sans 3";
  src:url("fonts/source-sans-3-latin-wght-normal.woff2") format("woff2-variations");
  font-style:normal;
  font-weight:200 900;
  font-display:swap;
}
@font-face{
  font-family:"Source Sans 3";
  src:url("fonts/source-sans-3-latin-wght-italic.woff2") format("woff2-variations");
  font-style:italic;
  font-weight:200 900;
  font-display:swap;
}

:root,
html:root{
  --font-heading:"Montserrat",Arial,sans-serif;
  --font-body:"Source Sans 3","Segoe UI",Arial,sans-serif;
  --ff:var(--font-body);
}
html{font-synthesis:none}
body,
input,
select,
textarea{font-family:var(--font-body)}
h1,
h2,
h3,
h4,
h5,
h6,
nav,
button,
.btn,
.button,
.eyebrow,
.s-tag,
.hero-pill,
.nav-badge,
.form-eyebrow,
.article-trust strong{
  font-family:var(--font-heading)!important;
}
h1,
h2,
h3,
.hero h1,
.page-hero h1{
  font-synthesis:none;
}
.hero h1{
  font-family:var(--font-heading)!important;
  font-weight:800!important;
  font-variation-settings:"wght" 800;
}
img.brand-logo{
  width:162px;
  height:35px;
  max-width:162px;
  object-fit:contain;
}
img.footer-logo{
  width:268px;
  height:58px;
  max-width:268px;
  object-fit:contain;
}
.footer-brand img{
  width:245px;
  height:51px;
  object-fit:contain;
}
@media(max-width:600px){
  img.brand-logo,
  .mob-top img.brand-logo{
    width:180px;
    height:39px;
    max-width:180px;
  }
  img.footer-logo{
    width:286px;
    height:62px;
    max-width:286px;
  }
}
@media(max-width:390px){
  img.brand-logo,
  .mob-top img.brand-logo{
    width:162px;
    height:35px;
    max-width:162px;
  }
}

/* Mantener legibles los CTA y acentos de marca en todos los fondos. */
.page-links a.button,
.page-links a.button:visited{color:#fff}
.page-links a.button.secondary,
.page-links a.button.secondary:visited{color:#7f451f}
.feature-card .number,
.not-found-code{color:#725600}
.footer-brand p{color:rgba(255,255,255,.78)}
.footer-col a{color:rgba(255,255,255,.84)}
.footer-bottom{color:rgba(255,255,255,.72)}
.ft-brand p{color:rgba(255,255,255,.78)}
.ft-brand .rut{color:rgba(255,255,255,.68)}
.ft-col h5,
.ft-h{color:rgba(255,255,255,.78)}
.ft-col ul li a{color:rgba(255,255,255,.84)}
.ft-bot p,
.ft-leg a{color:rgba(255,255,255,.68)}
.form-eyebrow{color:#7f451f}

.skip-link{
  position:fixed;
  top:10px;
  left:10px;
  z-index:10000;
  padding:10px 14px;
  border-radius:6px;
  background:#2f2f2f;
  color:#fff;
  font-weight:700;
  transform:translateY(-160%);
  transition:transform .2s ease;
}
.skip-link:focus{transform:translateY(0)}

.privacy-check{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:4px 0 16px;
  color:#5f5f5f;
  font-size:12px;
  line-height:1.55;
}
.privacy-check input{
  width:18px;
  height:18px;
  margin-top:1px;
  flex:0 0 auto;
  accent-color:#9b572c;
}
.privacy-check a{
  color:#7f451f;
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:2px;
}

.consent-banner{
  position:fixed;
  left:50%;
  right:auto;
  bottom:18px;
  z-index:9999;
  width:calc(100% - 36px);
  max-width:980px;
  min-width:0;
  margin:0;
  border:1px solid rgba(213,134,59,.32);
  border-radius:14px;
  background:#fff;
  color:#2f2f2f;
  box-shadow:0 22px 70px rgba(34,25,18,.24);
  box-sizing:border-box;
  overflow:hidden;
  transform:translateX(-50%);
}
.consent-banner[hidden]{display:none}
.consent-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  width:100%;
  min-width:0;
  padding:18px 20px;
  box-sizing:border-box;
}
.consent-copy{
  width:100%;
  max-width:650px;
  min-width:0;
  overflow-wrap:anywhere;
}
.consent-copy strong{
  display:block;
  margin-bottom:3px;
  font-size:14px;
}
.consent-copy p{
  margin:0;
  color:#666;
  font-size:12px;
  line-height:1.55;
}
.consent-copy a{
  color:#7f451f;
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:2px;
}
.consent-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
  max-width:100%;
  min-width:0;
}
.consent-btn{
  min-height:40px;
  max-width:100%;
  padding:9px 15px;
  border:1px solid rgba(127,69,31,.34);
  border-radius:6px;
  background:#fff;
  color:#6f3d1e;
  font:700 12px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  white-space:normal;
  cursor:pointer;
}
.consent-btn:hover{background:#fff2e6}
.consent-btn.primary{
  border-color:#9b572c;
  background:#9b572c;
  color:#fff;
}
.consent-btn.primary:hover{background:#7f451f}

.article-trust{
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  margin:0 0 28px;
  padding:14px 16px;
  border:1px solid rgba(213,134,59,.18);
  border-radius:8px;
  background:#fffaf4;
  color:#6f6f6f;
  font-size:13px;
}
.article-trust strong{color:#2f2f2f}
.article-sources,
.article-related{
  margin-top:34px;
  padding:22px;
  border-radius:10px;
  background:#fffaf4;
  border:1px solid rgba(213,134,59,.18);
}
.article-sources h2,
.article-related h2{margin-top:0!important}
.article-sources a,
.article-related a{
  color:#7f451f;
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:2px;
}

.svc-more{
  display:inline-flex;
  margin-top:18px;
  color:#7f451f;
  font-size:13px;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:3px;
}

@media(max-width:820px){
  .consent-inner{align-items:flex-start;flex-direction:column;gap:14px}
  .consent-actions{width:100%}
  .consent-btn{flex:1}
}
@media(max-width:520px){
  .consent-banner{
    left:50%;
    right:auto;
    bottom:10px;
    width:calc(100% - 20px);
    max-width:calc(100% - 20px);
  }
  .consent-inner{padding:16px}
  .consent-actions{flex-direction:column}
  .consent-btn{width:100%}
  .consent-copy p{font-size:11.5px}
}

/* Evita que tablas o identificadores largos ensanchen la página legal en móvil. */
.legal{min-width:0;overflow-wrap:anywhere}
.legal code{overflow-wrap:anywhere;word-break:break-word}
@media(max-width:620px){
  .legal table{
    display:block;
    width:100%;
    max-width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
}

html[data-theme="dark"] .consent-banner{
  background:#1f1f1f;
  color:#f7f3ed;
  border-color:rgba(213,134,59,.3);
}
html[data-theme="dark"] .consent-copy p{color:#c9c2b8}
html[data-theme="dark"] .consent-btn{background:#262626;color:#f0b879}
html[data-theme="dark"] .article-trust,
html[data-theme="dark"] .article-sources,
html[data-theme="dark"] .article-related{background:#1f1f1f;border-color:rgba(213,134,59,.3)}
html[data-theme="dark"] .article-trust strong{color:#f7f3ed}
