@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v51-cyrillic_cyrillic-ext_latin_latin-ext-regular.woff2')
    format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/roboto-v51-cyrillic_cyrillic-ext_latin_latin-ext-600.woff2')
    format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v51-cyrillic_cyrillic-ext_latin_latin-ext-700.woff2')
    format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Play';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/play-v21-cyrillic_latin-700.woff2') format('woff2');
}

:root {
  --color-brand: #2b7fff;
  --primary-color: #011c44;
  --background-color: #ffffff;
  --privacy-color: #747272;
  --font-family: 'Roboto', sans-serif;
  --secondary-font-family: 'Play', sans-serif;
}

/* Base */
*,
::before,
::after {
  list-style: none;
  box-sizing: border-box;
}

body {
  color: var(--primary-color);
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  margin: 0 auto;
}

button {
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
}

address {
  font-style: normal;
}

ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.section {
  padding: 48px 0;
}

.container {
  width: 100%;
  max-width: 1288px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Button */
.order-button {
  color: var(--background-color);
  background-color: var(--color-brand);
  padding: 16px 32px;
  font-size: 18px;
  border: 2px solid var(--color-brand);
  border-radius: 32px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
  margin-bottom: 14px;
}
.order-button:hover {
  color: var(--color-brand);
  background-color: transparent;
}

.callback-button {
  color: var(--background-color);
  background-color: var(--color-brand);
  padding: 16px 32px;
  font-size: 18px;
  border: 2px solid var(--color-brand);
  border-radius: 32px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
  margin-bottom: 14px;
}
.callback-button:hover {
  color: var(--color-brand);
  background-color: transparent;
}

/*Link*/
.link {
  color: var(--primary-color);
  text-decoration: none;
}

.link:hover {
  color: var(--color-brand);
  font-weight: 700;
}

/* Header */
.header {
  background-color: silver; /* Remove */
  padding: 32px 0;
}

.header-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header-nav {
  display: flex;
  align-items: center;
  flex-grow: 1;
  gap: 40px;
}

.header-menu {
  display: flex;
  gap: 56px;
  flex-grow: 1;
  justify-content: center;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-icon {
  fill: var(--primary-color);
}

/* Hero */
.hero-section {
  padding: 16px 0 63px 0;
  background: linear-gradient(
      91deg,
      rgba(255, 255, 255, 1) 10%,
      rgba(255, 255, 255, 0.85) 26%,
      rgba(255, 255, 255, 0.19) 53%,
      rgba(255, 255, 255, 0) 74%
    ),
    url(../images/hero-logo.jpg), no-repeat center;
  background-size: cover;
}

.hero-container {
  display: flex;
  margin-left: 110px;
}

.hero-text {
  padding-bottom: 16px;
  margin-bottom: 0;
}

.hero-title {
  color: var(--color-brand);
  font-family: var(--secondary-font-family);
  font-size: 140px;
  font-weight: 700;
  line-height: 0.8;
  margin-bottom: 40px;
  width: 530px;
}

.advice-text {
  line-height: 1.5;
  width: 238px;
  font-size: 12px;
}

/* Transformations section */
.transformation-section {
  padding: 63px 0 128px 0;
}

.transformation-container {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.transformation-content {
  max-width: 710px;
}

.transformation-title {
  color: var(--primary-color);
  font-family: var(--secondary-font-family);
  text-align: left;
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 100%;
  padding-bottom: 40px;
}

.transformation-title .accent {
  color: var(--color-brand);
}

.transformation-text {
  font-size: 22px;
}

.transformation-text .accent {
  font-weight: 600;
}

.transformation-images {
  display: flex;
  flex-direction: column;
  gap: 35px;
  max-width: 499px;
}

.transformation-images img {
  width: 100%;
  max-width: 344px;
  height: auto;
  border-radius: 50%;
}

.transformation-images img:nth-child(2) {
  margin-left: 499px;
  align-self: flex-end;
}

/* Advantages section */
.advantages-list {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.advantages-item {
  flex-basis: calc((100% - 112px) / 3);
}

.advantages-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px 32px;
  border-radius: 16px;
  box-shadow: 0px 4px 4px 0px rgba(168, 198, 245, 0.38);
}

.advantages-title {
  color: var(--primary-color);
  font-family: var(--secondary-font-family);
  text-align: center;
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 48px;
  line-height: 100%;
  padding-bottom: 48px;
}

.advantages-title .accent {
  color: var(--color-brand);
}

.advantages-text {
  font-size: 18px;
  font-weight: 400;
  margin: 0 32px 24px 32px;
  text-align: center;
}

/* Procedures section */
.procedures-container {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}

.procedures-list {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.procedures-item {
  flex-basis: calc((100% - 32px) / 3);
}

.procedures-card {
  display: flex;
  justify-content: center;
  width: 344px;
  height: 456px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 24px 32px;
  border-radius: 4px 120px 4px 120px;
  position: relative;
}

#procedures-card-1 {
  background: linear-gradient(
      180.05deg,
      rgba(1, 28, 68, 0) 48.53%,
      rgba(1, 28, 68, 0.725825) 84.61%,
      #011c44 101.39%
    ),
    url('../images/mask-face.jpg');
}

#procedures-card-2 {
  background: linear-gradient(
      180.05deg,
      rgba(1, 28, 68, 0) 48.53%,
      rgba(1, 28, 68, 0.725825) 84.61%,
      #011c44 101.39%
    ),
    url('../images/injection-face.jpg');
}

#procedures-card-3 {
  background: linear-gradient(
      180.05deg,
      rgba(1, 28, 68, 0) 48.53%,
      rgba(1, 28, 68, 0.725825) 84.61%,
      #011c44 101.39%
    ),
    url('../images/clean-face.jpg');
}

.procedures-title {
  color: var(--primary-color);
  font-family: var(--secondary-font-family);
  text-align: center;
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 48px;
  line-height: 100%;
  padding-bottom: 48px;
}

.procedures-title .accent {
  color: var(--color-brand);
}

.procedures-text {
  color: var(--background-color);
  font-weight: 400;
  font-size: 22px;
  position: absolute;
  bottom: 32px;
  max-width: 152px;
  text-align: center;
}

/* Carousel */
.carousel-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background-color: transparent;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
}

