/* Florals24 - копия сайта */
:root {
  --color-primary: #3e63dd;
  --color-primary-hover: #3a5bc7;
  --color-bg: #fdfdfe;
  --color-bg-blue: #edf2fe;
  --color-footer: #1f2d5c;
  --color-text: #111111;
  --color-border: #e6e6e6;
  --font: 'Inter', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  color: #fff;
  background: var(--color-primary);
}

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

.btn-outline {
  color: var(--color-primary);
  background: transparent;
  border: 1px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary-hover);
  color: #fff;
  border-color: var(--color-primary-hover);
}

/* Burger (mobile) */
.burger {
  display: none;
  width: 28px;
  height: 20px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.burger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-text);
  transition: transform 0.25s, opacity 0.25s;
}

.burger.burger--open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.burger--open span:nth-child(2),
.burger.burger--open span:nth-child(3) {
  opacity: 0;
}

.burger.burger--open span:nth-child(4) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 980px) {
  .burger {
    display: flex;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: #fff;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo img {
  max-width: 150px;
}

.header__nav {
  display: flex;
  gap: 15px;
}

.header__nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.3s;
}

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

.header__right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header__tagline {
  font-size: 14px;
  line-height: 1.3;
  color: var(--color-text);
  text-align: right;
}

.header__telegram {
  display: flex;
}

@media (max-width: 980px) {
  .header {
    position: static;
    padding: 20px;
  }

  .header__inner {
    padding: 20px;
  }

  .header__tagline,
  .header__telegram {
    display: none;
  }

  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-primary-hover);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .header__nav.header__nav--open {
    opacity: 1;
    visibility: visible;
  }

  .header__nav a {
    color: #fff;
    font-size: 18px;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  padding: 75px 0 0;
  background: var(--color-bg);
  overflow: hidden;
}

.hero__decor {
  position: absolute;
  pointer-events: none;
}

.hero__decor1 {
  bottom: -50px;
  right: -400px;
  width: 706px;
}

.hero__decor2 {
  bottom: -10px;
  right: -50px;
  width: 764px;
}

.hero__inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-top: 65px;
}

.hero__content {
  flex: 0 0 602px;
}

.hero__title {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 400;
  margin: 0 0 24px;
}

.hero__desc {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.55;
  margin: 0 0 32px;
}

.hero__buttons {
  display: flex;
  gap: 20px;
}

.hero__img {
  flex: 0 0 560px;
}

@media (max-width: 1199px) {
  .hero__content {
    flex: 0 0 450px;
  }

  .hero__title {
    font-size: 42px;
  }

  .hero__desc {
    font-size: 16px;
  }

  .hero__img {
    flex: 0 0 500px;
  }
}

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

  .hero__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero__content {
    flex: none;
    max-width: 612px;
  }

  .hero__title {
    font-size: 42px;
  }

  .hero__img {
    flex: none;
    max-width: 440px;
    order: -1;
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__decor {
    display: none;
  }
}

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

  .hero__desc {
    font-size: 14px;
  }

  .hero__buttons {
    flex-direction: column;
  }

  .hero__buttons .btn {
    width: 100%;
  }
}

/* Divider */
.divider-section {
  padding: 0 0 75px;
}

.divider-line {
  height: 3px;
  background: var(--color-primary-hover);
  margin-bottom: 20px;
}

.divider-text {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  max-width: 1000px;
}

/* Benefits */
.benefits {
  padding: 30px 0 105px;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-card {
  padding: 30px 20px;
  text-align: center;
}

.benefit-card img {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
}

.benefit-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 15px;
}

.benefit-card p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .benefits__grid {
    grid-template-columns: 1fr;
  }
}

/* Section */
.section {
  padding: 75px 0 0;
}

.section--blue {
  background: var(--color-bg-blue);
}

.section__title {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  margin: 0 0 60px;
  padding: 0 20px;
}

/* Tabs */
.tabs {
  padding: 0 20px 30px;
}

