:root {
  --bgr: #f4f4f4;
  --header: 60px;
  --margin: 15vw;
}

*,
*::after,
*::before {
  padding: 0;
  margin: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto Condensed', sans-serif;
  line-height: 1;
}

img {
  display: block;
  max-width: 100%;
  width: 100%;
}

svg {
  max-width: 100%;
  max-height: 100%;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header);
  z-index: 100;
  padding: 0 var(--margin);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 500ms ease-in-out;
  transition-duration: 500ms;
}
header.on {
  background-color: var(--bgr);
  transition-duration: 150;
  border-bottom: 1px solid #ccc;
}
header a.logo {
  color: steelblue;
  font-weight: bold;
  font-size: calc(var(--header) / 2);
  height: calc(var(--header) - 20px);
  margin-top: auto;
  margin-bottom: auto;
}
 .logo img {
  margin-top: 5px;
  max-width: auto;
  height: 60%;
  display: flex;
  }
header a.logo svg {
  fill-rule: evenodd;
  width: 100%;
  height: auto;
}
header nav {
  display: flex;
  margin-left: 1.5rem;
  gap: 1rem;
  margin-right: auto;
}
header nav a {
  color: steelblue;
  text-decoration: none;
  text-transform: uppercase;
  font-size: clamp(0.9rem, 3vw, 1.15rem);
  width: auto;
  min-width: 100px;
}
header .contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: calc(var(--header) / 3);
  padding: 0;
  overflow: visible;
  margin-left: auto;
  margin-right: 1rem;
}
header .contact a {
  color: steelblue;
}
header .icon {
  width: calc(var(--header) / 2);
  aspect-ratio: 1/1;
}
header .lang {
  justify-self: flex-end;
  position: relative;
}
header .lang .active {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
header .lang svg {
  height: 100%;
}
header .lang .options {
  position: absolute;
  top: calc(100% + 1.5rem);
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem;
  border-radius: 4px;
  background-color: #ddd;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 300ms ease-in-out, top 300ms ease-in-out;
  pointer-events: none;
}
header .lang .options a {
  display: block;
  width: calc(var(--header) / 2.5);
  cursor: pointer;
}
header .lang .options a svg {
  width: 100%;
  height: auto;
}
header .lang.on .options {
  opacity: 1;
  top: calc(100% + 0.5rem);
  pointer-events: all;
}

main {
  z-index: 0;
}

.hero {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  isolation: isolate;
  color: var(--bgr);
  text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.15);
}
.hero::after {
  content: '';
  display: block;
  position: sticky;
  top: 0;
  z-index: 6;
  height: calc(var(--header) * 3);
  width: 100%;
  background: linear-gradient(white 15%, transparent 100%);
  z-index: 100;
}
.hero::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 5;
}
.hero .photo {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  z-index: -1;
}
.hero .content {
  position: absolute;
  top: var(--header);
  left: var(--margin);
  right: var(--margin);
  bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  text-shadow: 0px 0px 20px #000;
}
.hero .content h1 {
  font-size: clamp(1.75rem, 8vw, 4rem);
  font-weight: normal;
  line-height: 1;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 800ms ease-in-out, transform 800ms ease-in-out;
  text-shadow: 0px 0px 20px #000;
  text-transform: uppercase;
}
.hero .content h1.in {
  opacity: 1;
  transform: translateY(0);
}
.hero .content p {
  font-size: clamp(0.9rem, 4vw, 1.5rem);
  font-weight: normal;
  line-height: 1;
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 600ms ease-in-out, transform 600ms ease-in-out;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  margin-bottom: 1.5rem;
  text-shadow: 0px 0px 10px #000;
}
.hero .content p.in {
  opacity: 1;
  transform: translateY(0);
}
.hero .content .button {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  background-color: steelblue;
  border-radius: 4px;
  text-transform: uppercase;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  font-size: clamp(0.8rem, 4vw, 1.25rem);
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.15);
  transition: transform 400ms ease-in-out, opacity 400ms ease-in-out,
    background-color 250ms ease-in-out, box-shadow 250ms ease-in-out;
  opacity: 0;
  transform: translateY(15px);
  color: #fff;
  line-height: 1.25;
}
.hero .content .button.in {
  opacity: 1;
  transform: translateY(0);
}
.hero .content .button:hover {
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
  background-color: #2a4280;
}
.hero .content .button:active {
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
  background-color: #2a4280;
}

