/* =========================
   LOCATION PAGES
   Sections:
   1. Location Insights
   2. Country Finder
   3. Local Process
   Responsive is grouped by section.
   ========================= */


/* =========================
   1. LOCATION INSIGHTS
   ========================= */

.location-insights {
  background: #191818;
}

.location-insights__panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, #211f1f 0%, #1b1919 30%, #151414 100%);
  border: 1px solid rgba(246, 234, 218, 0.1);
}

.location-insights__header {
  max-width: 900px;
  margin: 0 auto 38px;
  text-align: center;
}

.location-insights__kicker {
  color: rgba(246, 234, 218, 0.68);
}

.location-insights__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 26px;
}

.location-insight-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;

  color: #181512;
  background: #f6efe3;
  border-radius: 30px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.location-insight-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.location-insight-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ddd2c1;
}

.location-insight-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-insight-card__body {
  padding: 28px 26px 30px;
}

.location-insight-card__title {
  margin: 0 0 18px;

  font-family: "Merriweather", serif;
  font-size: 22px;
  line-height: 1.14;
  color: #171411;
  text-wrap: balance;
}

.location-insight-card__text {
  margin: 0;

  font-size: 16px;
  line-height: 1.7;
  color: rgba(29, 24, 20, 0.72);
}

.location-insight-card__text strong {
  font-weight: 700;
  color: #181512;
}

