@font-face {
  font-family: "Lora";
  src:
    url("../fonts/Lora-Regular.woff2") format("woff2"),
    url("../fonts/Lora-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "UZ Sans";
  src: url("../fonts/UZSans-Regular.woff") format("woff");
  src: url("../fonts/UZSans-Regular.woff2") format("woff2");
  src: url("../fonts/UZSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "UZ Sans";
  src: url("../fonts/UZSans-Medium.woff") format("woff");
  src: url("../fonts/UZSans-Medium.woff2") format("woff2");
  src: url("../fonts/UZSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "UZ Sans";
  src: url("../fonts/UZSans-SemiBold.woff") format("woff");
  src: url("../fonts/UZSans-SemiBold.woff2") format("woff2");
  src: url("../fonts/UZSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "UZ Sans";
  src: url("../fonts/UZSans-Bold.woff") format("woff");
  src: url("../fonts/UZSans-Bold.woff2") format("woff2");
  src: url("../fonts/UZSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "UZ Sans";
  src: url("../fonts/UZSans-ExtraBold.woff") format("woff");
  src: url("../fonts/UZSans-ExtraBold.woff2") format("woff2");
  src: url("../fonts/UZSans-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #f85658;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.3;
  position: relative;
  font-family: "UZ Sans", sans-serif;
  background: #fff5f6;
}

img {
  max-width: 100%;
}

.wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.main-title {
  text-align: center;
  font-size: 40px;
  margin-bottom: 16px;
  font-family: "Lora";
}

/* ========== Header ========== */

.header {
  padding: 16px 0;
  position: relative;
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.header__link {
  font-size: 18px;
  font-weight: 400;
  color: #2d2926;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.header__link:hover {
  color: #e8553e;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--color-primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
  cursor: pointer;
  box-sizing: border-box;
}

.header__cta:hover {
  background: #d44a34;
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  position: relative;
  z-index: 102;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #2d2926;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.header__burger.active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.header__burger.active span:nth-child(2) {
  opacity: 0;
}

.header__burger.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

.header__mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 16px rgba(0, 0, 0, 0.08);
  z-index: 101;
  padding: 80px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.header__mobile-menu.is-open {
  transform: translateX(0);
}

.header__nav--mobile {
  flex-direction: column;
  gap: 0;
  justify-content: flex-start;
}

.header__nav--mobile .header__link {
  font-size: 17px;
  padding: 14px 0;
  border-bottom: 1px solid #f5f0ed;
  display: block;
  color: #2d2926 !important;
}

.header__cta--mobile {
  width: 100%;
}

.header__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.header__overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1290px) {
  .header__nav--desktop,
  .header__cta--desktop {
    display: none;
  }

  .header__burger {
    display: flex;
  }
}

@media (min-width: 1291px) {
  .header__mobile-menu,
  .header__overlay {
    display: none !important;
  }
}

@media (max-width: 650px) {
  .header__logo-icon img {
    max-width: 150px;
  }
}

/* ===== hero ===== */

.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.hero__text {
  position: relative;
  z-index: 3;
  padding-top: 60px;
}

.hero__title {
  font-size: 56px;
  font-weight: 400;
  color: #2d2926;
  line-height: 1.1;
  margin-bottom: 20px;
  font-family: "Lora";
}

.hero__desc {
  font-size: 18px;
  color: #2d2926;
  max-width: 483px;
}

.hero__train {
  position: absolute;
  left: 0;
  bottom: 45px;
  width: 58%;
  max-width: 860px;
  z-index: 2;
}

.hero__train-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.hero__circle {
  text-align: right;
}

.hero__kanji {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 68px;
  font-weight: 900;
  color: #2d2926;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 8px;
  line-height: 1.1;
  z-index: 2;
}

@media (max-width: 1290px) {
  .hero {
    min-height: auto;
    padding-bottom: 32px;
  }

  .hero__text {
    padding-top: 40px;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__desc {
    font-size: 16px;
  }

  .hero__kanji {
    display: none;
  }
}

@media (max-width: 992px) {
  .hero__container {
    grid-template-columns: repeat(1, 1fr);
  }

  .hero__circle {
    text-align: left;
  }

  .hero__train {
    position: relative;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    z-index: 2;
  }
}

@media (max-width: 700px) {
  .hero__circle img {
    max-width: 400px;
  }
}

@media (max-width: 500px) {
  .hero__circle img {
    max-width: 330px;
  }

  .hero__circle {
    text-align: center;
  }
}

@media (max-width: 400px) {
  .hero__circle img {
    max-width: 250px;
  }
}
/* ===== hero ===== */

/* ===== info ===== */

.info-hero {
  position: relative;
  /* margin-top: 55px; */
}

.info__text-hero {
  max-width: 710px;
  font-size: 18px;
}

.info__numbers-hero {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  font-family: "Lora";
}

.info__number-hero {
  font-size: 48px;
  margin-bottom: 10px;
}

.info-img-hero {
  position: absolute;
  right: 0;
  top: -30px;
}

.info__text-images {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  margin-bottom: 32px;
}

.info__text-jica {
  max-width: 75px;
}

@media (max-width: 1230px) {
  .info-img-hero {
    position: relative;
    right: -24px;
    top: auto;
  }

  .info__container-hero {
    display: flex;
    gap: 30px;
  }
}

@media (max-width: 968px) {
  .info__container-hero {
    flex-direction: column;
  }

  .info__tex-hero {
    width: 100%;
    max-width: 100%;
  }

  .info-img-hero {
    text-align: right;
  }
}

@media (max-width: 630px) {
  .info__numbers-hero {
    gap: 21px;

    flex-direction: column;
  }
}

/* ===== info ===== */

/* ===== looks ===== */
.looks {
  position: relative;
  margin-top: 90px;
  display: none;
}

.looks__container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 15px;
}

.looks__img {
  border-radius: 4px;
  overflow: hidden;
}

.looks__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .looks__container {
    grid-template-columns: repeat(1, 1fr);
  }
}
/* ===== looks ===== */

/* ===== wall ===== */
.map {
  position: relative;
  margin-top: 70px;
}

.map__img {
  margin-top: 35px;
  text-align: center;
}

#map-wrap {
  position: relative;
}

.map__container {
  position: relative;
}

.map__container::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: url(../img/clouds.png) 0 0 no-repeat;
  background-size: contain;
}

.map__container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: url(../img/zori.png) 0 0 no-repeat;
  background-size: contain;
}

@media (max-width: 768px) {
  .map__container::before,
  .map__container::after {
    display: none;
  }
}
/* ===== wall ===== */

/* ===== wall ===== */
.wall {
  margin-top: 70px;
}

.main-title-block {
  text-align: center;
}

.main-title-subtitle {
  font-size: 18px;
  margin-top: -10px;
  max-width: 700px;
  margin: 0 auto;
}

.title-tooltip {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-primary);
  gap: 10px;
  margin-top: 16px;
}

.wall__container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 36px;
  grid-gap: 60px;
}