.info-blocks {
  display: flex;
  align-items: stretch;
  color: #fff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}
.info-blocks .block {
  flex-basis: 50%;
  padding: calc(var(--margin) / 3) calc(var(--margin) / 2);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  background-color: #476cd4;
}
.info-blocks .block:last-child {
  align-items: flex-start;
  text-align: left;
  background-color: #133dad;
}
.info-blocks h2 {
  font-size: clamp(2rem, 3rem, 15vw);
  margin-bottom: 1.5rem;
}
.info-blocks p {
  font-size: clamp(1rem, 1.8rem, 6vw);
  opacity: 0.7;
}

section {
  padding: var(--header) 0 0;
  display: flex;
  min-height: calc(100vh - var(--header) * 2);
  background-color: #f3eddf; /* цвет фона слабо зеленый #d3eddf*/
}

.left {
  flex-basis: 50%;
}
.left div {
  flex: 1;
}

.map {
  width: 100%;
}

.right {
  flex-basis: 50%;
  padding: 1.5rem;
	 /* изменение flex на grid */
  display: grid;
  flex-direction: column;
  gap: 1rem;
}
.right .top {
	 /* изменение flex на grid */
  display: grid;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.1));
}
.right h2 {
  font-weight: normal;
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  font-weight: 100;
  /*text-transform: uppercase;*/
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
  border-radius: 4px 4px 0 0;
}
.right .row {
  margin: 1rem !important;
}
.right .row input {
  height: 40px;
  border-radius: 4px;
  border: 1px solid #ddd;
  outline: none;
  width: 100%;
  padding: 0 1rem 0 2rem;
}
.right .row input:focus {
  border-color: steelblue;
}

.labels {
  display: flex;
  align-items: center;
  background-color: #444;
  color: #fff;
  /*border-radius: 100vw;*/
  border-radius: 4px 4px 4px 4px;
}
.labels div {
  padding: 0.5rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  flex: 1;
  align-self: stretch;
}
.labels div.price {
  border: right;
  white-space: nowrap;
  text-align: center;
  flex: 0;
}

.labels div.distance {
  text-align: right;
  flex: 0;
}

.items {
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: 4px;
  filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.1));
  /* новая вставка */
  display: grid;
}
.items .item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
}
.items .item:first-child {
  border-radius: 4px 4px 0 0;
}
.items .item:last-child {
  border: none;
  border-radius: 0 0 4px 4px;
}
.items .item > div {
  flex-basis: auto;
  padding: 0.75rem 1rem;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  flex: 1;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.items .item > div.price {
  border: right;
}
.items .item > div.price,
.items .item > div.distance {
  white-space: nowrap;
  text-align: right;
  flex: 0;
}
.items .item > div.price.wrap,
.items .item > div.distance.wrap {
  white-space: unset;
  display: flex;
  flex-direction: column;
}
.items .item > div.price .promo-price,
.items .item > div.distance .promo-price {
  color: seagreen;
  white-space: nowrap;
}
.items .item > div.price .old-price,
.items .item > div.distance .old-price {
  font-size: 0.9rem;
  text-decoration: line-through;
  opacity: 0.7;
  white-space: nowrap;
}
.items .item > div.distance {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}
.items .item:hover {
  background-color: #fff;
}
.items .item.active {
  background-color: steelblue !important;
  color: #fff !important;
  position: relative;
}
.items .item.active::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 8px 8px 0;
  border-color: transparent steelblue transparent transparent;
}
.items .item.active .promo-price {
  color: #fff !important;
}

