/* PERBRA — Warum Brasilien / Location Strategy */
.location-page {
  --location-shell: min(1320px, calc(100vw - 9vw));
  --location-cream: #eee8dd;
  --location-cream-deep: #d9cfbf;
  --location-champagne: #a19167;
  --location-ink: #17130f;
  --location-black: #070706;
  --location-panel: #0d0c0a;
  background: var(--location-black);
}
.location-shell {
  width: var(--location-shell);
  margin-inline: auto;
}
.location-eyebrow {
  margin: 0 0 20px;
  color: var(--location-champagne);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .24em;
  line-height: 1.5;
  text-transform: uppercase;
}
.location-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  background: #17211e;
}
.location-hero-image {
  position: absolute;
  inset: -3%;
  z-index: -4;
  background: url('../images/rio_de_janeiro.jpg') center 46% / cover no-repeat;
  transform: scale(1.025);
  animation: locationHero 2s cubic-bezier(.22,.75,.2,1) both;
}
.location-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: linear-gradient(180deg, rgba(4,6,5,.66) 0%, rgba(4,6,5,.08) 27%, rgba(4,6,5,.08) 58%, rgba(4,5,4,.7) 100%), linear-gradient(90deg, rgba(5,7,6,.4) 0%, rgba(5,7,6,.05) 54%, rgba(5,7,6,.16) 100%);
}
.location-hero-grain {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .05;
  pointer-events: none;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}
