:root {
  --accent: #43c6a1;
  --accent-dark: #2fa886;
  --dark: #1e1f24;
  --text: #5d6470;
  --light: #f7faf9;
  --white: #ffffff;
  --border: #e8efec;
  --shadow: 0 16px 40px rgba(25, 46, 40, 0.08);
  --radius: 22px;
  --container: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: #3bb08b;
  color: #fff;
  font-size: 14px;
}

.topbar__inner {
  min-height: 48px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 239, 236, 0.8);
}

.header__inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dark);
  min-width: fit-content;
}

.logo__icon {
  font-size: 32px;
  color: var(--accent);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__text strong {
  font-size: 18px;
  letter-spacing: 0.03em;
}

.logo__text small {
  color: var(--text);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  position: relative;
  color: var(--dark);
  font-weight: 600;
  font-size: 15px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switcher {
  position: relative;
}

.lang-switcher__current {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--dark);
  padding: 12px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100%);
  right: 0;
  min-width: 150px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
}

.lang-switcher:hover .lang-switcher__menu {
  display: block;
}

.lang-switcher__menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
}

.lang-switcher__menu a:hover {
  background: var(--light);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--dark);
  margin: 7px 0;
  border-radius: 5px;
}

.hero {
  position: relative;
}

.hero-slide {
  min-height: calc(100vh - 144px);
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
}

.hero-slide--one {
  background-image: url("images/1.jpg");
}

.hero-slide--two {
  background-image: url("images/2.jpg");
}

.hero-slide--three {
  background-image: url("images/3.jpg");
}

.hero-slide__overlay,
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 23, 26, 0.6) 0%, rgba(18, 23, 26, 0.32) 50%, rgba(18, 23, 26, 0.28) 100%);
}

.hero-slide__content,
.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  color: #fff;
}

.hero-slide__subtitle {
  font-family: "Great Vibes", cursive;
  font-size: 54px;
  margin: 0 0 12px;
}

.hero-slide h1,
.hero-slide h2,
.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.05;
  font-weight: 800;
}

.hero-slide__text,
.page-hero__content p {
  max-width: 620px;
  font-size: 18px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-slide__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.3s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  text-align: center;
}

.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn--outline {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
}

.btn--outline:hover {
  background: #fff;
  color: var(--dark);
}

.btn--ghost {
  border: 1px solid var(--border);
  color: var(--light);
  background: var(--accent-dark);
  text-align: center;
}

.btn--ghost:hover {
  background: var(--light);
  color: var(--accent-dark);
}

.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}

.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after {
  font-size: 18px;
  font-weight: 800;
}

.hero-slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #fff;
  opacity: 0.45;
}

.hero-slider .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--accent);
}

.features {
  margin-top: -60px;
  position: relative;
  z-index: 2;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin: 0 0 10px;
  color: var(--dark);
  font-size: 20px;
}

.section {
  padding: 110px 0;
}

.section-tag {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
}

.section-title {
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.15;
  color: var(--dark);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 42px;
}

.section-head--center {
  justify-content: center;
  text-align: center;
}