.wall__block {
  position: relative;
  background: linear-gradient(246.28deg, #ffecee 50.32%, #ffd0d5 100%);
  text-align: center;
  padding: 60px 20px;
  border-top-left-radius: 80px;
  border-bottom-right-radius: 80px;
}

.wall__block-title {
  font-size: 18px;
  font-family: "Lora";
}

.wall__block-title {
  margin-bottom: 10px;
}

.wall__block-row {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #6e7173;
  gap: 16px;
}

.wall__block-row-icon-block {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.wall__block:nth-child(1) {
  top: -35px;
}

.wall__block:nth-child(4) {
  top: -50px;
}

.wall__block:nth-child(5) {
  top: -35px;
  left: 30px;
}

.wall__block:nth-child(7) {
  top: 10px;
}

.wall__block:nth-child(8) {
  top: -50px;
}

.wall__block:nth-child(9) {
  top: -35px;
}

.wall__block:nth-child(10),
.wall__block:nth-child(11),
.wall__block:nth-child(12) {
  left: -45px;
}

.wall__block:nth-child(11) {
  top: 10px;
}

.wall__block:nth-child(12) {
  top: -45px;
}

.wall-btn-block {
  position: relative;
  text-align: center;
  margin-top: 16px;
}

.wall-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--color-primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
  cursor: pointer;
}

@media (max-width: 1092px) {
  .wall__container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .wall__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .wall__block {
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }
}

@media (max-width: 500px) {
  .wall__container {
    grid-template-columns: repeat(1, 1fr);
  }
}
/* ===== wall ===== */

/* ===== info ===== */
.info {
  position: relative;
  margin-top: 55px;
}

.info .container {
  position: relative;
}

.info .container::before {
  content: "";
  position: absolute;
  width: 85px;
  height: 80px;
  top: -55px;
  right: 110px;
  background: url(../img/info-before.png) 0 0 no-repeat;
  background-size: contain;
}

.info__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 35px;
  grid-gap: 20px;
}