main .contact {
  position: relative;
  padding: calc(var(--margin) / 3) var(--margin);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 3rem;
  z-index: 0;
}
main .contact .bgr {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}
main .contact .bgr img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  z-index: 0;
}
main .contact .bgr::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 5;
}
main .contact .text {
  flex-basis: 50%;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
  color: #fff;
  text-align: right;
}
main .contact .text h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  margin-bottom: 1.5rem;
  text-shadow: 0px 0px 20px #000;
}
main .contact .text p {
  font-size: clamp(0.9rem, 1.5vw, 1.25rem);
  text-shadow: 0px 0px 10px #000;
  line-height: 1.25;
}
main .contact .form {
  flex-basis: 50%;
  padding: 1.5rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.row {
  display: flex;
  flex-direction: column-reverse;
  margin-bottom: 1rem;
  position: relative;
}
.row:last-child {
  margin-bottom: 0;
}
.row input,
.row textarea {
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  outline: none;
  box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.15);
  padding: 1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 1rem;
  transition: background-color 250ms ease-in-out, border 250ms ease-in-out,
    border-radius 250ms ease-in-out;
  border-radius: 4px;
  border-bottom: 2px solid transparent;
}
.row input {
  height: 50px;
  padding: 0 1rem;
}
.row label {
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  transition: color 250ms ease-in-out;
  color: rgba(255, 255, 255, 0.75);
}
.row button {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  padding: 1rem 2rem;
  background-color: steelblue;
  border-radius: 4px;
  text-transform: uppercase;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  border: none;
  outline: none;
  cursor: pointer;
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.15);
  transition: transform 400ms ease-in-out, opacity 400ms ease-in-out,
    background-color 250ms ease-in-out, box-shadow 250ms ease-in-out;
  color: white;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.row button:hover {
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
  background-color: #2a4280;
}
.row button:active {
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
  background-color: darkcyan;
}
.row button[disabled] {
  background-color: gray;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  box-shadow: none;
}
.row button[disabled] span {
  width: 0.25rem;
  min-width: 0.25rem;
  height: 0.25rem;
  background-color: #fff;
  border-radius: 50%;
  animation: dots 500ms ease-in-out infinite;
}
.row button[disabled] span:nth-child(2) {
  animation-delay: 100ms;
}
.row button[disabled] span:nth-child(3) {
  animation-delay: 200ms;
}
.row button[disabled] span:nth-child(4) {
  animation-delay: 300ms;
}
.row button[disabled] span:nth-child(5) {
  animation-delay: 400ms;
}
.row:focus-within label {
  color: white;
}
.row:focus-within input,
.row:focus-within textarea {
  background-color: rgba(255, 255, 255, 0.5);
  border-color: mediumseagreen;
  border-radius: 4px 4px 0 0;
}

.pin {
  width: 1rem;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 50%;
  left: 0.5rem;
  transform: translateY(50%);
  fill: mediumseagreen;
}
.pin svg {
  width: 100%;
  height: auto;
}
.pin .loader {
  animation: rotate 1.5s linear infinite;
  transform-origin: center center;
  width: 100%;
  height: 100%;
}
.pin .loader .loader-path {
  stroke-width: 4px;
  stroke: mediumseagreen;
  stroke-dasharray: 150, 200;
  stroke-dashoffset: -10;
  animation: dash 1s ease-in-out infinite, color 6s ease-in-out infinite;
  stroke-linecap: round;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124;
  }
}
.photos {	
  display: flex;
  align-items: stretch;
}
.photos a {
  flex-basis: 33.333333%;
  width: 33.333333%;
  aspect-ratio: 3/2;
}
.photos a picture {
  width: 100%;
  height: 100%;
  aspect-ratio: 3/2;
  display: block;
}
.photos a img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}

.success-text {
  display: none;
}

footer {
  padding: calc(var(--margin) / 4) var(--margin);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: steelblue;
  position: relative;
  color: rgba(255, 255, 255, 0.5);
}
footer * {
  z-index: 10;
}
footer::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 5;
}

.grecaptcha-badge {
  display: none !important;
}