.tabs__list {
  display: flex;
  justify-content: center;
  gap: 10px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #ccc;
}

.tabs__list--4 .tabs__tab {
  flex: 0 1 auto;
  min-width: 140px;
  max-width: 220px;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}

.tabs__tab {
  flex: 0 1 auto;
  min-width: 120px;
  max-width: 260px;
  padding: 15px 10px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  color: var(--color-text);
  transition: color 0.2s, border-color 0.2s;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}

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

.tabs__tab--active {
  color: var(--color-primary-hover) !important;
  font-weight: 600;
  border-bottom-color: var(--color-primary-hover);
}

.tabs__select {
  display: none;
  width: 100%;
  max-width: 400px;
  margin: 20px auto 0;
  padding: 10px 15px;
  font-family: var(--font);
  font-size: 14px;
  border: 1px solid var(--color-primary-hover);
  color: var(--color-primary-hover);
  border-radius: 5px;
  background: #fff;
}

@media (max-width: 768px) {
  .tabs__list {
    display: none;
  }

  .tabs__select {
    display: block;
  }
}

/* Tab panels */
.tab-panel {
  display: none;
  padding: 45px 0 60px;
}

.tab-panel--active {
  display: block;
}

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

.tab-panel__text {
  flex: 0 0 40%;
  font-size: 16px;
  line-height: 1.6;
}

.tab-panel__text strong {
  font-size: 24px;
}

.tab-panel__img {
  flex: 0 0 55%;
}

.tab-panel__img img {
  width: 100%;
  border-radius: 8px;
}

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

  .tab-panel__text,
  .tab-panel__img {
    flex: none;
    width: 100%;
  }
}

/* Tariffs */
.tariffs {
  padding: 90px 0 75px;
}

.tariffs__title {
  font-size: 36px;
  text-align: center;
  margin: 0 0 30px;
}

.tariffs__subtitle {
  text-align: center;
  font-size: 16px;
  margin: 0 0 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.tariffs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.tariff-card {
  padding: 40px 30px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  text-align: center;
}

.tariff-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 15px;
}

.tariff-card__price {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 20px;
}

.tariff-card__desc {
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 25px;
  text-align: left;
}

.tariff-card__note {
  color: rgba(17,17,17,0.8);
}

.tariff-card .btn {
  width: 100%;
}

@media (max-width: 768px) {
  .tariffs__grid {
    grid-template-columns: 1fr;
  }
}

/* Request section */
.request-section {
  padding: 90px 0 105px;
  background: var(--color-bg-blue);
}

.request-section__title {
  font-size: 36px;
  text-align: center;
  margin: 0 0 45px;
}

.request-section__desc {
  text-align: center;
  font-size: 16px;
  margin: 0 auto;
  max-width: 800px;
}

.request-section__desc a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--color-primary);
}

.request-section__desc a:hover {
  color: var(--color-primary-hover);
  border-bottom-color: var(--color-primary-hover);
}

/* Footer */
.footer {
  padding: 45px 0 60px;
  background: var(--color-footer);
  color: #fff;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.footer__text {
  font-size: 12px;
  line-height: 1.8;
}

.footer__text a {
  color: #fdfdfe;
  border-bottom: 1px solid #fdfdfe;
}

.footer__text a:hover {
  opacity: 0.9;
}

.footer__socials {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.footer__socials a {
  display: flex;
  opacity: 0.9;
}

.footer__socials a:hover {
  opacity: 1;
}

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

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
  padding: 20px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cookie-banner.cookie-banner--hidden {
  display: none;
}

.cookie-banner__inner {
  max-width: 800px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  min-width: 200px;
  font-size: 14px;
  margin: 0;
}

.cookie-banner__buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cookie-banner__close {
  padding: 5px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  border-radius: 50%;
}

.back-to-top.back-to-top--visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover svg rect {
  fill: var(--color-primary-hover);
}