.info__block {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.info__block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(185, 0, 2, 0) 63.91%,
    #f8383a 109.66%
  );
}

.info__block-img {
  height: 100%;
  width: 100%;
}

.info__block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.info__block-text {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: absolute;
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  bottom: 25px;
  left: 40px;
  z-index: 10;
}

.info__block-text-icon img {
  display: block;
  margin-right: 12px;
}

.info__block-1 {
  height: 455px;
}

.info__block-2 {
  height: 400px;
}

.info__block-3 {
  height: 465px;
}

.info__block-4 {
  height: 334px;
}

.info__block-5 {
  height: 300px;
  top: -10px;
}

.info__block-6 {
  height: 400px;
  top: -65px;
}

.info__block-7 {
  height: 298px;
  top: 0;
}

.info__block-8 {
  height: 399px;
  top: -131px;
}

.embassy-hero__logo {
}

@media (max-width: 1260px) {
  .info__container {
    grid-template-columns: repeat(2, 1fr);
  }
  a.info__block {
    height: auto;
    top: auto;
    height: 300px;
  }
}

@media (max-width: 992px) {
  .info__block-text {
    font-size: 20px;
  }
}

@media (max-width: 700px) {
  .info__block-text-icon {
    display: none;
  }

  .info__block-text {
    left: 20px;
  }
}
/* ===== info ===== */

/* ===== know ===== */
/* .know {
  position: relative;
  margin-top: 100px;
}

.know__block .main-title {
  text-align: left;
}

.know__container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 96px;
}

.know__block {
  font-size: 18px;
}

.text-margin-bottom {
  margin-bottom: 30px;
}

.know__block-1 {
  width: 40%;
}

.know__block-2 {
  width: 60%;
}

.know__block .header__cta {
  margin-top: 20px;
}

@media (max-width: 768px) {
  .know__container {
    flex-direction: column;
  }

  .know__block-1,
  .know__block-2 {
    width: 100%;
  }
} */
/* ===== know ===== */

/* ===== jica ===== */
.jica {
  margin-top: 100px;
  padding-bottom: 80px;
}

.jica__grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}

.jica__row {
  display: flex;
  gap: 12px;
  justify-content: space-around;
}

.jica__img {
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}

.jica__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Exact pixel sizes per image */
.jica__img--1 {
  width: 195px;
  height: 130px;
}
.jica__img--2 {
  width: 325px;
  height: 182px;
}
.jica__img--3 {
  width: 239px;
  height: 179px;
}
.jica__img--4 {
  width: 387px;
  height: 218px;
}
.jica__img--5 {
  width: 317px;
  height: 179px;
}
.jica__img--6 {
  width: 265px;
  height: 198px;
}
.jica__img--7 {
  width: 311px;
  height: 175px;
}
.jica__img--8 {
  width: 293px;
  height: 220px;
}
.jica__img--9 {
  width: 265px;
  height: 198px;
}
.jica__img--10 {
  width: 292px;
  height: 219px;
}
.jica__img--11 {
  width: 193px;
  height: 181px;
}
.jica__img--12 {
  width: 261px;
  height: 174px;
}
.jica__img--13 {
  width: 248px;
  height: 186px;
}
.jica__img--14 {
  width: 276px;
  height: 172px;
}
.jica__img--15 {
  width: 269px;
  height: 158px;
}

.jica__text-block {
  width: 100%;
  height: 100%;
  min-width: 0;
  background: linear-gradient(246.28deg, #ffecee 50.32%, #ffd0d5 100%);
  box-sizing: border-box;
  border-radius: 10px;
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  max-width: 500px;
}

.jica__logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  object-position: left;
}

.jica__text-block p {
  font-size: 15px;
  line-height: 1.65;
  color: #2d2926;
}

.jica__row--1 {
  align-items: center;
}

.jica__row--2 {
  justify-content: center;
}

.jica__row--3 {
  align-items: center;
}

.jica__row--4 {
  align-items: center;
  justify-content: space-between;
}

.jica__row--2 {
  align-items: center;
}