.promos {
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  line-height: 1.25;
}
.promos .promo .data {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.promos span {
  display: inline-block;
  position: relative;
  margin-right: 10px;
}
.promos span::before {
  content: '';
  position: absolute;
  inset: -3px -5px;
  background-color: transparent;
  z-index: -1;
}
.promos span.success::before {
  background-color: seagreen;
}
.promos span.info::before {
  background-color: steelblue;
}

@keyframes dots {
  0%,
  100% {
    opacity: 0.1;
  }
  50% {
    opacity: 1;
  }
}
@media only screen and (max-width: 1024px) {
  :root {
    --margin: 2rem;
    --header: 60px;
  }
  .hero {
    aspect-ratio: unset;
    height: 100vh;
    height: 100dvh;
  }
  .hero .content h1 {
    margin-bottom: 2rem;
  }
  .hero .content p {
    font-size: 1.25rem;
    line-height: 1.25;
  }
  .info-blocks {
    flex-direction: column;
  }
  .info-blocks .block {
    padding: calc(var(--margin) * 2) var(--margin);
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .info-blocks .block h2 {
    font-size: 1.8rem;
  }
  .info-blocks .block p {
    font-size: 1.25rem;
  }
  header .contact {
    padding: 0;
    flex-direction: row;
  }
  main .contact {
	display: flex;	  /*добавлено для мобильной версии браузера*/
    flex-direction: column;
	z-index: 0; 		/*добавлено для мобильной версии браузера*/
	align-items: flex-end;		/*добавлено для мобильной версии браузера*/
  }
  main .contact .text,
  main .contact .form {
    flex-basis: unset;
    width: 100%;
  }
  main .contact .form {
    margin-bottom: 3rem;
  }
  main .contact .text {
    align-items: center;
    text-align: center;
  }
  main .contact .text h2 {
    width: 100%;
    font-size: 2rem !important;
  }
  main .contact .text p {
    width: 100%;
    font-size: 1.25rem;
    line-height: 1.1;
  }
  main .contact .bgr {
    inset: 0;
    transform: translateY(0);
  }
  main .contact .bgr img {
    -o-object-fit: cover;
    object-fit: cover;
  }
}
@media only screen and (max-width: 768px) {
  :root {
    --margin: 1rem;
    --header: 60px;
    --bheight: 50px;
  }
  body {
    padding-bottom: var(--bheight);
	display: inline-flex;
	flex-direction: column;
  }
  header a.logo {
    font-size: 1.25rem;
  }
  header .contact {
    padding: 0;
    flex-direction: row;
    gap: 0.5rem;
  }
  header .contact a {
    font-size: 1rem;
  }
  header .contact .icon {
    width: calc(var(--header) / 2.5);
  }
  main {
	display: inline-flex;
	flex-direction: column;
  }
  .contact {
    padding: calc(var(--margin) * 2) var(--margin);
    gap: 1rem;
    position: fixed; /*исправлено для мобильной версии браузера с fixed на relative */
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0; /*исправлено для мобильной версии браузера с 99999 на 0 */
    height: inherit; /*исправлено для мобильной версии браузера с var(--bheight) на inherit */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bgr);
    margin-right: 0 !important;
  }
  main .contact {		/*добавлено для мобильной версии браузера*/
	display: block;	  /*добавлено для мобильной версии браузера*/
    flex-direction: column; /*добавлено для мобильной версии браузера*/
	z-index: 0; 		/*добавлено для мобильной версии браузера*/
	align-items: flex-end;		/*добавлено для мобильной версии браузера*/
	overflow: visible; /*!!!!!добавлено для мобильной версии браузера*/
  }
  main .contact .bgr { /*добавлено для мобильной версии браузера*/
	  overflow: visible;  /*добавлено для мобильной версии браузера*/
  }
  .photos {
	height: 100%;      /*добавлено для мобильной версии браузера*/
	display: block;	  /*добавлено для мобильной версии браузера*/
    flex-direction: column;
  }
  .photos a {
    flex-basis: 100%;
    width: 100%;
  }
  footer {
    padding: var(--margin);
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .left {
	flex-basis: 100%; 
  }
  .right {
    padding: 1rem;
	display: grid;
	flex-direction: column;
  }
  section {
    flex-direction: column-reverse;
    font-size: 0.8rem;
  }
  section .map {
    height: 100vw !important;
	width: 100%; 
  }
  section .items .item > div {
    padding: 0.4rem 0.5rem;
    flex: 0;
    flex-basis: 25%;
  }
  section .items .item > div.price {
    margin-left: auto;
    display: grid;
  }
  section .items .item.active::before {
    display: none;
  }
} /*# sourceMappingURL=style.css.map */