.location-hero-shell {
  width: var(--location-shell);
  margin: 0 auto;
  padding: calc(var(--header-height) + 70px) 0 clamp(64px, 9vh, 104px);
}
.location-hero-copy {
  max-width: 770px;
  opacity: 0;
  transform: translateY(26px);
  animation: locationCopy 1.2s cubic-bezier(.16,1,.3,1) .35s forwards;
}
.location-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
  color: rgba(246,241,232,.72);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.location-kicker span {
  color: #fff;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .18em;
}
.location-kicker i {
  width: 45px;
  height: 1px;
  background: rgba(237,225,204,.72);
}
.location-hero h1 {
  margin: 0;
  max-width: 730px;
  color: #f5f1e9;
  font-family: var(--serif);
  font-size: clamp(78px, 9.8vw, 154px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .77;
  text-shadow: 0 18px 70px rgba(0,0,0,.24);
}
.location-hero-copy > p:last-child {
  max-width: 630px;
  margin: 38px 0 0;
  padding-left: 3px;
  color: rgba(246,241,232,.78);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.75;
}
.location-scroll {
  position: absolute;
  right: 4.5vw;
  bottom: 64px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: rgba(255,255,255,.72);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .23em;
  text-transform: uppercase;
}
.location-scroll i {
  width: 56px;
  height: 1px;
  background: rgba(255,255,255,.5);
}
.location-thesis {
  position: relative;
  padding: clamp(92px, 8.4vw, 132px) 0 calc(clamp(66px, 5.8vw, 92px) + 80px);
  overflow: hidden;
  background: radial-gradient(circle at 14% 0%, rgba(182,161,132,.11), transparent 31%), linear-gradient(180deg, #0d0c0a, #070706);
  border-top: 1px solid rgba(238,232,221,.12);
}
.location-thesis::before {
  content: "BRAZIL";
  position: absolute;
  right: -1vw;
  top: 1vw;
  color: rgba(255,255,255,.022);
  font-family: var(--serif);
  font-size: clamp(130px, 20vw, 330px);
  line-height: 1;
  pointer-events: none;
}
.location-thesis-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(70px, 10vw, 170px);
  align-items: start;
}
.location-thesis h2, .location-drivers-head h2, .bahia-reasons-head h2 {
  margin: 0;
  color: var(--location-cream);
  font-family: var(--serif);
  font-size: clamp(48px, 5.5vw, 86px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .98;
}
.location-thesis-copy {
  padding-top: 124px;
}
.location-thesis-copy > p {
  margin: 0 0 24px;
  color: rgba(238,232,221,.66);
  font-size: clamp(15px, 1.07vw, 18px);
  line-height: 1.72;
}
.location-thesis-copy > p:first-child {
  color: rgba(238,232,221,.9);
  font-size: clamp(17px, 1.24vw, 20px);
}
.location-signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 50px;
  border-top: 1px solid rgba(238,232,221,.16);
  border-bottom: 1px solid rgba(238,232,221,.16);
}
.location-signals span {
  padding: 18px 14px;
  color: var(--location-cream-deep);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
  text-align: center;
  text-transform: uppercase;
  border-right: 1px solid rgba(238,232,221,.13);
}
.location-signals span:last-child {
  border-right: 0;
}
.location-drivers {
  position: relative;
  padding: clamp(48px, 4.8vw, 72px) 0 clamp(104px, 9.5vw, 152px);
  background: radial-gradient(circle at 50% 0%, rgba(202, 187, 164, .055), transparent 34%), linear-gradient(180deg, #0b0a08 0%, #080807 34%, #070706 100%);
  border-top: 1px solid rgba(230, 219, 201, .13);
}
.location-drivers::before {
  content: "";
  position: absolute;
  top: 0;
  left: 4.5vw;
  right: 4.5vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(222, 208, 187, .38), transparent);
  pointer-events: none;
}
.location-drivers-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(285px, .72fr) minmax(0, 1.45fr);
  gap: clamp(70px, 9vw, 150px);
  align-items: start;
  padding: clamp(46px, 5vw, 76px);
  border: 1px solid rgba(230, 219, 201, .13);
  background: linear-gradient(135deg, rgba(255,255,255,.028), transparent 36%), linear-gradient(180deg, rgba(20,17,13,.9), rgba(10,9,7,.92));
  box-shadow: 0 34px 90px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.035);
}
.location-drivers-head {
  position: sticky;
  top: 112px;
}
.location-drivers-head h2 {
  font-size: clamp(43px, 4.6vw, 70px);
}
.location-drivers-head > p:last-child {
  max-width: 430px;
  margin: 32px 0 0;
  color: rgba(238,232,221,.5);
  font-size: 14px;
  line-height: 1.85;
}
.location-driver-list {
  border-top: 1px solid rgba(238,232,221,.21);
}
.location-driver {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 32px;
  padding: clamp(48px, 5vw, 76px) 0;
  border-bottom: 1px solid rgba(238,232,221,.14);
}
.location-driver-number {
  padding-top: 2px;
  color: var(--location-champagne);
  font-family: var(--serif);
  font-size: 35px;
  line-height: 1;
}
.location-driver-label {
  margin: 0 0 15px;
  color: var(--location-champagne);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .22em;
  line-height: 1.55;
  text-transform: uppercase;
}
.location-driver h3, .bahia-reason h3 {
  margin: 0 0 22px;
  color: var(--location-cream);
  font-family: var(--serif);
  font-size: clamp(29px, 2.55vw, 43px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.08;
}
.location-driver div:last-child > p:last-child, .bahia-reason > p:last-child {
  max-width: 800px;
  margin: 0;
  color: rgba(238,232,221,.58);
  font-size: 14.5px;
  line-height: 1.9;
}
.bahia-cinematic {
  position: relative;
  min-height: clamp(500px, 66vw, 790px);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  background: #101410;
}
.bahia-cinematic-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('../images/location_south_bahia.jpg') center 58% / cover no-repeat;
  transform: scale(1.01);
}
.bahia-cinematic-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5,6,5,.08), rgba(5,5,4,.15) 46%, rgba(5,5,4,.78) 100%), linear-gradient(90deg, rgba(5,5,4,.45), transparent 60%);
}
.bahia-cinematic-copy {
  padding-bottom: clamp(58px, 7vw, 100px);
}
.bahia-cinematic-copy p {
  margin: 0 0 18px;
  color: rgba(255,255,255,.72);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.bahia-cinematic-copy h2 {
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(70px, 9vw, 140px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .78;
}
.bahia-intro {
  padding: clamp(100px, 10vw, 160px) 0;
  color: var(--location-ink);
  background: var(--location-cream);
}
.bahia-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(75px, 10vw, 170px);
  align-items: start;
}
.bahia-intro h2 {
  margin: 0;
  color: var(--location-ink);
  font-family: var(--serif);
  font-size: clamp(50px, 5.5vw, 86px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .98;
}
.bahia-intro-grid > p {
  margin: 48px 0 0;
  color: rgba(23,19,15,.68);
  font-size: clamp(15px, 1.06vw, 18px);
  line-height: 1.9;
}
.bahia-reasons {
  position: relative;
  padding: clamp(100px, 10vw, 160px) 0;
  overflow: hidden;
  background: #0b0a08;
}
.bahia-reasons::before {
  content: "COSTA";
  position: absolute;
  right: calc(-1vw - 70px);
  top: calc(1vw + 250px);
  color: rgba(255,255,255,.022);
  font-family: var(--serif);
  font-size: clamp(130px, 20vw, 330px);
  line-height: 1;
  pointer-events: none;
}
.bahia-reasons > .location-shell {
  position: relative;
  z-index: 1;
}
.bahia-reasons-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: end;
  margin-bottom: clamp(55px, 7vw, 95px);
}
.bahia-reasons-head .location-eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -50px;
}
.bahia-reasons-head h2 {
  grid-column: 1 / 2;
  font-size: clamp(44px, 4.9vw, 75px);
}
.bahia-reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  border-top: 1px solid rgba(238,232,221,.16);
}
.bahia-reason {
  min-height: 525px;
  padding: 42px clamp(28px, 3vw, 48px) 45px;
  border-right: 1px solid rgba(238,232,221,.14);
}
.bahia-reason:first-child {
  padding-left: 0;
}
.bahia-reason:last-child {
  padding-right: 0;
  border-right: 0;
}
.bahia-reason > span {
  display: block;
  margin-bottom: 80px;
  color: var(--location-champagne);
  font-family: var(--serif);
  font-size: 33px;
}
.bahia-reason h3 {
  font-size: clamp(28px, 2.35vw, 39px);
}
.location-cta {
  padding: clamp(90px, 10vw, 145px) 0;
  background: #070706;
}
.location-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto;
  gap: 70px;
  align-items: end;
  padding: clamp(48px, 6vw, 84px);
  color: var(--location-ink);
  border: 1px solid rgba(255,255,255,.58);
  background: linear-gradient(130deg, rgba(243,238,228,.95), rgba(212,202,187,.88));
  box-shadow: 0 34px 100px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.location-cta-panel h2 {
  margin: 0;
  max-width: 780px;
  color: var(--location-ink);
  font-family: var(--serif);
  font-size: clamp(40px, 4.7vw, 72px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.01;
}
.location-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 245px;
}
.location-button {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 14px 19px;
  color: var(--location-cream);
  background: rgba(18,15,11,.91);
  border: 1px solid rgba(23,19,15,.9);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: transform .3s ease, background .3s ease;
}
.location-button:hover {
  transform: translateY(-2px);
  background: #2a241c;
}
.location-button--ghost {
  color: var(--location-ink);
  background: rgba(255,255,255,.18);
  border-color: rgba(23,19,15,.24);
}
.location-button--ghost:hover {
  background: rgba(255,255,255,.42);
}
@keyframes locationHero {
  from {
    opacity: .45;
    transform: scale(1.07);
  }
  to {
    opacity: 1;
    transform: scale(1.025);
  }
}
@keyframes locationCopy {
  to {
    opacity: 1;
    transform: none;
  }
}
/* Keep the complete one-column touch-landscape composition on one grid. */
@media (max-width: 1180px),
       (min-width: 1181px) and (max-width: 1366px) and (max-height: 820px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
  .location-page {
    --location-shell: min(100% - 54px, 1080px);
  }
  .location-drivers-layout {
    grid-template-columns: .68fr 1.32fr;
    gap: 70px;
  }
  .bahia-reasons-grid {
    grid-template-columns: 1fr;
  }
  .bahia-reason, .bahia-reason:first-child, .bahia-reason:last-child {
    min-height: 0;
    padding: 46px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(238,232,221,.14);
  }
  .bahia-reason:last-child {
    border-bottom: 0;
  }
  .bahia-reason > span {
    margin-bottom: 35px;
  }
}
@media (max-width:1024px) and (orientation:portrait), (max-width:820px) and (orientation:landscape), (max-width:1366px) and (max-height:820px) and (orientation:landscape) and (hover:none) and (pointer:coarse) {
  .location-page {
    --location-shell: calc(100% - 42px);
  }
  .location-hero-image {
    inset: 0;
    background-position: 56% center;
  }
  .location-hero-shell {
    padding-bottom: 66px;
  }
  .location-scroll {
    display: none;
  }
  .location-thesis-grid, .bahia-intro-grid, .bahia-reasons-head, .location-cta-panel {
    grid-template-columns: 1fr;
  }
  .location-thesis-copy {
    padding-top: 0;
  }
  .location-thesis {
    padding-bottom: 66px;
  }
  .location-drivers {
    padding-top: 34px;
  }
  .location-drivers-layout {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 38px 34px 18px;
  }
  .location-drivers-head {
    position: static;
  }
  .location-driver {
    grid-template-columns: 65px 1fr;
  }
  .bahia-reasons-head .location-eyebrow, .bahia-reasons-head h2 {
    grid-column: auto;
  }
  .bahia-reasons-head .location-eyebrow {
    margin-bottom: -42px;
  }
  .bahia-intro-grid > p {
    margin-top: 0;
  }
  .location-cta-actions {
    min-width: 0;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .location-button {
    min-width: 235px;
    flex: 1;
  }
}

/* iPad portrait and one-column touch landscape refinements. */
@media (min-width:641px) and (max-width:1024px) and (orientation:portrait),
       (min-width:821px) and (max-width:1366px) and (max-height:820px) and (orientation:landscape) and (hover:none) and (pointer:coarse) {
  .location-page .location-driver-number {
    transform: translateX(10px);
  }

  .location-page .location-driver > div:last-child {
    transform: translateX(-20px);
  }

  .location-page .bahia-reason > * {
    translate: 20px 0;
  }

  .location-page .bahia-reason:first-child {
    padding-left: 0;
  }

  .location-page .bahia-reason:first-child > p:last-child {
    max-width: 800px;
  }
}

/* Small iPad portrait: keep the regional body copy clear of the right edge. */
@media (min-width:641px) and (max-width:820px) and (orientation:portrait) {
  .location-page .bahia-reason > p:last-child {
    width: calc(100% - 30px);
  }
}

/* 1112 × 834 iPad landscape: align the regional field contents. */
@media (width:1112px) and (height:834px) and (orientation:landscape) and (hover:none) and (pointer:coarse) {
  .location-page .bahia-reason > * {
    translate: 30px 0;
  }
}

@media (max-width: 560px) {
  .location-page {
    --location-shell: calc(100% - 40px);
  }
  .location-hero {
    min-height: 100svh;
  }
  .location-hero-image {
    background-position: 62% center;
  }
  .location-hero-overlay {
    background: linear-gradient(180deg, rgba(4,6,5,.69), rgba(4,6,5,.06) 29%, rgba(4,6,5,.12) 57%, rgba(4,5,4,.76) 100%);
  }
  .location-hero-shell {
    padding: 105px 0 48px;
  }
  .location-kicker {
    gap: 9px;
    margin-bottom: 18px;
    font-size: 7px;
    letter-spacing: .18em;
  }
  .location-kicker span {
    font-size: 13px;
  }
  .location-kicker i {
    width: 27px;
  }
  .location-hero h1 {
    font-size: clamp(66px, 25vw, 104px);
    line-height: .82;
  }
  .location-hero-copy > p:last-child {
    margin-top: 25px;
    font-size: 13.5px;
    line-height: 1.65;
  }
  .location-thesis, .location-drivers, .bahia-intro, .bahia-reasons, .location-cta {
    padding: 82px 0;
  }
  .location-thesis {
    padding: 76px 0 58px;
  }
  .location-drivers {
    padding: 24px 0 82px;
  }
  .location-drivers-layout {
    padding: 31px 22px 8px;
    border-color: rgba(230,219,201,.16);
  }
  .location-thesis-grid {
    gap: 44px;
  }
  .location-thesis h2, .location-drivers-head h2, .bahia-intro h2, .bahia-reasons-head h2 {
    font-size: 43px;
  }
  .location-thesis-copy > p, .bahia-intro-grid > p {
    font-size: 14px;
    line-height: 1.8;
  }
  .location-signals {
    grid-template-columns: 1fr;
  }
  .location-signals span {
    border-right: 0;
    border-bottom: 1px solid rgba(238,232,221,.13);
  }
  .location-signals span:last-child {
    border-bottom: 0;
  }
  .location-driver {
    grid-template-columns: 1fr;
    gap: 19px;
    padding: 43px 0;
  }
  .location-driver-number {
    font-size: 29px;
  }
  .location-driver h3, .bahia-reason h3 {
    font-size: 31px;
  }
  .location-driver div:last-child > p:last-child, .bahia-reason > p:last-child {
    font-size: 13.5px;
    line-height: 1.8;
  }
  .bahia-cinematic {
    min-height: 540px;
  }
  .bahia-cinematic-image {
    background-position: 62% center;
  }
  .bahia-cinematic-copy h2 {
    font-size: 78px;
  }
  .bahia-reasons-head {
    gap: 25px;
    margin-bottom: 42px;
  }
  .bahia-reasons-head .location-eyebrow {
    margin-bottom: 0;
  }
  .bahia-reason > span {
    margin-bottom: 27px;
  }
  .location-cta-panel {
    gap: 42px;
    padding: 34px 25px;
  }
  .location-cta-panel h2 {
    font-size: 39px;
  }
  .location-cta-actions {
    flex-direction: column;
  }
  .location-button {
    width: 100%;
    min-width: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .location-hero-image, .location-hero-copy {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
/* Desktop-only refinements approved during the page review. */
@media (min-width: 1025px) and (orientation: portrait), (min-width: 821px) and (orientation: landscape) and (hover: hover) and (pointer: fine), (min-width: 821px) and (max-width: 1366px) and (min-height: 821px) and (max-height: 1024px) and (orientation: landscape) and (hover: none) and (pointer: coarse), (min-width: 1367px) {
  .location-hero-copy {
    position: relative;
    top: -50px;
  }
  .bahia-cinematic-copy {
    position: relative;
    top: -20px;
  }
  .location-thesis-grid {
    top: -20px;
  }
  .location-driver-number {
    transform: translateX(20px);
  }
  .location-driver {
    padding-top: calc(clamp(48px, 5vw, 76px) - 30px);
  }
  .bahia-intro-grid > div {
    position: relative;
    top: -70px;
  }
  .bahia-intro {
    padding-bottom: calc(clamp(100px, 10vw, 160px) - 70px);
  }
  .bahia-reasons > .location-shell {
    top: -70px;
  }
  .bahia-reasons {
    padding-bottom: calc(clamp(100px, 10vw, 160px) - 120px);
  }
  .bahia-reason > span {
    transform: translateY(-20px);
  }
  .location-cta-panel > div:first-child {
    position: relative;
    top: -40px;
  }
  .location-cta-panel h2 {
    position: relative;
    top: -10px;
    font-size: clamp(38px, 4.2vw, 64px);
  }
  .location-cta-actions {
    position: relative;
    top: 20px;
  }
}
@media (min-width: 1181px) {
  .bahia-reason {
    min-height: 435px;
  }
  .bahia-reason > span {
    margin-bottom: -10px;
  }
  .bahia-reason:first-child > p:last-child {
    max-width: calc(100% - 40px);
  }
  .bahia-reason:first-child {
    padding-left: 40px;
  }
}
/* Cream-glass accents shared by both language versions. */
.location-page.cream-theme {
  --location-cream: #eee7dc;
}

/* Keep gold footer typography flat and consistent on the Location Strategy pages. */
.location-page .footer-inner .footer-brand strong {
  color: #a19167;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: #a19167;
}

.location-page.cream-theme .location-signals {
  border-color: rgba(239,230,218,.20);
  background: linear-gradient(135deg, rgba(239,230,218,.055), rgba(178,160,137,.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.location-page.cream-theme .location-signals span {
  color: rgba(239,231,221,.78);
}
.location-page.cream-theme .location-drivers-layout, .location-page.cream-theme .bahia-reason {
  border-color: rgba(239,230,218,.16);
}
.location-page.cream-theme .bahia-reason {
  background: linear-gradient(135deg, rgba(236,225,211,.035), transparent 48%), #0b0a08;
}
.location-page.cream-theme .location-cta {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 12% 0%, rgba(231,219,203,.095), transparent 34%), linear-gradient(180deg, #080706, #050504);
}
.location-page.cream-theme .location-cta::after {
  content: '';
  position: absolute;
  width: clamp(380px, 48vw, 780px);
  aspect-ratio: 1;
  right: -20%;
  bottom: -65%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(232,221,207,.13), rgba(194,177,155,.04) 38%, transparent 70%);
  animation: locationCreamDrift 22s ease-in-out infinite alternate;
}
.location-page.cream-theme .location-cta-panel {
  position: relative;
  z-index: 1;
}
.location-page.cream-theme .location-button,
.location-page.cream-theme .location-button:hover,
.location-page.cream-theme .location-button:focus-visible {
  color: #000;
  border-color: rgba(244,237,228,.36);
  background: linear-gradient(135deg, rgba(246,240,232,.22), rgba(216,202,184,.13)), radial-gradient(circle at 12% 0%, rgba(255,255,255,.15), transparent 42%);
  box-shadow: 0 17px 42px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(17px);
  backdrop-filter: blur(17px);
}
.location-page.cream-theme .location-button:hover {
  background: linear-gradient(135deg, rgba(251,246,239,.29), rgba(218,203,183,.17));
}
@keyframes locationCreamDrift {
  from {
    transform: translate3d(-3%, -2%, 0) scale(.94);
    opacity: .22;
  }
  to {
    transform: translate3d(7%, 5%, 0) scale(1.08);
    opacity: .38;
  }
}
@media (prefers-reduced-motion: reduce) {
  .location-page.cream-theme .location-cta::after {
    animation: none;
  }
}

/* Warum Brasilien — final mobile composition
   Page-scoped overrides; the approved desktop layout remains untouched. */
@media (max-width: 560px) {
  .location-page .location-hero-copy {
    position: relative;
    top: -150px;
  }

  .location-page .location-hero-copy .location-kicker {
    position: relative;
    top: 10px;
  }

  .location-page main > section:not(.location-hero) .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .location-page .location-eyebrow {
    margin: 0 0 9px;
    font-size: 8px;
    line-height: 1.45;
    letter-spacing: .19em;
  }

  .location-page .location-thesis h2,
  .location-page .location-drivers-head h2,
  .location-page .bahia-intro h2,
  .location-page .bahia-reasons-head h2 {
    font-size: clamp(30px, 8.4vw, 33px);
    line-height: 1.02;
  }

  /* Market thesis */
  .location-page .location-thesis {
    padding: 52px 0 50px;
  }

  .location-page .location-thesis-grid {
    gap: 28px;
  }

  .location-page .location-thesis-copy > p {
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.62;
  }

  .location-page .location-thesis-copy > p:first-child {
    font-size: 15.5px;
    line-height: 1.55;
  }

  .location-page .location-signals {
    margin-top: 28px;
  }

  .location-page .location-signals span {
    min-height: 46px;
    padding: 15px 12px;
    font-size: 8px;
  }

  /* Five structural arguments */
  .location-page .location-drivers {
    padding: 24px 0 60px;
  }

  .location-page .location-drivers-layout {
    gap: 30px;
    padding: 28px 20px 10px;
  }

  .location-page .location-drivers-head > p:last-child {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.62;
  }

  .location-page .location-driver {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 24px 0;
  }

  .location-page .location-driver-number {
    font-size: 24px;
  }

  .location-page .location-driver-label {
    margin-bottom: 8px;
    font-size: 7.5px;
    line-height: 1.45;
    letter-spacing: .18em;
  }

  .location-page .location-driver h3,
  .location-page .bahia-reason h3 {
    margin-bottom: 12px;
    font-size: clamp(23px, 6.5vw, 26px);
    line-height: 1.1;
  }

  .location-page .location-driver div:last-child > p:last-child,
  .location-page .bahia-reason > p:last-child {
    font-size: 13px;
    line-height: 1.62;
  }

  /* South Bahia image stage */
  .location-page .bahia-cinematic {
    min-height: 390px;
  }

  .location-page .bahia-cinematic-shade {
    background: linear-gradient(180deg, rgba(5,6,5,.1), rgba(5,5,4,.16) 42%, rgba(5,5,4,.82) 100%), linear-gradient(90deg, rgba(5,5,4,.48), transparent 70%);
  }

  .location-page .bahia-cinematic-copy {
    position: relative;
    top: -20px;
    padding-bottom: 30px;
  }

  .location-page .bahia-cinematic-copy p {
    margin-bottom: 10px;
    font-size: 8px;
    line-height: 1.45;
    letter-spacing: .19em;
  }

  .location-page .bahia-cinematic-copy h2 {
    font-size: clamp(46px, 12.5vw, 50px);
    line-height: .88;
  }

  /* Regional introduction */
  .location-page .bahia-intro-grid {
    position: relative;
    top: -20px;
    gap: 26px;
  }

  .location-page .bahia-intro {
    padding: 52px 0;
  }

  .location-page .bahia-intro-grid > p {
    margin: 0;
    font-size: 13px;
    line-height: 1.62;
  }

  /* Three regional differentiators */
  .location-page .bahia-reasons {
    padding: 56px 0 60px;
  }

  .location-page .bahia-reasons-head {
    position: relative;
    top: -10px;
    gap: 0;
    margin-bottom: 32px;
  }

  .location-page .bahia-reasons-head .location-eyebrow {
    margin-bottom: 9px;
  }

  .location-page .bahia-reason,
  .location-page .bahia-reason:first-child,
  .location-page .bahia-reason:last-child {
    min-height: 0;
    padding: 24px 0 22px;
  }

  .location-page .bahia-reason > span {
    margin-bottom: 12px;
    font-size: 24px;
    top: -10px;
  }

  .location-page .bahia-reason h3,
  .location-page .bahia-reason > p:last-child {
    width: calc(100% - 30px);
  }

  .location-page .bahia-reason > * {
    position: relative;
    left: 15px;
  }

  .location-page .bahia-reason > p,
  .location-page .bahia-reason > h3 {
    top: -15px;
  }

  /* Closing project paths */
  .location-page .location-cta {
    padding: 56px 0 90px;
  }

  .location-page .location-cta-panel {
    gap: 26px;
    padding: 24px 20px 26px;
  }

  .location-page .location-cta-panel h2 {
    position: relative;
    top: -5px;
    font-size: clamp(28px, 7.8vw, 31px);
    line-height: 1.02;
  }

  .location-page .location-cta-actions {
    gap: 8px;
  }

  .location-page .location-button {
    min-height: 46px;
    height: 46px;
    padding: 0 16px;
  }
}