@media (max-width: 1345px) {
  .jica__img {
    width: auto !important;
    height: auto !important;
  }

  .jica__img {
    flex-shrink: initial;
  }
}

@media (max-width: 768px) {
  .jica__row {
    flex-direction: column;
  }

  .jica__text-block {
    max-width: 100%;
  }
}
/* ===== jica ===== */

/* ===== footer ===== */
.footer {
  background: #fff;
  border-top: 1px solid #d4d5d6;

  padding: 40px 0 0;
}

.footer__logo-row {
  padding-bottom: 32px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 24px;
  font-weight: 600;
  color: #2d2926;
}

.footer__logo img {
  height: 40px;
  width: auto;
}

.footer__divider {
  height: 1px;
  background: #d4d5d6;
}

.footer__main {
  display: grid;
  grid-template-columns: 300px 1fr 1fr 1fr;
  gap: 48px;
  padding: 40px 0;
}

.footer__col-label {
  font-size: 16px;
  color: #6e7173;
  margin-bottom: 12px;
  font-weight: 600;
}

.footer__col--contacts p {
  font-size: 14px;
  color: #2d2926;
  line-height: 1.6;
  max-width: 280px;
}

.footer__col-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav a {
  font-size: 16px;
  color: #2c2a29;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: var(--color-primary);
}

.footer__socials {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #2d2926;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__social:hover {
  color: var(--color-primary);
}

.footer__social svg {
  flex-shrink: 0;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-links a {
  font-size: 13px;
  color: #2d2926;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__bottom-links a:hover {
  color: var(--color-primary);
}

.footer__bottom-logo img {
  display: block;
  height: 16px;
  width: auto;
}

.footer__bottom-copy {
  font-size: 13px;
  color: #2c2a29;
}

@media (max-width: 992px) {
  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer__col--contacts {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .footer__col--contacts {
    grid-column: span 1;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
/* ===== footer ===== */

/* ===== open ===== */
.open {
  position: relative;
  overflow: hidden;
  margin-top: 100px;
  margin-bottom: 50px;
  background: url(../img/open-main.jpg) 0 0 no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.open__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* .open__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 30%,
    rgba(44, 9, 54, 0.85) 60%
  );
} */

.open .container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  padding-top: 80px;
  padding-bottom: 80px;
}

.open__content {
  width: 35%;
}

.open__title {
  font-family: "Lora", serif;
  font-size: 40px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 32px;
}

.open__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 16px;
  margin-bottom: 32px;
}

.open__item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
}

.open__item:hover .open__item-name {
  text-decoration: underline;
}

.open__item-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.open__btn {
  display: inline-block;
  padding: 16px 40px;
  background: #fff;
  color: var(--color-primary);
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.open__btn:hover {
  background: var(--color-primary);
  color: #fff;
}
/* ===== open ===== */

@media (max-width: 1024px) {
  .open__content {
    width: 55%;
  }
}

@media (max-width: 768px) {
  .open__content {
    width: 100%;
  }

  .open__overlay {
    display: none;
  }
}

@media (max-width: 480px) {
  .open__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .open__title {
    font-size: 28px;
  }
}

/* ===== popup ===== */
.popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.popup.is-open {
  display: flex;
}

.popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.popup__window {
  position: relative;
  z-index: 1;
  background: linear-gradient(232.68deg, #ffecee 69.71%, #ffd0d5 105.7%);
  width: 100%;
  max-width: 730px;
  margin: 16px;
  border-top-left-radius: 80px;
  border-bottom-right-radius: 80px;
  padding: 56px;
  box-sizing: border-box;
}

.popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.popup__title {
  font-size: 40px;
  font-family: "Lora";
  margin-bottom: 24px;
}

.popup__row {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 16px;
  gap: 16px;
}

.popup__row:last-child {
  margin-bottom: 0;
}

.popup__row-block-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.popup__row-block-text {
  font-size: 18px;
}

.popup__row-block:first-child {
  flex-shrink: 0;
  width: fit-content;
}

.popup__row-block img {
  margin-top: 5px;
  width: 32px;
  height: 32px;
}

.popup__text {
  font-size: 18px;
  margin: 24px 0;
}

.popup__text-it {
  font-size: 18px;
  font-style: italic;
}

@media (max-width: 700px) {
  .popup__window {
    padding: 45px 20px;
    max-height: 500px;
    overflow-y: scroll;
  }

  .popup__title {
    font-size: 30px;
  }
}
/* ===== popup ===== */

/* ===== Japan hero ===== */
.japan-hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.japan-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.japan-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 120px 24px 25px;
  width: 100%;
}

.japan-hero__title {
  font-family: "Lora", serif;
  font-size: 64px;
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 10px;
}

.japan-hero__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: auto;
}

