body.chahinos-region-body {
  --region-accent: #ff7003;
  margin: 0;
  color: #171412;
  background: var(--bg, #fbf9ef);
  font-family: "PP Neue Montreal", Arial, sans-serif;
}

.region-pe { --region-accent: #d91023; }
.region-cl { --region-accent: #0039a6; }
.region-mx { --region-accent: #006847; }
.region-es { --region-accent: #aa151b; }

.chahinos-region-body .ch-region-page {
  width: 100%;
  color: #171412;
  background: var(--bg, #fbf9ef);
  overflow: clip;
}

.chahinos-region-body .ch-region-page * { box-sizing: border-box; }
.chahinos-region-body .region-shell { width: min(1120px, calc(100% - 12rem)); margin: 0 auto; }
.chahinos-region-body .region-hero { min-height: 88vh; display: grid; align-content: center; padding: 8rem 0 7rem; border-bottom: 1px solid rgb(23 20 18 / 16%); }
.region-kicker { display: flex; align-items: center; gap: .7rem; margin: 0 0 1rem; color: var(--region-accent); font-family: Youth, Arial, sans-serif; font-size: .85rem; text-transform: uppercase; }
.region-kicker img { width: 2.4rem; aspect-ratio: 3 / 2; border-radius: .35rem; object-fit: cover; box-shadow: 0 0 0 1px rgb(23 20 18 / 12%); }
.chahinos-region-body .region-hero h1 { max-width: 1050px; margin: 0; font-family: Youth, Arial, sans-serif; font-size: clamp(3.8rem, 9vw, 8rem); line-height: .86; letter-spacing: -.045em; text-wrap: balance; }
.region-lead { max-width: 760px; margin: 2rem 0 0; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.45; }
.region-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.region-button { display: inline-flex; align-items: center; min-height: 48px; padding: .8rem 1.1rem; color: #fff; border-radius: .8rem; background: #171412; font-family: Youth, Arial, sans-serif; font-size: .85rem; text-decoration: none; text-transform: uppercase; }
.region-button.is-accent { background: var(--region-accent); }
.region-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 6rem 0; }
.region-card { min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.6rem; color: #171412; border-radius: 1.25rem; background: rgb(23 20 18 / 5%); text-decoration: none; }
.region-card:nth-child(1) { color: #fff; background: #0171d1; }
.region-card:nth-child(2) { color: #fff; background: #ff3c34; }
.region-card:nth-child(3) { color: #fff; background: #ff7003; }
.region-card:nth-child(4) { color: #fff; background: #785f47; }
.region-card span { font-family: Youth, Arial, sans-serif; font-size: .78rem; text-transform: uppercase; }
.chahinos-region-body .region-card h2 { margin: .65rem 0 0; font-size: clamp(1.8rem, 3vw, 3rem); line-height: .95; letter-spacing: -.035em; }
.region-copy { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 8vw, 8rem); padding: 6rem 0 7rem; border-top: 1px solid rgb(23 20 18 / 16%); }
.chahinos-region-body .region-copy h2 { margin: 0; font-size: clamp(2.4rem, 5vw, 5rem); line-height: .94; letter-spacing: -.04em; }
.region-copy p { margin: 0; font-size: 1.14rem; line-height: 1.65; }
.region-country-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; padding: 2rem 0 4rem; }
.region-country-links a { color: inherit; text-decoration: none; }
.region-country-links img { display: block; width: 3rem; aspect-ratio: 3 / 2; border-radius: .48rem; object-fit: cover; box-shadow: 0 0 0 1px rgb(23 20 18 / 13%); }
.region-country-links a[aria-current="page"] img { box-shadow: 0 0 0 3px var(--region-accent); }

.ch-region-page + .ch-prefooter-cta {
  margin-top: 0;
  background-color: var(--base, #171412) !important;
  color: var(--white, #fbf9ef) !important;
}

.chahinos-region-body .ch-site-footer-flag[aria-current="page"] img {
  box-shadow: 0 0 0 2px var(--white, #fbf9ef);
}

@media (max-width: 1100px) {
  .region-shell { width: min(100% - 9rem, 1120px); }
}

@media (max-width: 767px) {
  .region-shell { width: calc(100% - 2.5rem); max-width: 1120px; }
  .region-hero { min-height: 75vh; padding: 8rem 0 5rem; }
  .region-hero h1 { font-size: clamp(3.3rem, 16vw, 5.5rem); }
  .region-grid, .region-copy { grid-template-columns: 1fr; }
  .region-grid { padding: 4rem 0; }
  .region-card { min-height: 210px; }
  .region-copy { padding: 4rem 0 5rem; }
  .region-country-links img { width: 2.65rem; }
}

/* La región viaja dentro del contenedor Swup; estas reglas no dependen de la
   clase del body y por eso funcionan igual al abrir o al navegar hacia ella. */
.ch-region-page {
  width: 100%;
  min-width: 0;
  color: #171412;
  background: var(--bg, #fbf9ef);
  overflow: clip;
}
.ch-region-page * { box-sizing: border-box; }
.ch-region-page .region-shell { width: min(1120px, calc(100% - 12rem)); margin-inline: auto; }
.ch-region-page .region-hero { min-height: 88vh; display: grid; align-content: center; padding: 8rem 0 7rem; border-bottom: 1px solid rgb(23 20 18 / 16%); }
.ch-region-page .region-hero h1 { max-width: 1050px; margin: 0; font-family: Youth, Arial, sans-serif; font-size: clamp(3.8rem, 9vw, 8rem); line-height: .86; letter-spacing: -.045em; text-wrap: balance; }
.ch-region-page .region-kicker { display: flex; align-items: center; gap: .7rem; margin: 0 0 1rem; color: var(--region-accent); font-family: Youth, Arial, sans-serif; font-size: .85rem; line-height: 1.2; text-transform: uppercase; }
.ch-region-page .region-kicker img { flex: 0 0 auto; width: 2.4rem; aspect-ratio: 3 / 2; border-radius: .35rem; object-fit: cover; }
.ch-region-page .region-lead { max-width: 760px; margin: 2rem 0 0; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.45; }
.ch-region-page .region-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.ch-region-page .region-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.1rem; color: #fff; border-radius: .8rem; background: #171412; font-family: Youth, Arial, sans-serif; font-size: .85rem; text-decoration: none; text-transform: uppercase; }
.ch-region-page .region-button.is-accent { background: var(--region-accent); }
.ch-region-page .region-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 6rem 0; }
.ch-region-page .region-card { min-width: 0; min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.6rem; color: #fff; border-radius: 1.25rem; text-decoration: none; }
.ch-region-page .region-card:nth-child(1) { background: #0171d1; }
.ch-region-page .region-card:nth-child(2) { background: #ff3c34; }
.ch-region-page .region-card:nth-child(3) { background: #ff7003; }
.ch-region-page .region-card:nth-child(4) { background: #785f47; }
.ch-region-page .region-card span { font-family: Youth, Arial, sans-serif; font-size: .78rem; line-height: 1.2; text-transform: uppercase; }
.ch-region-page .region-card h2 { margin: .65rem 0 0; font-size: clamp(1.8rem, 3vw, 3rem); line-height: .95; letter-spacing: -.035em; overflow-wrap: break-word; }
.ch-region-page .region-copy { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 8vw, 8rem); padding: 6rem 0 7rem; border-top: 1px solid rgb(23 20 18 / 16%); }
.ch-region-page .region-copy h2 { margin: 0; font-size: clamp(2.4rem, 5vw, 5rem); line-height: .94; letter-spacing: -.04em; }
.ch-region-page .region-copy p { margin: 0; font-size: 1.14rem; line-height: 1.65; }
.ch-region-page .region-country-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; padding: 2rem 0 4rem; }
.ch-region-page .region-country-links a { color: inherit; text-decoration: none; }
.ch-region-page .region-country-links img { display: block; width: 3rem; aspect-ratio: 3 / 2; border-radius: .48rem; object-fit: cover; }

@media (max-width: 1100px) {
  .ch-region-page .region-shell { width: min(100% - 9rem, 1120px); }
}

@media (max-width: 767px) {
  .ch-region-page .region-shell { width: calc(100% - 2rem); max-width: 1120px; }
  .ch-region-page .region-hero { min-height: auto; padding: 9rem 0 4.5rem; }
  .ch-region-page .region-hero h1 { max-width: 100%; font-size: clamp(2.85rem, 13.5vw, 4.5rem); line-height: .9; overflow-wrap: break-word; }
  .ch-region-page .region-lead { margin-top: 1.4rem; font-size: 1.05rem; line-height: 1.5; }
  .ch-region-page .region-actions { flex-direction: column; align-items: stretch; }
  .ch-region-page .region-grid, .ch-region-page .region-copy { grid-template-columns: 1fr; }
  .ch-region-page .region-grid { gap: .75rem; padding: 4rem 0; }
  .ch-region-page .region-card { min-height: 190px; padding: 1.25rem; }
  .ch-region-page .region-card h2 { font-size: clamp(1.75rem, 8.5vw, 2.65rem); }
  .ch-region-page .region-copy { gap: 1.5rem; padding: 4rem 0 5rem; }
  .ch-region-page .region-copy h2 { font-size: clamp(2.35rem, 11vw, 3.6rem); overflow-wrap: break-word; }
  .ch-region-page .region-copy p { font-size: 1.05rem; line-height: 1.55; }
  .ch-region-page .region-country-links { padding: 1rem 0 3.5rem; }
  .ch-region-page .region-country-links img { width: 2.65rem; }
}

@media (max-width: 389px) {
  .ch-region-page .region-shell { width: calc(100% - 1.5rem); }
  .ch-region-page .region-hero h1 { font-size: clamp(2.55rem, 13.2vw, 3.25rem); }
}