/* LOCATION INSIGHTS. RESPONSIVE */
@media (max-width: 1100px) {
  .location-insights__panel {
    padding: 42px 30px 44px;
    border-radius: 32px;
  }

  .location-insights__title {
    font-size: 34px;
  }

  .location-insights__grid {
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .location-insights {
    padding: 64px 0 72px;
  }

  .location-insights__grid {
    gap: 16px;
  }

  .location-insight-card__body {
    padding: 24px;
  }

  .location-insight-card__title {
    font-size: 18px;
    text-wrap: pretty;
  }

  .location-insight-card__text {
    font-size: 14px;
    line-height: 1.65;
  }
}

@media (max-width: 800px) {
  .location-insights__grid {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 760px;
    margin: 0 auto;
  }

  .location-insights__title {
    text-wrap: pretty;
  }

  .location-insight-card {
    max-width: 560px;
    margin-inline: auto;
  }

  .location-insight-card__body {
    padding: 36px 34px 38px;
  }

  .location-insight-card__title {
    font-size: 24px;
  }

  .location-insight-card__text {
    max-width: 34em;
  }
}

@media (max-width: 600px) {
  .location-insights {
    padding: 54px 0 62px;
  }

  .location-insights__panel {
    padding: 28px 18px 30px;
    border-radius: 24px;
  }

  .location-insights__header {
    margin-bottom: 26px;
  }

  .location-insights__kicker {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .location-insights__title {
    font-size: 28px;
    line-height: 1.16;
    text-wrap: balance;
  }

  .location-insight-card {
    border-radius: 22px;
  }

  .location-insight-card__body {
    padding: 22px 18px 24px;
  }

  .location-insight-card__title {
    margin-bottom: 14px;
    font-size: 20px;
  }

  .location-insight-card__text {
    font-size: 15px;
    line-height: 1.65;
  }
}


/* =========================
   2. COUNTRY FINDER
   ========================= */

.lm-country-finder__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;

  max-width: 1120px;
  margin: 0 auto;
}

.lm-country {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 14px 16px;
  border-radius: 22px;

  color: #111;
  text-decoration: none;
  cursor: pointer;

  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(17, 17, 17, 0.06);

  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 12px 28px rgba(0, 0, 0, 0.055);

  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 240ms ease,
    background 240ms ease,
    border-color 240ms ease;
}

.lm-country:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(17, 17, 17, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 18px 44px rgba(0, 0, 0, 0.09);
}

.lm-country__flag {
  flex-shrink: 0;

  width: 42px;
  height: 42px;

  object-fit: cover;
  border-radius: 999px;

  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.lm-country__name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.lm-country--soon {
  opacity: 0.62;
  cursor: default;
}

.lm-country--soon:hover {
  transform: none;
}

.lm-country__soon {
  display: inline-block;
  margin-left: 6px;

  font-size: 12px;
  font-weight: 700;
  color: rgba(17, 17, 17, 0.48);
}

/* COUNTRY FINDER. RESPONSIVE */
@media (max-width: 900px) {
  .lm-country-finder__panel {
    padding: 48px 28px;
    border-radius: 32px;
  }

  .lm-country-finder .section-text {
    max-width: 58ch;
  }

  .lm-country-finder__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .lm-country-finder .section-title {
    max-width: 20ch;
    margin: 0 auto 14px;
  }
}

@media (max-width: 600px) {
  .lm-country-finder {
    padding-block: 22px;
  }

  .lm-country-finder__panel {
    padding: 40px;
    border-radius: 26px;
  }

  .lm-country-finder .section-text {
    max-width: 34ch;
    text-wrap: pretty;
  }

  .lm-country-finder__grid {
    column-gap: 10px;
    row-gap: 12px;
    max-width: 100%;
  }

  .lm-country {
    min-height: 86px;
    padding: 16px 12px;
    gap: 10px;

    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(25, 24, 24, 0.06);
    border-radius: 18px;
    box-shadow:
      0 8px 18px rgba(0, 0, 0, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
  }

  .lm-country__flag {
    width: 36px;
    height: 36px;
  }

  .lm-country__name {
    font-size: 17px;
    line-height: 1.15;
  }

  .lm-country__soon {
    display: block;
    margin-top: 4px;
    margin-left: 0;
    font-size: 12px;
    line-height: 1.2;
  }
}

@media (max-width: 400px) {
  .lm-country-finder__panel {
    padding: 30px 12px;
    border-radius: 22px;
  }

  .lm-country-finder__grid {
    column-gap: 8px;
    row-gap: 10px;
  }

  .lm-country {
    min-height: 78px;
    padding: 14px 10px;
    gap: 8px;
    border-radius: 16px;
  }

  .lm-country__flag {
    width: 34px;
    height: 34px;
  }

  .lm-country__name {
    font-size: 16px;
  }

  .lm-country__soon {
    font-size: 11px;
  }
}


/* =========================
   3. LOCAL PROCESS
   ========================= */

.section.lm-local-process {
  background: #191818;
}

.lm-local-process .section-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, #211f1f 0%, #1b1919 30%, #151414 100%);
  border: 1px solid rgba(246, 234, 218, 0.1);
}

.lm-local-process__head {
  max-width: 900px;
  margin: 0 auto 38px;
  text-align: center;
}

.lm-local-process .section-kicker {
  color: rgba(246, 234, 218, 0.3);
}

.lm-local-process .section-title {
  color: #f6eada;
}

.lm-local-process .section-text {
  max-width: 100%;
  color: rgba(246, 234, 218, 0.82);
}

.lm-local-process__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 26px;
}

.lm-local-step {
  display: flex;
  flex-direction: column;

  padding: 32px 28px 34px;

  color: #181512;
  background: #f6efe3;
  border-radius: 30px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.lm-local-step:hover {
  transform: translateY(-4px);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

/* Number + title in one row on desktop, tablet and mobile */
.lm-local-step__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.lm-local-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 76px;

  width: 76px;
  height: 76px;
  margin: 0;

  font-family: "Merriweather", serif;
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;

  color: #9b7443;
  background: rgba(216, 183, 122, 0.08);
  border: 1px solid rgba(216, 183, 122, 0.35);
  border-radius: 50%;
}

.lm-local-step__title {
  max-width: 11ch;
  margin: 0;

  font-family: "Merriweather", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.14;
  text-align: left;
  color: #171411;
  text-wrap: pretty;
}

.lm-local-step__text {
  margin: 0;

  font-size: 16px;
  line-height: 1.7;
  color: rgba(17, 17, 17, 0.56);
}

.lm-local-step__text strong {
  font-weight: 700;
  color: #181512;
}

/* LOCAL PROCESS. RESPONSIVE */
@media (max-width: 1100px) {
  .lm-local-process__grid {
    gap: 16px;
  }

  .lm-local-step {
    padding: 28px 22px 30px;
  }

  .lm-local-step__head {
    gap: 16px;
    margin-bottom: 18px;
  }

  .lm-local-step__number {
    flex-basis: 68px;
    width: 68px;
    height: 68px;
    font-size: 30px;
  }

  .lm-local-step__title {
    font-size: 22px;
  }
}

@media (max-width: 1000px) {
  .lm-local-step {
    padding: 28px 24px 30px;
  }

  .lm-local-step__head {
    margin-bottom: 14px;
  }

  .lm-local-step__text {
    font-size: 15px;
  }
}

@media (max-width: 900px) {
  .lm-local-process {
    padding: 64px 0 72px;
  }

  .lm-local-step {
    padding: 24px 20px 24px;
  }

  .lm-local-step__number {
    flex-basis: 62px;
    width: 62px;
    height: 62px;
    font-size: 28px;
  }

  .lm-local-step__title {
    font-size: 22px;
  }

  .lm-local-step__text {
    font-size: 15px;
    line-height: 1.65;
  }
}

@media (max-width: 850px) {
  .lm-local-process__head {
    margin-bottom: 30px;
  }

  .lm-local-process__grid {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 760px;
    margin: 0 auto;
  }

  .lm-local-step {
    max-width: 460px;
    margin-inline: auto;
    padding: 45px;
  }

  .lm-local-step__head {
    gap: 22px;
    margin-bottom: 22px;
  }

  .lm-local-step__number {
    flex-basis: 82px;
    width: 82px;
    height: 82px;
    font-size: 34px;
  }

  .lm-local-step__title {
    font-size: 28px;
  }

  .lm-local-step__text {
    max-width: 34em;
  }
}

@media (max-width: 750px) {
  .lm-local-process .section-text {
    max-width: 58ch;
  }
}

@media (max-width: 600px) {
  .lm-local-process {
    padding: 54px 0 62px;
  }

  .lm-local-process__head {
    margin-bottom: 26px;
  }

  .lm-local-process .section-text {
    max-width: 48ch;
    text-wrap: pretty;
  }

  .lm-local-step {
    min-height: auto;
    padding: 38px 45px 45px;
    border-radius: 22px;
  }

  .lm-local-step__head {
    margin-bottom: 12px;
  }

  .lm-local-step__number {
    flex-basis: 69px;
    width: 69px;
    height: 69px;
    font-size: 36px;
  }

  .lm-local-step__title {
    font-size: 20px;
  }

  .lm-local-step__text {
    max-width: 30ch;
    margin-inline: auto;
    font-size: 15px;
    line-height: 1.65;
  }
}

@media (max-width: 450px) {
  .lm-local-process__grid {
    max-width: 320px;
  }

  .mobile-hide {
    display: none;
  }

  .lm-local-process .section-title {
    color: #f6eada;
    max-width: 14ch;
    margin: 0 auto 12px;
}

.lm-local-process .section-text {
        max-width: 40ch;
    }
}

@media (max-width: 380px) {
  .lm-local-process .section-text {
        max-width: 36ch;
        text-wrap: pretty;
    }

  .lm-local-step {
    padding: 30px 22px 34px;
  }

  .lm-local-step__head {
    gap: 14px;
  }

  .lm-local-step__number {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
    font-size: 30px;
  }

  .lm-local-step__title {
    font-size: 19px;
  }
}