.about {
  background: linear-gradient(180deg, #fff 0%, #f7fbfa 100%);
}

.about__grid,
.delivery__grid,
.contacts-page__grid,
.map-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.about__content p {
  margin-top: 0;
}

.about__list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.about__list div {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.about__list strong {
  display: block;
  color: var(--dark);
  margin-bottom: 6px;
}

.about__visual {
  position: relative;
  min-height: 560px;
}

.about__image {
  position: absolute;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.about__image--main {
  inset: 0 80px 0 0;
  background-image: url("images/2.jpg");
}

.about__image--small {
  right: 0;
  bottom: 30px;
  width: 220px;
  height: 260px;
  background-image: url("images/3.jpg");
  border: 8px solid #fff;
}

.about__badge {
  position: absolute;
  left: -10px;
  bottom: 24px;
  background: #fff;
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.about__badge strong {
  display: block;
  color: var(--dark);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cards-grid--catalog {
  grid-template-columns: repeat(3, 1fr);
}

.product-card,
.team-card,
.stat-card,
.info-box,
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-card__image,
.team-card__image {
  height: 280px;
  background-size: cover;
  background-position: center;
}

.product-card__body {
  padding: 22px;
}

.product-card__body h3,
.team-card h3,
.info-box h3,
.contact-item h3 {
  margin: 0 0 10px;
  color: var(--dark);
}

.product-card__body span {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 800;
}

.stats {
  background: #f7fbfa;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.stat-card {
  padding: 34px 24px;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 42px;
  line-height: 1;
  color: var(--dark);
  margin-bottom: 10px;
}

.stats__text {
  max-width: 860px;
  margin: 34px auto 0;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  padding-bottom: 24px;
}

.team-card h3,
.team-card p {
  padding: 0 22px;
}

.team-card__role {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

.delivery {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%);
}

.delivery-list {
  padding-left: 20px;
  margin: 24px 0 28px;
}

.delivery__cards {
  display: grid;
  gap: 20px;
}

.info-box {
  padding: 26px;
}

.cta__box {
  background: linear-gradient(135deg, #eefaf6 0%, #ffffff 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.page-hero {
  min-height: 420px;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
}

.page-hero--catalog {
  background-image: url("images/2.jpg");
}

.page-hero--contacts {
  background-image: url("https://images.unsplash.com/photo-1455656678494-4d1b5f3e7ad1?auto=format&fit=crop&w=1600&q=80");
}

.contact-card {
  padding: 34px;
}

.contact-card--large {
  min-height: 100%;
}

.contact-list {
  display: grid;
  gap: 20px;
}

.contact-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.map-placeholder {
  min-height: 340px;
  border-radius: 28px;
  background: linear-gradient(135deg, #dff5ed 0%, #f6fbf9 100%);
  border: 1px dashed #b7ddd0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  font-size: 24px;
  font-weight: 700;
}

.footer {
  background: #161a1d;
  color: rgba(255, 255, 255, 0.72);
  padding-top: 80px;
}

.logo--footer {
  color: #fff;
}

.logo--footer .logo__text small {
  color: rgba(255, 255, 255, 0.65);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 28px;
}

.footer h4 {
  color: #fff;
  margin-top: 0;
  margin-bottom: 16px;
}

.footer__text {
  max-width: 320px;
}

.footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 50px;
  padding: 22px 0;
  text-align: center;
}

@media (max-width: 1100px) {
  .nav {
    gap: 18px;
  }

  .cards-grid,
  .grid-4,
  .stats-grid,
  .team-grid,
  .cards-grid--catalog {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid,
  .delivery__grid,
  .contacts-page__grid,
  .map-box,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .about__visual {
    min-height: 460px;
  }
}

@media (max-width: 860px) {
  .topbar {
    display: none;
  }

  .header__inner {
    min-height: 82px;
  }

  .burger {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav.open {
    display: flex;
  }

  .header__actions {
    margin-left: auto;
  }

  .hero-slide {
    min-height: 85vh;
  }

  .hero-slide__subtitle {
    font-size: 40px;
  }

  .section,
  .footer {
    padding-top: 70px;
  }

  .features {
    margin-top: 0;
    padding-top: 24px;
  }

  .section-head,
  .cta__box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .cards-grid,
  .grid-4,
  .stats-grid,
  .team-grid,
  .cards-grid--catalog {
    grid-template-columns: 1fr;
  }

  .hero-slider .swiper-button-prev,
  .hero-slider .swiper-button-next {
    display: none;
  }

  .btn {
    width: 100%;
  }

  .hero-slide__buttons {
    width: 100%;
  }

  .about__image--main {
    inset: 0;
  }

  .about__image--small,
  .about__badge {
    display: none;
  }
}