.japan-hero__text {
  font-size: 18px;
  color: #fff;
  max-width: 532px;
  margin: 0 auto;
  margin-bottom: 15px;
}

.japan-hero__logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.japan-hero__scroll {
  margin-top: 60px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s;
}

.japan-hero__scroll:hover {
  opacity: 1;
}

.japan-hero__scroll svg {
  animation: scrollBounce 1.6s ease-in-out infinite;
}

.sroll-line {
  display: block;
  width: 1px;
  height: 38px;
  margin: 0 auto;
  background: #ffffff66;
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* ===== Japan intro ===== */
.japan-intro {
  padding: 80px 0 20px;
  text-align: center;
}

.japan-intro__title {
  font-family: "Lora", serif;
  font-size: 40px;
  font-weight: 400;
  color: #2c2a29;
  margin-bottom: 24px;
  line-height: 1.25;
}

.japan-intro__highlight {
  color: var(--color-primary);
}

.japan-intro__text {
  font-size: 18px;
  line-height: 1.7;
  color: #2c2a29;
  max-width: 760px;
  margin: 0 auto;
}

/* ===== Info blocks as links ===== */
a.info__block {
  text-decoration: none;
  cursor: pointer;
  display: block;
}

a.info__block::after {
  content: "›";
  position: absolute;
  right: 20px;
  bottom: 25px;
  color: #fff;
  font-size: 28px;
  z-index: 10;
  line-height: 1;
}

a.info__block:hover .info__block-img img {
  transform: scale(1.04);
  transition: transform 0.4s ease;
}

.info__block-img img {
  transition: transform 0.4s ease;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .japan-hero__title {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .japan-hero__title {
    font-size: 36px;
  }

  .japan-intro__title {
    font-size: 28px;
  }

  .japan-intro {
    padding: 56px 0 16px;
  }
}

@media (max-width: 480px) {
  .japan-hero__title {
    font-size: 30px;
  }

  .japan-hero {
    min-height: 480px;
  }
}

/* ===== Lang Switcher ===== */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
}

/* Desktop: button + dropdown */
.lang-switcher--desktop .lang-switcher__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: #2d2926;
  font-family: "UZ Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.2s;
  line-height: 1;
}

.lang-switcher--desktop .lang-switcher__btn:hover {
  color: var(--color-primary);
}

.lang-switcher__chevron {
  transition: transform 0.2s;
}

.lang-switcher--desktop
  .lang-switcher__dropdown.is-open
  ~ .lang-switcher__btn
  .lang-switcher__chevron,
.lang-switcher--desktop:has(.lang-switcher__dropdown.is-open)
  .lang-switcher__chevron {
  transform: rotate(180deg);
}

.lang-switcher__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  min-width: 76px;
  z-index: 200;
}

.lang-switcher__dropdown.is-open {
  display: block;
}

.lang-switcher__option {
  display: block;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: "UZ Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #2d2926;
  text-align: left;
  transition:
    background 0.15s,
    color 0.15s;
  white-space: nowrap;
}

.lang-switcher__option:hover {
  background: #fff5f6;
  color: var(--color-primary);
}

.lang-switcher__option.is-active {
  font-weight: 600;
  color: var(--color-primary);
}

/* Mobile: inline row of buttons */
.lang-switcher--mobile {
  display: flex;
  gap: 8px;
}

.lang-switcher--mobile .lang-switcher__option {
  flex: 1;
  text-align: center;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1.5px solid #e8e0db;
  font-size: 15px;
}

.lang-switcher--mobile .lang-switcher__option.is-active {
  border-color: var(--color-primary);
  background: #fff5f6;
}

/* Inner page: white colors */
.inner-page .header .lang-switcher--desktop .lang-switcher__btn {
  color: #fff;
}

.inner-page .header .lang-switcher--desktop .lang-switcher__btn:hover {
  color: rgba(255, 255, 255, 0.75);
}
/* ===== Lang Switcher ===== */
