*,
*::before,
*::after {
  box-sizing: border-box;
}

.max-block-container {
  display: flex;
  justify-content: center;
}

.max-block {
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
}

.max-block-right {
  padding-left: 210px;
}

@media (max-width: 1024px) {
  .max-block-right {
    padding-left: 40px;
  }
}

@media (max-width: 768px) {
  .max-block-right {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ==================== HEADER ==================== */

.main-header {
  position: relative;
  z-index: 100;
}

.main-header .max-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}

.header-logo {
  width: 151.75px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.header-nav-list {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.header-nav-list a {
  text-decoration: none;
  font-size: 18px;
  display: inline-block;
  padding: 10px 14px;
  color: #262323;
  transition: color 0.3s ease, transform 0.3s ease, background-size 0.5s ease;
  background: linear-gradient(90deg, #E1F2F9, #FCEAE5);
  background-size: 0% 100%;
  background-repeat: no-repeat;
}

.header-nav-list li:nth-child(odd) a:hover {
  color: #10A6DF;
  transform: translateY(-3px) scale(1.05);
  background-size: 100% 100%;
}

.header-nav-list li:nth-child(even) a:hover {
  color: #EC6C4F;
  transform: translateY(-3px) scale(1.05);
  background-size: 100% 100%;
}

.header-contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
  font-size: 18px;
  flex-shrink: 0;
}

.header-contact-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-contact-icon1 {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.header-contact-icon2 {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background-color: #E1F2F9;
  z-index: 1000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 20px;
  width: 18px;
  height: 18px;
}

.mobile-menu-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-menu-nav a {
  color: #262323;
  text-decoration: none;
  font-size: 22px;
  font-weight: 500;
  display: inline-block;
  padding: 8px 0;
}

.mobile-menu-nav a:hover {
  color: #EC6C4F;
}

.mobile-menu .header-contact-info {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-left: 0;
}

@media (max-width: 1024px) {
  .header-logo {
    width: 100px;
  }

  .header-nav-list {
    gap: 10px;
  }

  .header-nav-list a {
    font-size: 14px;
    padding: 5px 8px;
  }

  .header-contact-info {
    flex-direction: row;
    gap: 15px;
    font-size: 14px;
  }
}

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

  .header-contact-info {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-logo {
    width: 80px;
  }
}

/* ==================== HERO ==================== */

.hero {
    width: 100%;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  gap: 40px;
}

.hero-image {
  width: 100%;
  max-width: 560px;
  height: auto;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-title {
  font-size: 85px;
  color: #EC6C4F;
  margin: 0;
  line-height: 1.1;
  font-weight: normal;
}

.hero-subtitle {
  font-size: 35px;
  color: #10A6DF;
  margin: 0;
  line-height: 1.2;
  font-weight: normal;
}

.hero-stats {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  gap: 0;
}

.hero-stat-item {
  flex: 1;
  padding: 20px;
  border: 1px solid #989696;
  text-align: center;
  color: #262323;
  font-size: 27px;
  font-weight: 400;
}

.hero-stat-highlight {
  font-weight: 400;
  color: #EC6C4F;
  font-size: 24px;
}

.hero-cta {
  text-align: center;
  margin-bottom: 60px;
  width: 100%;
}

.hero-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: #5D5B5B;
  text-underline-offset: 2px;
  color: #10A6DF;
  font-size: 20px;
  font-weight: normal;
  transition: color 0.3s ease, transform 0.3s ease;
}

.hero-cta-link:hover {
  color: #EC6C4F;
  transform: scale(1.1);
  text-decoration-color: #EC6C4F;
}

.hero-cta-link img {
  width: 11px;
  height: 11px;
  transition: filter 0.3s ease;
}

.hero-cta-link:hover img {
  filter: brightness(0) saturate(100%) invert(53%) sepia(76%) saturate(447%) hue-rotate(1deg) brightness(98%) contrast(94%);
}

@media (max-width: 768px) {
  .hero {
    padding-top: 20px;
  }

  .hero-content {
    flex-direction: column;
    gap: 30px;
  }

  .hero-image {
    max-width: 320px;
  }

  .hero-text {
    align-items: center;
    text-align: center;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-stats {
    flex-direction: column;
    margin: 20px auto;
  }

  .hero-stat-item {
    padding: 10px;
    font-size: 16px;
  }

  .hero-stat-highlight {
    font-size: 16px;
  }

  .hero-cta-link {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-stat-item {
    font-size: 14px;
  }
}

/* ==================== PRODUCTS ==================== */

.products-section {
  text-align: left;
  padding-top: 60px;
  padding-bottom: 40px;
}

.products-title {
  color: #10A6DF;
  font-size: 44px;
  font-weight: 500;
  text-transform: uppercase;
  text-align: left;
  margin: 0 0 20px 0;
  user-select: none;
}

.products-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.products-row {
  display: flex;
  gap: 50px;
  width: 100%;
}

@media (max-width: 768px) {
  .products-row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

.product-card {
  padding: 20px;
  width: 100%;
  max-width: 470px;
  min-height: 367px;
  margin-bottom: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card.is-blue {
  background-color: #FCEAE5;
}

.product-card.is-orange {
  background-color: #E1F2F9;
}

.product-card.is-pink {
  border: 1px solid #10A6DF;
  background-color: #fff;
}

.product-card.is-gray {
  border: 1px solid #10A6DF;
  background-color: #fff;
}

.product-logo-wrapper {
  display: flex;
  justify-content: center;
}

.product-logo-img {
  height: 200px;
  object-fit: contain;
}

.product-logo-fallback {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #10A6DF;
}

.product-card h4 {
  font-size: 30px;
  font-weight: 500;
  margin: 0 0 10px 0;
  color: #262323;
}

.product-description {
  font-size: 18px;
  color: #262323;
  font-weight: 400;
}

.product-description p {
  margin: 0;
}

.product-card img {
  margin-bottom: 15px;
}

.product-buttons {
  display: flex;
  gap: 20px;
  margin-top: auto;
  width: 100%;
}

.product-btn {
  padding: 8px 20px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 150px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.product-btn-disabled {
  border: 1px solid #bbb !important;
  background-color: #e0e0e0 !important;
  color: #888 !important;
  cursor: default !important;
  pointer-events: none;
}

.product-card.is-blue .product-btn:first-child {
  border: 1px solid #EC6C4F;
  background-color: #FCEAE5;
  color: #262323;
}

.product-card.is-blue .product-btn:first-child:hover {
  background-color: #EC6C4F;
  color: white;
}

.product-card.is-blue .product-btn:last-child {
  border: 1px solid #EC6C4F;
  background-color: #EC6C4F;
}

.product-card.is-blue .product-btn:last-child:hover {
  background-color: #FCEAE5;
  color: #262323;
}

.product-card.is-orange .product-btn:first-child {
  border: 1px solid #10A6DF;
  background-color: #E1F2F9;
  color: #262323;
}

.product-card.is-orange .product-btn:first-child:hover {
  background-color: #10A6DF;
  color: white;
}

.product-card.is-orange .product-btn:last-child {
  border: 1px solid #10A6DF;
  background-color: #10A6DF;
}

.product-card.is-orange .product-btn:last-child:hover {
  background-color: #E1F2F9;
  color: #262323;
}

.product-card.is-pink .product-btn:first-child,
.product-card.is-gray .product-btn:first-child {
  border: 1px solid #10A6DF;
  background-color: #fff;
  color: #262323;
}

.product-card.is-pink .product-btn:first-child:hover,
.product-card.is-gray .product-btn:first-child:hover {
  background-color: #10A6DF;
  color: white;
}

.product-card.is-pink .product-btn:last-child,
.product-card.is-gray .product-btn:last-child {
  border: 1px solid #10A6DF;
  background-color: #10A6DF;
}

.product-card.is-pink .product-btn:last-child:hover,
.product-card.is-gray .product-btn:last-child:hover {
  background-color: #fff;
  color: #262323;
}

@media (max-width: 1024px) {
  .products-title {
    font-size: 28px;
  }

  .products-row {
    gap: 30px;
  }

  .product-card {
    max-width: 100%;
  }

  .product-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .product-btn {
    min-width: auto;
  }
}

@media (max-width: 768px) {
  .products-title {
    font-size: 24px;
  }

  .product-card {
    min-height: auto;
    padding: 15px;
    margin-bottom: 10px;
  }

  .product-card h4 {
    font-size: 18px;
  }

  .product-description {
    font-size: 13px;
  }

  .product-btn {
    width: 100%;
    height: 40px;
  }
}

/* ==================== DIALOG FORM ==================== */

.dialog-form {
  background: #fff;
  padding: 20px;
  width: 450px;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dialog-form h2 {
  color: #EC6C4F;
  text-align: center;
  font-weight: 500;
  font-size: 30px;
  margin: 0;
}

.form-field {
  position: relative;
  width: 100%;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 10px 5px;
  border: none;
  border-bottom: 1px solid #ccc;
  font-size: 14px;
  background: transparent;
  outline: none;
}

.form-field textarea {
  resize: none;
  height: 60px;
}

.form-field label {
  position: absolute;
  left: 5px;
  top: 10px;
  font-size: 16px;
  color: #9E9A9A;
  pointer-events: none;
  transition: 0.2s ease all;
}

.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label {
  top: -8px;
  font-size: 12px;
  color: #EC6C4F;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #262323;
}

.form-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0;
  flex-shrink: 0;
}

.form-checkbox input[type="checkbox"]:checked {
  background-color: #EC6C4F;
  border-color: #EC6C4F;
  position: relative;
}

.form-checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-submit {
  display: flex;
  justify-content: center;
}

.form-submit button {
  background: #10A6DF;
  color: #fff;
  padding: 10px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s ease;
}

.form-submit button:hover {
  background: #0083c1;
}

.form-submit button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .dialog-form {
    padding: 15px;
    width: 90%;
  }

  .dialog-form h2 {
    font-size: 18px;
  }
}

/* ==================== CLIENTS ==================== */

.clients-section {
  width: 100%;
  margin: 100px 0;
  position: relative;
  overflow: hidden;
}

.clients-section .max-block {
  position: relative;
}

.clients-decor {
  position: absolute;
  top: -300px;
  right: -30px;
  z-index: 0;
}

.clients-decor-img {
  width: 340px;
  height: auto;
  object-fit: cover;
}

.clients-title {
  text-align: left;
  color: #10A6DF;
  font-size: 44px;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0 0 10px 0;
}

.clients-subtitle {
  color: #EC6C4F;
  font-size: 30px;
  font-weight: 300;
  text-align: left;
  margin: 0 0 30px 0;
}

.clients-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.clients-row {
  display: flex;
  gap: 0;
}

.clients-row.is-blue {
  background-color: #E1F2F9;
}

.clients-row.is-red {
  background-color: #FCEAE5;
}

.client-item {
  display: flex;
  align-items: center;
  padding: 30px 40px;
  flex: 1;
  gap: 20px;
  text-decoration: none;
  color: inherit;
}

.client-logo {
  flex-shrink: 0;
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo img {
  width: 100px;
  height: auto;
  max-width: 100%;
}

.client-info {
  flex: 1;
}

.client-name {
  font-size: 18px;
  font-weight: 400;
  color: #262323;
}

.client-desc {
  font-size: 14px;
  font-weight: 400;
  color: #5D5B5B;
  margin-top: 4px;
}

.clients-footer {
  text-align: right;
  margin: 40px 0;
  padding-right: 100px;
}

.clients-all-btn {
  background-color: #EC6C4F;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 700px;
  height: 50px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.clients-all-btn:hover {
  transform: translateY(-4px) scale(1.05);
  background-color: #ff7b5a;
}

@media (max-width: 1024px) {
  .clients-all-btn {
    min-width: 400px;
  }
}

@media (max-width: 768px) {
  .clients-section {
    margin: 50px 0;
  }

  .clients-decor {
    display: none;
  }

  .clients-title {
    font-size: 28px;
  }

  .clients-subtitle {
    font-size: 22px;
  }

  .clients-row {
    flex-direction: column;
    gap: 12px;
    background: none !important;
  }

  .clients-row.is-blue {
    background: none !important;
  }

  .clients-row.is-red {
    background: none !important;
  }

  .client-item {
    flex-direction: row;
    padding: 12px 16px;
    text-align: left;
    gap: 16px;
    border-radius: 12px;
    align-items: center;
  }

  .clients-row.is-blue .client-item {
    background-color: #E1F2F9;
  }

  .clients-row.is-red .client-item {
    background-color: #FCEAE5;
  }

  .client-logo {
    width: auto;
    flex-shrink: 0;
  }

  .client-logo img {
    width: 60px;
  }

  .clients-footer {
    text-align: center;
    padding-right: 0;
    margin: 20px 0;
  }

  .clients-all-btn {
    min-width: auto;
    width: 90%;
    font-size: 12px;
  }
}

/* ==================== COMMUNITIES ==================== */

.communities-section {
  text-align: left;
  padding: 0 0 50px 0;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.communities-section .max-block {
  position: relative;
  z-index: 2;
}

.communities-decor {
  position: absolute;
  top: 140px;
  left: -50px;
  z-index: 1;
  pointer-events: none;
}

.communities-decor-img {
  height: 870px;
  width: auto;
  object-fit: cover;
  display: block;
}

.communities-title {
  color: #10A6DF;
  font-size: 40px;
  font-weight: 400;
  margin: 0 0 20px 0;
}

.communities-subtitle {
  color: #EC6C4F;
  font-size: 30px;
  font-weight: 400;
  margin: 0 0 30px 0;
}

.communities-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.community-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  padding: 15px;
  width: 100%;
  max-width: 800px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  gap: 20px;
}

.community-logo {
  flex-shrink: 0;
}

.community-logo img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin: 10px;
}

.community-logo-fallback {
  width: 90px;
  height: 90px;
  background-color: #E1F2F9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #10A6DF;
  font-size: 12px;
  text-align: center;
  margin: 10px;
}

.community-name {
  flex-grow: 1;
  text-align: left;
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  color: #262323;
}

.community-links {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.community-link {
  color: #262323;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}

.community-link:hover {
  text-decoration: underline;
}

.community-link-arrow {
  width: 14px;
  height: 14px;
}

.communities-actions {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.communities-btn {
  background: #10A6DF;
  color: white;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  height: 50px;
  transition: background 0.3s, transform 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.communities-btn:hover {
  background: #0092cc;
  transform: scale(1.1);
}

@media (max-width: 1200px) {
  .communities-title {
    font-size: 28px;
  }

  .communities-subtitle {
    font-size: 20px;
  }

  .community-item {
    max-width: 90%;
  }

  .communities-actions {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .communities-btn {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .communities-section {
    padding: 20px 0;
  }

  .communities-decor {
    display: none;
  }

  .communities-title {
    font-size: 24px;
    margin-left: 10px;
  }

  .communities-subtitle {
    font-size: 16px;
    margin-left: 10px;
    margin-bottom: 20px;
  }

  .communities-list {
    gap: 12px;
    padding: 0 10px;
  }

  .community-item {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    padding: 12px 16px;
    gap: 12px;
    border-radius: 12px;
    border-bottom: none;
    align-items: center;
  }

  .community-logo img {
    width: 56px;
    height: 56px;
    margin: 0;
  }

  .community-logo-fallback {
    width: 56px;
    height: 56px;
    margin: 0;
    font-size: 18px;
  }

  .community-name {
    font-size: 16px;
    text-align: left;
    flex: 1 1 auto;
    min-width: 100px;
  }

  .community-links {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .community-link {
    font-size: 13px;
    padding: 4px 10px;
    background: #E1F2F9;
    border-radius: 6px;
    gap: 4px;
  }

  .community-link-arrow {
    width: 10px;
    height: 10px;
  }

  .communities-actions {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-top: 24px;
    padding: 0 10px;
  }

  .communities-btn {
    font-size: 14px;
    width: 100%;
  }
}

/* ==================== NEWS ==================== */

.news-section {
  text-align: left;
  padding-top: 100px;
  padding-bottom: 40px;
}

.news-title {
  color: #10A6DF;
  font-size: 44px;
  font-weight: 500;
  text-transform: uppercase;
  text-align: left;
  margin: 0 0 20px 0;
  user-select: none;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.news-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 325px;
}

.news-card:nth-child(odd) {
  background: #FCEAE5;
}

.news-card:nth-child(even) {
  background: #E1F2F9;
}

.news-card-title {
  font-size: 30px;
  font-weight: 500;
  margin: 0 0 20px 0;
  color: #262323;
  user-select: none;
}

.news-card-desc {
  flex-grow: 1;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #262323;
  user-select: none;
}

.news-card-desc p {
  margin: 0;
}

.news-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  margin-top: 20px;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  color: white;
  height: 40px;
  width: 145px;
  transition: transform 0.3s ease;
  align-self: flex-start;
}

.news-card:nth-child(odd) .news-card-btn {
  background: #EC6C4F;
}

.news-card:nth-child(even) .news-card-btn {
  background: #10A6DF;
}

.news-card-btn span {
  position: relative;
  display: flex;
  align-items: center;
}

.news-card-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: white;
}

.news-card-btn img {
  width: 10px;
  height: 10px;
  margin-left: 8px;
}

.news-card-btn:hover {
  transform: scale(1.05);
}

.news-footer {
  background: #EC6C4F;
  color: white;
  text-align: center;
  padding: 15px 20px;
  font-size: 14px;
  font-weight: 400;
  display: block;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.3s ease;
  margin-top: 40px;
  text-decoration: none;
  width: 100%;
}

.news-footer:hover {
  background: #ed8169;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .news-section {
    padding-top: 60px;
  }

  .news-title {
    font-size: 28px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-card {
    padding: 15px;
    min-height: auto;
  }

  .news-card-title {
    font-size: 20px;
  }

  .news-card-desc {
    font-size: 14px;
  }

  .news-card-btn {
    width: 100%;
    justify-content: center;
  }

  .news-footer {
    padding: 15px 20px;
    box-sizing: border-box;
  }

  .news-footer:hover {
    transform: none;
  }
}

/* ==================== CONTACT ==================== */

.contact-section {
  position: relative;
  overflow: hidden;
  padding-top: 50px;
}

.contact-section .max-block {
  position: relative;
}

.contact-layout {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-info-block,
.contact-form-block {
  flex: 1;
  min-width: 280px;
  margin-top: 80px;
  text-align: left;
}

.contact-info-title {
  color: #10A6DF;
  font-size: 44px;
  font-weight: 500;
  margin: 0 0 20px 0;
}

.contact-form-title {
  color: #EC6C4F;
  font-size: 30px;
  font-weight: 400;
  margin: 0 0 20px 0;
}

.contact-field {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.5;
  color: #262323;
}

.contact-label {
  flex: 0 0 100px;
  font-size: 14px;
  font-weight: 400;
  color: #5D5B5B;
  margin-right: 10px;
}

.contact-field a {
  color: #262323;
  text-decoration: none;
  font-size: 18px;
}

.contact-company {
  font-size: 14px;
  color: #262323;
  font-weight: 400;
  margin-top: 80px;
}

.contact-policy {
  font-size: 14px;
  font-weight: 400;
  color: #262323;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.policy-link {
  color: #262323;
  text-decoration: none;
  font-size: 14px;
}

.policy-link:hover {
  text-decoration: underline;
}

.contact-form-block form {
  display: flex;
  flex-direction: column;
}

.contact-form-block input[type="text"],
.contact-form-block input[type="tel"],
.contact-form-block input[type="email"] {
  margin-bottom: 15px;
  padding: 0 10px;
  font-size: 18px;
  font-weight: 400;
  width: 100%;
  max-width: 480px;
  height: 50px;
  border: 1px solid #262323;
  background: transparent;
  color: #9E9A9A;
  outline: none;
}

.contact-form-block input:focus {
  border-color: #10A6DF;
}

.contact-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  max-width: 480px;
}

.contact-checkbox input[type="checkbox"] {
  display: none;
}

.contact-checkbox label {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.4;
  color: #262323;
  cursor: pointer;
}

.contact-checkbox label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 1px solid #10A6DF;
  background-color: transparent;
  transition: border-color 0.3s, background-color 0.3s;
}

.contact-checkbox label::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s ease;
}

.contact-checkbox input:checked + label::before {
  background-color: #10A6DF;
}

.contact-checkbox input:checked + label::after {
  transform: rotate(45deg) scale(1);
}

.contact-submit-btn {
  background-color: #10A6DF;
  color: #fff;
  border: none;
  padding: 0;
  font-size: 16px;
  cursor: pointer;
  font-weight: 400;
  width: 100%;
  max-width: 480px;
  height: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-submit-btn:hover {
  background-color: #30afe1;
  transform: scale(1.05);
}

.contact-error {
  color: #EC6C4F;
  font-size: 14px;
  margin-bottom: 10px;
}

.contact-bottom-img {
  width: 100%;
  max-width: 1300px;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .contact-section {
    padding-bottom: 120px;
  }

  .contact-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-info-block,
  .contact-form-block {
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
  }

  .contact-info-title {
    font-size: 26px;
  }

  .contact-form-title {
    font-size: 22px;
  }

  .contact-form-block input[type="text"],
  .contact-form-block input[type="tel"],
  .contact-form-block input[type="email"] {
    font-size: 14px;
    height: 40px;
    max-width: 100%;
    width: initial;
  }

  .contact-company {
    font-size: 11px;
    margin-top: 20px;
  }

  .contact-policy {
    font-size: 10px;
  }

  .contact-checkbox {
    max-width: 100%;
  }

  .contact-submit-btn {
    font-size: 14px;
    height: 40px;
    max-width: 100%;
  }

  .contact-bottom-img {
    position: absolute;
    bottom: 0;
    left: 0;
  }
}

/* ==================== FIELD (contact) ==================== */

.contact-field {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.5;
  color: #262323;
}

.contact-label {
  flex: 0 0 100px;
  font-size: 14px;
  font-weight: 400;
  color: #5D5B5B;
  margin-right: 10px;
}

/* ==================== UTILITY ==================== */

.no-select {
  user-select: none;
}

p.bn-inline-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

p.bn-inline-content:has(br) {
    height: 0px;
}

@media (max-width: 768px) {
  p.bn-inline-content {
    padding: 0 20px;
    max-width: 100%;
  }
}

/* ==================== GENERIC PAGE LAYOUT ==================== */

.page-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.page-wrap.is-blue {
  /* background: #fff; */
}

.page-wrap.is-pink {
  /* background: #fff; */
}

.page-content {
  max-width: 800px;
  margin: 20px auto;
  padding: 10px;
  position: relative;
}

.page-title {
  color: #10A6DF;
  font-size: 44px;
  font-weight: 500;
  text-align: left;
  margin: 60px 0 20px 0;
}

.page-body {
  padding: 25px;
  background: #E1F2F9;
  font-size: 18px;
  font-weight: 400;
  color: #262323;
  line-height: 1.5;
  border-radius: 0;
}

.page-body h1, .page-body h2, .page-body h3, .page-body h4 {
  font-weight: 500;
  color: #262323;
}

.page-body img {
  max-width: 100%;
  height: auto;
}

.page-body .solution-tag {
  border: 1px solid #10A6DF;
  background-color: #E1F2F9;
  padding: 8px;
  margin: 8px;
  font-size: 16px;
  font-weight: 400;
  color: #262323;
}

@media (max-width: 768px) {
  .page-content {
    padding: 0 15px;
    margin: 0;
  }

  .page-title {
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-body {
    padding: 15px;
    font-size: 14px;
  }
}

/* ==================== NEWS LIST PAGE ==================== */

.news-list-page .news-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.news-list-item {
  padding: 25px;
  background: #E1F2F9;
  cursor: pointer;
  transition: background 0.3s;
  color: #262323;
  display: flex;
  flex-direction: column;
}

.news-list-item:hover {
  background: #FCEAE5;
}

.news-list-item-title {
  font-size: 30px;
  font-weight: 500;
  color: #262323;
  margin: 0 0 10px 0;
}

.news-list-item-text {
  font-size: 18px;
  font-weight: 400;
  color: #262323;
  margin: 0;
  line-height: 1.5;
}

.news-list-item-text p {
  margin: 0;
}

@media (max-width: 768px) {
  .news-list-page .news-list {
    gap: 20px;
  }

  .news-list-item {
    padding: 15px;
  }

  .news-list-item-title {
    font-size: 20px;
  }

  .news-list-item-text {
    font-size: 14px;
    line-height: 1.4;
  }
}

/* ==================== CLIENTS LIST PAGE ==================== */

.clients-list-page {
  max-width: 800px;
  margin: 20px auto;
  padding: 10px;
  position: relative;
}

.clients-list-page .clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.client-list-card {
  display: flex;
  align-items: flex-start;
  padding: 15px;
  text-align: left;
  gap: 15px;
}

.client-list-card:nth-child(1),
.client-list-card:nth-child(2),
.client-list-card:nth-child(5) {
  background-color: #E1F2F9;
}

.client-list-card:nth-child(3),
.client-list-card:nth-child(4) {
  background-color: #FCEAE5;
}

.client-list-card-logo {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.client-list-card-logo img {
  max-width: 100%;
  max-height: 100%;
}

.client-list-card-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
}

.client-list-card-info a {
  text-decoration: none;
  color: inherit;
}

.client-list-card-name {
  font-size: 18px;
  font-weight: 400;
  color: #262323;
  margin: 0;
}

.client-list-card-desc {
  font-size: 14px;
  font-weight: 400;
  color: #5D5B5B;
  margin: 0;
}

.client-list-card-solution {
  border: 1px solid;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  font-weight: 400;
  color: #262323;
  box-sizing: border-box;
}

.client-list-card:nth-child(1) .client-list-card-solution,
.client-list-card:nth-child(2) .client-list-card-solution,
.client-list-card:nth-child(5) .client-list-card-solution {
  background-color: #E1F2F9;
  border-color: #10A6DF;
}

.client-list-card:nth-child(3) .client-list-card-solution,
.client-list-card:nth-child(4) .client-list-card-solution {
  background-color: #FCEAE5;
  border-color: #EC6C4F;
}

@media (max-width: 768px) {
  .clients-list-page {
    padding: 0 15px;
    margin: 10px auto;
  }

  .clients-list-page .clients-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .client-list-card {
    flex-direction: row;
    padding: 12px;
  }

  .client-list-card-logo {
    width: 48px;
    height: 48px;
  }

  .client-list-card-name {
    font-size: 16px;
  }

  .client-list-card-desc {
    font-size: 13px;
  }

  .client-list-card-solution {
    font-size: 14px;
    padding: 8px 10px;
  }
}

/* ==================== FOOTER ==================== */

.site-footer {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 0;
}

.site-footer-decor {
  position: absolute;
  bottom: 0;
  width: 25vw;
  max-width: 340px;
  z-index: 0;
  pointer-events: none;
}

.site-footer-decor.is-left {
  left: 0;
}

.site-footer-decor.is-right {
  right: 0;
  left: auto;
}

.site-footer-decor img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: bottom;
  display: block;
}

.site-footer-body {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  font-size: 14px;
  color: #262323;
  font-weight: 400;
}

.site-footer-info p {
  margin: 0 0 5px 0;
  line-height: 1.5;
}

.site-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.site-footer-links a {
  text-decoration: none;
  color: #262323;
  font-weight: 100;
  transition: color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.site-footer-links a:hover {
  color: #1976d2;
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .site-footer-decor {
    width: 20vw;
  }
}

@media (max-width: 768px) {
  .site-footer-body {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 20px;
    gap: 20px;
  }

  .site-footer-decor {
    display: none;
  }

  .site-footer-links {
    margin-left: 0;
  }

  .site-footer-links a {
    white-space: normal;
  }
}

/* ==================== MUI DIALOG OVERRIDES ==================== */

.cabinet-dialog-paper {
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
}

.cabinet-restore-paper {
  border-radius: 12px !important;
  background-color: #f0f0f0 !important;
  padding: 20px !important;
  width: 500px !important;
}

.cabinet-dialog {
  padding: 30px;
  max-width: 500px;
  min-width: 350px;
}

.cabinet-dialog-title {
  color: #10A6DF;
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 20px 0;
}

.cabinet-dialog-field {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cabinet-dialog-label {
  font-size: 14px;
  font-weight: 500;
  color: #5D5B5B;
}

.cabinet-dialog-text {
  font-size: 16px;
  color: #262323;
  margin: 0;
  line-height: 1.5;
}

.cabinet-dialog-field a {
  color: #10A6DF;
  text-decoration: underline;
  font-size: 15px;
}

.cabinet-dialog-field a:hover {
  color: #EC6C4F;
}

.cabinet-dialog-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  align-items: center;
}

.cabinet-dialog-close {
  padding: 7px 20px;
  font-size: 14px;
  background: none;
  border: 1px solid #ccc;
  cursor: pointer;
  color: #262323;
  transition: border-color 0.3s ease;
}

.cabinet-dialog-close:hover {
  border-color: #10A6DF;
}



.cabinet-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  border: 1px solid;
}

.cabinet-action-btn:hover {
  transform: translateY(-1px);
}

.pay-btn {
  background-color: #EC6C4F;
  border-color: #EC6C4F;
  color: #fff;
}

.pay-btn:hover {
  background-color: #ff7b5a;
  border-color: #ff7b5a;
}

.cabinet-toolbar-btn {
  border: none;
  cursor: pointer;
}

/* ==================== CABINET RESTORE DIALOG ==================== */

.cabinet-restore-body {
  padding: 10px 0;
}

.cabinet-restore-body h2 {
  font-size: 22px;
  font-weight: 500;
  color: #262323;
  margin: 0 0 10px 0;
}

.cabinet-restore-body p {
  font-size: 14px;
  color: #5D5B5B;
  margin: 0 0 16px 0;
}

.cabinet-restore-close {
  float: right;
  cursor: pointer;
  border: none;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  padding: 0;
  color: #262323;
}

.cabinet-restore-input {
  width: 100%;
  padding: 10px;
  margin-bottom: 8px;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  font-size: 14px;
  outline: none;
}

.cabinet-restore-input.input-error {
  border-color: red;
}

.cabinet-restore-error {
  color: red;
  margin-bottom: 8px;
  font-size: 14px;
}

.cabinet-restore-message {
  color: green;
  margin-top: 8px;
  font-size: 14px;
}

.cabinet-restore-submit {
  width: 100%;
  padding: 10px 0;
  margin-top: 12px;
  cursor: pointer;
  border-radius: 6px;
  border: 1px solid #2196F3;
  background-color: #fff;
  color: #2196F3;
  font-weight: 500;
  font-size: 14px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cabinet-restore-submit:hover {
  background-color: #2196F3;
  color: #fff;
}

.cabinet-restore-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ==================== PAYMENT DIALOG ==================== */

.cabinet-payment-hint {
  font-size: 14px;
  color: #5D5B5B;
  margin: 0 0 20px;
}

@media (max-width: 768px) {
  .cabinet-dialog {
    padding: 20px;
    min-width: auto;
  }
}