/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

ul {
  list-style: none;
  padding: 0;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

:root {
  --accent-blue: #27357c;
  --accent-orange: #f28d69;
  --accent-orange-hover: #fa5f30;
  --accent-blue-hover: #4651a3;
  --header-bg: #d9d9d9;
  --tg-color: #3ebfff;
  --whatsapp-color: #15e91c;
  --phone-color: #333;
}

.jost-400 {
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background-color: #27357c;
  scroll-behavior: smooth;
}

.header {
  padding-top: 10px;
}

.header__logo {
  width: 90px;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__nav ul {
  display: flex;
  list-style: none;
  gap: 22px;
  padding: 10px;
  padding-inline: 40px;
  border-radius: 40px;
  background-color: var(--header-bg);
}

.container {
  padding: 0 15px;
  max-width: 1420px;
  margin: 0 auto;
  position: relative;
}

.header__nav a {
  text-decoration: none;
  color: var(--accent-blue);
  font-size: 14px;
}

.hero {
  background: var(--accent-blue);
  margin: 0;
  padding-top: 40px;
}

.hero__logo {
  width: 100%;
  margin: auto;
  margin-left: 10px;
  margin-right: 20px;
  margin-bottom: 30px;
}

._hidden {
  width: 1px;
  height: 1px;
  opacity: 0;
  margin: 0;
  padding: 0;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__description {
  color: #fff;
  text-align: center;
  max-width: 330px;
  font-size: 14px;
}

.hero__bg {
  position: absolute;
  width: 140px;
  height: 140px;
  z-index: 0;
}

.hero__bg:nth-child(1) {
  left: 0;
  transform: translateX(-30%) rotate(26deg);
  top: 20px;
}
.hero__bg:nth-child(2) {
  right: 0;
  transform: translateX(20%) rotate(-10deg);
  top: 60px;
}
.hero__bg:nth-child(3) {
  left: 0;
  transform: translateX(-22%) rotate(10deg);
  bottom: 40px;
}
.hero__bg:nth-child(4) {
  right: 0;
  transform: translateX(10%) rotate(40deg);
  bottom: 40px;
}

.hero__bg:nth-child(5) {
  left: 0;
  transform: translateX(-30%) rotate(26deg);
  top: 20px;
}
.hero__bg:nth-child(6) {
  right: 0;
  transform: translateX(20%) rotate(-10deg);
  top: 60px;
}
.hero__bg:nth-child(7) {
  left: 0;
  transform: translateX(-22%) rotate(10deg);
  bottom: 40px;
}
.hero__bg:nth-child(8) {
  right: 0;
  transform: translateX(10%) rotate(40deg);
  bottom: 40px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 90px;
}

.hero .container {
  z-index: 1;
}

.hero__button {
  padding: 15px 40px;
  background-color: var(--accent-orange);
  border-radius: 40px;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cafes {
  padding-top: 20px;
  background-color: #fff;
  padding-bottom: 10px;
}

.cafes__title {
  color: var(--accent-orange);
  font-weight: 600;
  font-size: 24px;
}

.cafes__list {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  gap: 35px;
}

.cafes__img {
  object-fit: cover;
  height: 80%;
}

.cafes__img-span {
  height: 80%;
  position: relative;
  background-color: var(--accent-blue);
}

.cafes__img-span .cafes__img {
  height: 100%;
  width: 100%;
  opacity: 0.5;
}

.cafes__blur {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(16px);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: #fff;
  text-align: center;
  padding: 0 20px;
}

.cafes__img-span ~ .cafes__name {
  font-size: 32px;
  margin: auto;
  text-align: center;
}
.cafes__img-span ~ .cafes__info {
  display: none;
}

.swiper {
  z-index: 100 !important;
}

.swiper-slide {
  height: auto !important;
}

.cafes__item {
  height: calc(100% - 100px);
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 20px;
  -webkit-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
  -moz-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
  box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
  margin: 10px auto;
  margin-bottom: 40px;
  max-width: 340px;
}

.cafes__name {
  color: var(--accent-blue);
}

.cafes__info {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  height: fit-content;
}

.cafes__info > * {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cafes__link {
  text-decoration: none;
}

.cafes__time {
  margin: 0;
}

._swiper-button-next,
._swiper-button-prev {
  padding: 10px;
  border-radius: 50px;
  border: none;
  display: block;
  width: 32px;
  height: 32px;
  background-color: var(--accent-orange);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero__button:hover,
._swiper-button-next:hover,
._swiper-button-prev:hover {
  background-color: var(--accent-orange-hover);
}

.hero__button:active,
._swiper-button-next:active,
._swiper-button-prev:active {
  transform: scale(0.9);
}

.swiper-buttons {
  position: absolute;
  z-index: 1;
  bottom: 00px;
  gap: 40px;
  display: flex;
  left: 50%;
  transform: translateX(-50%);
}

.contacts {
  background-color: #fff;
  padding-top: 10px;
  padding-bottom: 40px;
}

.contacts__img {
  position: absolute;
  height: 300px;
  width: 130px;
  object-fit: cover;
  object-position: 50% 100%;
  right: 5px;
  top: -100px;
  transform: rotate(0);
  z-index: 12;

  animation: up-down 4s ease-in-out infinite;
}

@keyframes up-down {
  0% {
    transform: rotate(0) translateY(0);
  }
  50% {
    transform: rotate(0) translateY(-60px);
  }
  100% {
    transform: rotate(0) translateY(0);
  }
}

.contacts__title {
  color: var(--accent-orange);
  font-weight: 600;
  font-size: 24px;
  margin: 0;
  margin-bottom: 20px;
}

.button-tg,
.button-phone,
.button-whatsapp {
  padding: 10px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  width: 180px;
  gap: 8px;
}

.button-tg {
  border: 2px solid var(--accent-blue);
  background-color: var(--accent-blue);
  color: #fff;
  text-decoration: none;
}
.button-whatsapp {
  border: 2px solid var(--accent-blue);
  background-color: var(--accent-blue);
  color: #fff;
  text-decoration: none;
}
.button-phone {
  border: 2px solid var(--phone-color);
  color: var(--phone-color);
  padding-block: 12px;
  font-weight: 600;
  text-decoration: none;
}

.contacts__links {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  z-index: 1;
  position: relative;
  max-width: calc(100% - 100px);
}

.ymaps-2-1-79-gototech,
.ymaps-2-1-79-copyright.ymaps-2-1-79-copyright_logo_no {
  display: none !important;
}

.map_section {
  position: relative;
}

.map__buttons {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map__btn {
  background-color: var(--accent-blue);
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  transition: 0.3s ease;
}

.map__btn:hover {
  background-color: var(--accent-blue-hover);
}

.map__btn.active {
  outline: 3px solid var(--accent-orange);
}

.franchise {
  padding-block: 40px;
}

.franchise .container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.video {
  min-width: 130px;
  width: 20vw;
  min-height: 140px;
  aspect-ratio: 1 / 1.5;
  object-fit: cover;
  border-radius: 20px;
  display: inline;
  position: relative;
  max-width: 340px;
}

.franchise__title {
  color: #fff;
  margin: 0;
}

.franchise__description {
  color: #fff;
}

.franchise__description span {
  color: var(--accent-orange);
  font-weight: 600;
}

.franchise__email {
  color: #fff;
  text-decoration: none;
  padding: 6px 20px;
  font-size: 14px;
  display: block;
  width: fit-content;
  margin-bottom: 10px;
  text-wrap-mode: nowrap;
}

.franchise > svg {
  margin: auto;
  margin-top: 20px;
  width: 100%;
}

.franchise .container svg {
  width: 160px;
}

@media (min-width: 700px) {
  .hero__logo {
    height: 120px;
  }

  .hero__description {
    font-size: 18px;
    max-width: 380px;
  }
}

@media (min-width: 1170px) {
  .hero__bg {
    width: 200px;
    height: 200px;
  }
  .hero__bg:nth-child(1) {
    left: 150px;
    transform: translateX(-30%) rotate(26deg);
    top: 20px;
  }
  .hero__bg:nth-child(2) {
    right: 200px;
    transform: translateX(20%) rotate(-10deg);
    top: 60px;
  }
  .hero__bg:nth-child(3) {
    left: 0;
    transform: translateX(-22%) rotate(10deg);
    bottom: 40px;
  }
  .hero__bg:nth-child(4) {
    right: 0;
    transform: translateX(10%) rotate(40deg);
    bottom: 40px;
  }
  .cafes__title,
  .contacts__title,
  .franchise__title {
    font-size: 40px;
  }

  .franchise__description {
    font-size: 24px;
  }

  .franchise__email {
    font-size: 24px;
    padding-inline: 50px;
    padding-block: 20px;
  }
  .franchise .container svg {
    width: 350px;
    height: 120px;
  }

  .button-tg,
  .button-phone,
  .button-whatsapp {
    font-size: 24px;
    width: 260px;
    padding-block: 16px;
  }
  .button-tg svg,
  .button-phone svg,
  .button-whatsapp svg {
    width: 24px;
    height: 24px;
  }
  .cafes__item {
    transition: transform 0.2s ease;
  }
  .cafes__item:hover {
    transform: scale(1.1);
  }
}