.carousel-button:hover {
  background-color: var(--color-brand);
  fill: var(--background-color);
}

.carousel-button-right {
  transform: rotate(180deg);
}

/* Map and blank section */
.map-container {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.contact-map {
  flex-shrink: 0;
  border: none;
  border-radius: 32px;
}

.map-title {
  color: var(--primary-color);
  font-family: var(--secondary-font-family);
  text-align: center;
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 48px;
  line-height: 100%;
  padding-bottom: 48px;
}

.map-title .accent {
  color: var(--color-brand);
}

.contact-form {
  display: flex;
  padding: 56px 48px;
  text-align: center;
  gap: 16px;
  flex-direction: column;
  border: 2px solid var(--primary-color);
  border-radius: 32px;
  background-color: var(--primary-color);
}

.blank-text {
  color: var(--background-color);
  font-weight: 600;
  font-size: 22px;
}

.blank-text .accent {
  color: var(--color-brand);
}

.privacy-text {
  color: var(--privacy-color);
  font-size: 12px;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  padding: 56px 0;
}

.footer-container {
  display: flex;
}

.footer-nav,
.footer-address {
  display: flex;
  flex-basis: 50%;
}

.footer-logo,
.footer-menu {
  flex-grow: 1;
}

.address-list,
.footer-address {
  flex-grow: 1;
}

.footer-link {
  color: var(--background-color);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--color-brand);
  font-weight: 700;
}

.address-copyright {
  color: var(--privacy-color);
  font-size: 13px;
  text-decoration: none;
}

.footer-icon {
  fill: var(--background-color);
}
