/* =============================================
   UNIFIED STYLES - 1TOM.RU
   ============================================= */

/* ===== RESET & BASE ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #000;
  background-color: #d8d8d8;
  overflow-x: hidden;
}

body.services-prices-page {
  background-color: #F8F8F8;
}

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

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

/* ===== COMMON TYPOGRAPHY ===== */
.section-title {
  font-size: 32px;
  font-weight: 600;
  color: #000;
  text-align: center;
  margin-bottom: 20px;
}

.page-title {
  font-size: 32px;
  font-weight: 600;
  color: #fff;
}

/* ===== COMMON BUTTONS ===== */
.btn {
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: opacity 0.3s ease;
}

.btn:hover {
  opacity: 0.9;
}

.btn-primary {
  background: #3AA5C7;
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  padding: 10px 40px;
  border-radius: 10px;
}

.btn-primary--bold {
  font-weight: 600;
}

/* ===== COMMON FORM ELEMENTS ===== */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 16px;
  color: #000;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  height: 29px;
  border: 1px solid #000;
  background: #fff;
  padding: 0 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  text-align: left;
}

.form-checkbox input[type="checkbox"] {
  width: 13px;
  height: 13px;
  border: 1px solid #000;
  cursor: pointer;
}

.form-checkbox label {
  font-size: 14px;
  color: #000;
  cursor: pointer;
}

/* =============================================
   INTRO SECTION (Pechat page)
   ============================================= */
.intro {
  background: #fff;
  padding: 30px 20px 40px;
  text-align: center;
  margin-bottom: 20px;
}

.intro-text {
  max-width: 995px;
  margin: 0 auto 25px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: #000;
}

/* =============================================
   FEATURES CONTAINER (Pechat page)
   ============================================= */
.features-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.feature-section {
  position: relative;
  width: 100%;
  height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-section.section-1 {
  background-image: url("../images/printing/v452_31.png");
}

.feature-section.section-2 {
  background-image: url("../images/printing/v452_32.png");
}

.feature-section.section-3 {
  background-image: url("../images/printing/v452_33.png");
}

.feature-content {
  position: absolute;
  top: 86px;
  left: 130px;
  max-width: 500px;
}

.feature-content.content-right {
  left: 100px;
}

.feature-section .feature-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  color: #000;
  margin-bottom: 40px;
  text-align: center;
  max-width: 344px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.feature-list li span:last-child {
  font-size: 14px;
  line-height: 1.5;
  color: #000;
  max-width: 460px;
}

.arrow-icon {
  width: 80px;
  height: 80px;
  min-width: 80px;
  background-image: url("../images/printing/v452_30.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-right: 25px;
  margin-top: -15px;
}

/* =============================================
   CALCULATOR SECTION (Pechat page)
   ============================================= */
.calculator-section {
  margin: 40px 98px;
  background: #fff;
  padding: 20px;
  min-height: 480px;
}

/* =============================================
   PRICING SECTION (Sozdanie-maketa page)
   ============================================= */
.pricing-section {
  padding: 40px 20px 60px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-section .section-title {
  margin-bottom: 40px;
}

.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  justify-content: center;
}

.pricing-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 350px;
  flex: 0 0 auto;
}

.pricing-card-header {
  background: #3AA5C7;
  padding: 25px 20px;
  text-align: center;
  color: #fff;
  min-height: 215px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pricing-card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-card-price {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-amount {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.pricing-card-body {
  background: #fff;
  padding: 25px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  justify-content: space-between;
}

.price-unit {
  font-size: 14px;
  color: #000;
  margin-bottom: 15px;
  font-weight: 400;
}

.pricing-card-note {
  font-size: 12px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.4;
}

.btn-select {
  background: #3AA5C7;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 30px;
  width: 100%;
  max-width: 200px;
  border-radius: 5px;
  margin-top: auto;
}

.btn-select:hover {
  background: #2d8ba8;
  opacity: 1;
}

.pricing-card-large {
  flex-basis: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.pricing-card-large .pricing-card-header {
  padding: 40px 20px;
  min-height: 170px;
}

.pricing-card-large .pricing-card-title {
  min-height: 60px;
  margin-bottom: 20px;
}

.pricing-card-large .price-amount {
  font-size: 28px;
}

.pricing-info {
  font-size: 14px;
  color: #000;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* =============================================
   PORTFOLIO SECTION (Pechat page)
   ============================================= */
.portfolio-section {
  padding: 40px 0 50px;
  text-align: center;
  overflow: hidden;
}

.portfolio-section .section-title {
  margin-bottom: 40px;
}

.portfolio-slider {
  margin-bottom: 40px;
  position: relative;
  padding: 0 60px;
  overflow: hidden;
}

.portfolio-slider.swiper {
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: none !important; /* По умолчанию скрыты */
  visibility: hidden;
}

/* Позиционирование кнопок для десктопа (3 слайда по 280px с отступом 30px) */
@media (min-width: 1024px) {
  .slider-prev,
  .slider-next {
    display: flex !important; /* Показываем на ПК */
    visibility: visible;
  }
  
  .slider-prev {
    /* Позиция между 1-й и 2-й книгой: примерно на 33% от ширины контейнера */
    left: calc(33.33% - 20px);
  }
  
  .slider-next {
    /* Позиция между 2-й и 3-й книгой: примерно на 67% от ширины контейнера */
    left: calc(66.66% - 20px);
  }
}

.portfolio-items.swiper-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  overflow: visible;
}

.portfolio-item.swiper-slide {
  width: 280px;
  height: 380px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-item.item-1 {
  background-image: url("../images/printing/v450_29.png");
}

.portfolio-item.item-2 {
  background-image: url("../images/printing/v262_815.png");
}

.portfolio-item.item-3 {
  background-image: url("../images/printing/v450_28.png");
}

/* Скрываем стандартные стили Swiper для кнопок */
.portfolio-slider .swiper-button-prev,
.portfolio-slider .swiper-button-next {
  display: none !important;
}

/* Наши кастомные кнопки */
.slider-arrow,
.slider-prev,
.slider-next {
  width: 40px;
  height: 40px;
  background: #36B0D5;
  border: 1px solid #FFFFFF;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  transition: all 0.3s ease;
  opacity: 1;
}

.slider-arrow:hover,
.slider-prev:hover,
.slider-next:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

/* Скрываем стандартные иконки Swiper */
.portfolio-slider .swiper-button-prev::after,
.portfolio-slider .swiper-button-next::after {
  display: none;
}

.arrow-left,
.arrow-right {
  width: 12px;
  height: 2px;
  background: #fff;
  position: relative;
}

.arrow-left::before,
.arrow-left::after,
.arrow-right::before,
.arrow-right::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 2px;
  background: #fff;
}

.arrow-left::before {
  transform: rotate(-45deg);
  left: -2px;
  top: -3px;
}

.arrow-left::after {
  transform: rotate(45deg);
  left: -2px;
  top: 3px;
}

.arrow-right::before {
  transform: rotate(45deg);
  right: -2px;
  top: -3px;
}

.arrow-right::after {
  transform: rotate(-45deg);
  right: -2px;
  top: 3px;
}

/* =============================================
   CONTACT FORM SECTION (Pechat page)
   ============================================= */
.contact-form-section {
  margin: 0 96px 40px;
  background: #E6F9FF;
  padding: 35px 20px 45px;
  text-align: center;
}

.contact-form-section .section-title {
  margin-bottom: 15px;
}

.contact-subtitle {
  font-size: 20px;
  color: #000;
  margin-bottom: 20px;
}

.contact-form {
  max-width: 399px;
  margin: 0 auto;
}

/* =============================================
   ABOUT SECTION (About page)
   ============================================= */
.about-section {
  background-color: #fff;
  display: flex;
  padding: 0;
  margin: 0;
  min-height: 593px;
  overflow: hidden;
}

.about-content {
  flex: 0 0 55%;
  padding: 60px 60px 60px 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-title {
  font-size: 32px;
  font-weight: 600;
  color: #000;
  margin-bottom: 30px;
}

.about-text {
  font-size: 20px;
  line-height: 1.7;
  color: #000;
  margin-bottom: 25px;
}

.about-image {
  flex: 0 0 45%;
  position: relative;
  overflow: visible;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

/* =============================================
   FEATURES GRID SECTION (About page)
   ============================================= */
.features-grid-section {
  background-color: #d8d8d8;
  padding: 60px 100px;
}

.features-grid-section .section-title {
  margin-bottom: 50px;
}

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

.feature-card {
  background-color: #fff;
  overflow: visible;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

.feature-header {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.feature-banner {
  background-color: #3AA5C7;
  width: 96px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
}

.feature-banner img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.feature-card .feature-title {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  padding: 15px 15px 15px 10px;
  flex: 1;
  display: flex;
  align-items: center;
}

.feature-description {
  font-size: 14px;
  font-weight: 400;
  color: #000;
  line-height: 1.5;
  padding: 15px 20px 20px;
  text-align: center;
}

/* =============================================
   VIDEO SECTION (About page)
   ============================================= */
.video-section {
  background-color: #d8d8d8;
  padding: 0 100px 80px 100px;
}

.video-title {
  font-size: 32px;
  font-weight: 600;
  color: #000;
  text-align: center;
  margin-bottom: 40px;
}

.video-placeholder {
  width: 100%;
  max-width: 1000px;
  height: 593px;
  background-color: #8c8c8c;
  margin: 0 auto;
}

/* =============================================
   CONTACT INFO SECTION (About page)
   ============================================= */
.contact-info-section {
  display: flex;
  min-height: 529px;
}

.contact-map {
  flex: 1;
  background-color: #8c8c8c;
  min-height: 529px;
}

.contact-info {
  flex: 1;
  background-color: #fff;
  padding: 87px 70px;
}

.contact-info .contact-title {
  font-size: 32px;
  font-weight: 600;
  color: #000;
  margin-bottom: 30px;
}

.contact-phone,
.contact-email,
.contact-address,
.contact-hours {
  font-size: 20px;
  color: #000;
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-phone {
  margin-bottom: 22px;
}

.contact-email {
  margin-bottom: 26px;
}

.contact-phone a,
.contact-email a {
  color: #000;
  text-decoration: underline;
}

.contact-phone a:hover,
.contact-email a:hover {
  text-decoration: none;
}

/* =============================================
   SERVICES CONTAINER (Pod-kluch page)
   ============================================= */
.services-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.service-section {
  display: flex;
  background: #fff;
  min-height: 500px;
}

.service-content {
  flex: 1;
  padding: 40px 50px 40px 100px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-title {
  font-size: 32px;
  font-weight: 600;
  color: #000;
  margin-bottom: 30px;
  text-align: center;
}

.service-text {
  font-size: 14px;
  line-height: 1.5;
  color: #000;
}

.service-text p {
  margin-bottom: 15px;
}

.service-text p:last-child {
  margin-bottom: 0;
}

.service-text strong {
  font-weight: 600;
}

.service-list {
  list-style: none;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.service-list li:last-child {
  margin-bottom: 0;
}

.service-list li span:last-child {
  font-size: 14px;
  line-height: 1.5;
  color: #000;
  max-width: 460px;
}

.service-image {
  width: 506px;
  flex-shrink: 0;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* =============================================
   RESPONSIVE - TABLET (max-width: 1200px)
   ============================================= */
@media (max-width: 1200px) {
  .features-grid-section {
    padding: 60px 50px;
  }

  .video-section {
    padding: 0 50px 60px 50px;
  }

  .about-content {
    padding: 50px 40px 50px 80px;
  }
}

/* =============================================
   RESPONSIVE - TABLET (max-width: 1024px)
   ============================================= */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-section {
    flex-direction: column;
    min-height: auto;
  }

  .about-content {
    flex: 1 1 auto;
    padding: 40px 30px;
  }

  .about-image {
    flex: 1 1 auto;
    min-height: 350px;
  }

  .about-image img {
    clip-path: none;
  }

  .contact-info-section {
    flex-direction: column;
  }

  .contact-map {
    min-height: 250px;
  }

  .contact-info {
    padding: 50px 30px;
  }

  /* Services */
  .service-section {
    flex-direction: column;
    min-height: auto;
  }

  .service-content {
    padding: 40px 30px;
  }

  .service-image {
    width: 100%;
    height: 350px;
  }
}

/* =============================================
   RESPONSIVE - TABLET (max-width: 992px)
   ============================================= */
@media (max-width: 992px) {
  .feature-content {
    left: 50px;
    max-width: 450px;
  }

  .feature-content.content-right {
    left: 50px;
  }

  .calculator-section {
    margin: 40px 50px;
  }

  .pricing-section {
    padding: 40px 20px 50px;
  }

  .pricing-cards {
    gap: 15px;
  }

  .contact-form-section {
    margin: 0 50px 40px;
  }

  .portfolio-item {
    width: 220px;
    height: 300px;
  }

  .portfolio-item.item-1,
  .portfolio-item.item-2,
  .portfolio-item.item-3 {
    width: 220px;
    height: 300px;
  }

  /* Скрываем кнопки на планшетах */
  .slider-prev,
  .slider-next {
    display: none;
  }
}

/* =============================================
   RESPONSIVE - MOBILE (max-width: 768px)
   ============================================= */
@media (max-width: 768px) {
  /* Common */
  .btn-primary {
    font-size: 16px;
    padding: 10px 30px;
  }

  .section-title {
    font-size: 24px;
  }

  /* Hero Section */
  .hero-section {
    padding: 40px 15px 50px;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }

  .hero-container {
    padding: 0;
    order: 1;
    position: relative;
    z-index: 2;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-image {
    order: 2;
  }

  .hero-image {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 30px;
    z-index: auto !important;
    right: auto !important;
    top: auto !important;
  }

  .hero-books-image {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    min-width: auto;
  }

  .hero-stats {
    gap: 20px;
    justify-content: space-between;
  }

  .stat-item {
    flex: 1;
    min-width: 80px;
  }

  .stat-number {
    font-size: 18px;
  }

  /* Calculator Section for Main Page */
  body.main-page .calculator-section {
    margin: 30px 15px;
    padding: 20px 15px;
    min-height: 350px;
    max-width: none;
  }

  body.main-page .calculator-section .section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  body.main-page .calculator-placeholder {
    height: 300px;
  }

  /* Portfolio Showcase */
  body.main-page .portfolio-showcase-section {
    padding: 40px 15px 50px !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.main-page .portfolio-showcase-header {
    padding: 0 15px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }

  body.main-page .portfolio-showcase-titles {
    padding: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body.main-page .portfolio-showcase-nav {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.main-page .portfolio-showcase-slider {
    padding: 0 15px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }

  body.main-page .portfolio-showcase-slider.swiper {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.main-page .portfolio-showcase-button {
    padding: 0 15px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  body.main-page .portfolio-showcase-title {
    font-size: 28px !important;
    max-width: 100% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  body.main-page .portfolio-showcase-subtitle {
    font-size: 16px !important;
    max-width: 100% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  body.main-page .btn-portfolio {
    width: 100% !important;
    min-width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
}

@media (min-width: 1024px) {
  body.main-page .portfolio-showcase-nav {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  body.main-page .portfolio-showcase-slider {
    padding: 0 150px !important;
    margin-bottom: 30px !important;
  }

  body.main-page .portfolio-book-item {
    width: 280px !important;
    height: 270px !important;
  }

  body.main-page .portfolio-showcase-button {
    padding: 0 150px !important;
  }

  body.main-page .btn-portfolio {
    width: auto !important;
    min-width: 374px !important;
    max-width: none !important;
  }

  /* Final CTA */
  .final-cta-section {
    padding: 40px 15px;
    margin: 0;
    max-width: none;
  }

  .final-cta-title {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .final-cta-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .btn-final-cta {
    width: 100%;
    min-width: auto;
  }

  /* Intro */
  .intro {
    padding: 20px 15px 30px;
  }

  .intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }

  /* Features Container (Pechat) */
  .features-container {
    gap: 15px;
  }

  .feature-section {
    height: auto;
    padding: 30px 20px 0;
    display: flex;
    flex-direction: column;
    background-image: none !important;
    background-color: #fff;
  }

  .feature-section::after {
    content: '';
    display: block;
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 20px;
  }

  .feature-section.section-1::after {
    background-image: url("../images/printing/v452_31.png");
  }

  .feature-section.section-2::after {
    background-image: url("../images/printing/v452_32.png");
  }

  .feature-section.section-3::after {
    background-image: url("../images/printing/v452_33.png");
  }

  .feature-content {
    position: relative;
    top: 0;
    left: 0;
    max-width: 100%;
    padding: 0;
  }

  .feature-content.content-right {
    left: 0;
  }

  .feature-section .feature-title {
    font-size: 24px;
    margin-bottom: 25px;
    max-width: 100%;
  }

  .feature-list li {
    margin-bottom: 15px;
  }

  .arrow-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    margin-right: 15px;
    margin-top: -5px;
  }

  .feature-list li span:last-child {
    font-size: 13px;
  }

  /* Calculator */
  .calculator-section {
    margin: 30px 20px;
    min-height: 350px;
    padding: 15px;
  }

  /* Pricing */
  .pricing-section {
    padding: 30px 15px 40px;
  }

  .pricing-section .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .pricing-cards {
    gap: 15px;
    margin-bottom: 25px;
    justify-content: center;
  }

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

  .pricing-card-large {
    flex-basis: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .pricing-card-header {
    padding: 20px 15px;
    min-height: 110px;
  }

  .pricing-card-title {
    font-size: 18px;
    min-height: 45px;
    margin-bottom: 12px;
  }

  .price-amount {
    font-size: 20px;
  }

  .pricing-card-body {
    padding: 20px 15px;
    justify-content: space-between;
  }

  .price-unit {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .pricing-card-note {
    font-size: 11px;
    margin-bottom: 15px;
  }

  .btn-select {
    margin-top: auto;
  }

  .pricing-card-large .pricing-card-header {
    padding: 30px 15px;
    min-height: 110px;
  }

  .pricing-card-large .pricing-card-title {
    min-height: 50px;
    margin-bottom: 15px;
  }

  .pricing-card-large .price-amount {
    font-size: 24px;
  }

  .pricing-info {
    font-size: 12px;
  }

  /* Portfolio */
  .portfolio-section {
    padding: 30px 15px 40px;
  }

  .portfolio-section .section-title {
    margin-bottom: 25px;
  }

  .portfolio-slider {
    padding: 0 10px;
  }

  .portfolio-items {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 100%;
  }

  .portfolio-item {
    width: 120px;
    height: 160px;
    flex-shrink: 0;
  }

  .portfolio-item.item-1,
  .portfolio-item.item-2,
  .portfolio-item.item-3 {
    width: 120px;
    height: 160px;
    margin: 0;
  }

  .slider-arrow,
  .slider-prev,
  .slider-next {
    display: none !important;
    visibility: hidden;
  }

  /* Contact Form */
  .contact-form-section {
    margin: 0 15px 30px;
    padding: 25px 15px 35px;
  }

  .contact-subtitle {
    font-size: 16px;
  }

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

  .form-group label {
    font-size: 14px;
  }

  .form-checkbox {
    align-items: flex-start;
  }

  .form-checkbox label {
    font-size: 12px;
  }

  /* Services (Pod-kluch) */
  .services-container {
    gap: 20px;
  }

  .service-content {
    padding: 25px 20px;
  }

  .service-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .service-text {
    font-size: 13px;
  }

  .service-list li {
    margin-bottom: 15px;
  }

  .service-list li span:last-child {
    font-size: 13px;
  }

  .service-image {
    height: 280px;
  }

  /* Features Grid (About) */
  .features-grid-section {
    padding: 40px 15px;
  }

  .features-grid-section .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .feature-card {
    min-height: 200px;
  }

  .feature-banner {
    width: 70px;
    height: 60px;
  }

  .feature-banner img {
    width: 30px;
    height: 30px;
  }

  .feature-card .feature-title {
    font-size: 12px;
    padding: 10px 10px 10px 5px;
  }

  .feature-description {
    font-size: 12px;
    padding: 10px 15px 15px;
  }

  /* Video */
  .video-section {
    padding: 0 15px 40px 15px;
  }

  .video-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .video-placeholder {
    height: 200px;
  }

  /* About */
  .about-content {
    padding: 30px 20px;
  }

  .about-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .about-text {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .about-image {
    min-height: 250px;
    display: flex;
    justify-content: center;
  }

  .about-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  /* Contact Info */
  .contact-info-section {
    flex-direction: column-reverse;
  }

  .contact-map {
    min-height: 400px;
  }

  .contact-info {
    padding: 40px 20px;
    text-align: center;
    order: 2;
  }

  .contact-info .contact-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .contact-phone,
  .contact-email,
  .contact-address,
  .contact-hours {
    font-size: 16px;
    margin-bottom: 15px;
  }
}

/* =============================================
   RESPONSIVE - SMALL MOBILE (max-width: 480px)
   ============================================= */
@media (max-width: 480px) {
  /* Common */
  .btn-primary {
    font-size: 14px;
    padding: 10px 25px;
  }

  .section-title {
    font-size: 20px;
  }

  /* Hero Section */
  .hero-section {
    padding: 30px 10px 40px;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }

  .hero-container {
    padding: 0;
    order: 1;
    position: relative;
    z-index: 2;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-image {
    order: 2;
  }

  .hero-image {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 25px;
    z-index: auto !important;
    right: auto !important;
    top: auto !important;
  }

  .hero-books-image {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .hero-title {
    font-size: 24px;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-buttons {
    gap: 12px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    font-size: 16px;
    padding: 10px 20px;
    height: auto;
    min-height: 43px;
  }

  .hero-stats {
    gap: 15px;
  }

  .stat-item {
    min-width: 70px;
  }

  .stat-number {
    font-size: 18px;
  }

  .stat-label {
    font-size: 12px;
  }

  .hero-disclaimer {
    font-size: 12px;
  }

  /* Portfolio Showcase */
  body.main-page .portfolio-showcase-section {
    padding: 30px 10px 40px !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.main-page .portfolio-showcase-header {
    padding: 0 10px !important;
    margin-bottom: 25px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }

  body.main-page .portfolio-showcase-titles {
    padding: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body.main-page .portfolio-showcase-nav {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.main-page .portfolio-showcase-title {
    font-size: 22px !important;
    max-width: 100% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    line-height: 1.3 !important;
  }

  body.main-page .portfolio-showcase-subtitle {
    font-size: 14px !important;
    max-width: 100% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  body.main-page .portfolio-showcase-slider {
    padding: 0 10px !important;
    margin-bottom: 30px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }

  body.main-page .portfolio-showcase-slider.swiper {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.main-page .portfolio-book-item {
    width: 240px !important;
    height: 230px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.main-page .portfolio-showcase-button {
    padding: 0 10px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  body.main-page .btn-portfolio {
    width: 100% !important;
    min-width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
    padding: 10px 20px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  .btn-portfolio {
    font-size: 16px;
    padding: 10px 20px;
    height: auto;
    min-height: 43px;
  }

  /* Final CTA */
  .final-cta-section {
    padding: 30px 15px;
    margin: 0;
    max-width: none;
  }

  .final-cta-title {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .final-cta-description {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .btn-final-cta {
    font-size: 16px;
    padding: 10px 20px;
    height: auto;
    min-height: 43px;
    width: 100%;
    min-width: auto;
  }

  /* Intro */
  .intro-text {
    font-size: 14px;
  }

  /* Feature Sections */
  .feature-section {
    padding: 20px 15px 0;
  }

  .feature-section::after {
    height: 200px;
    margin-top: 15px;
  }

  .feature-section .feature-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .arrow-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    margin-right: 10px;
    margin-top: 0;
  }

  .feature-list li span:last-child {
    font-size: 12px;
  }

  /* Calculator */
  .calculator-section {
    margin: 20px 10px;
    min-height: 300px;
  }

  /* Pricing */
  .pricing-section {
    padding: 25px 10px 35px;
  }

  .pricing-section .section-title {
    font-size: 20px;
    margin-bottom: 25px;
  }

  .pricing-cards {
    gap: 12px;
    justify-content: center;
  }

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

  .pricing-card-large {
    flex-basis: 100%;
    max-width: 450px;
    margin: 0 auto;
  }

  .pricing-card-header {
    padding: 18px 12px;
    min-height: 100px;
  }

  .pricing-card-title {
    font-size: 13px;
    min-height: 40px;
    margin-bottom: 10px;
  }

  .price-amount {
    font-size: 18px;
  }

  .pricing-card-body {
    padding: 18px 12px;
    justify-content: space-between;
  }

  .price-unit {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .pricing-card-note {
    font-size: 10px;
    margin-bottom: 12px;
  }

  .btn-select {
    font-size: 14px;
    padding: 8px 20px;
    margin-top: auto;
  }

  .pricing-card-large .pricing-card-header {
    padding: 25px 12px;
    min-height: 100px;
  }

  .pricing-card-large .pricing-card-title {
    min-height: 45px;
    margin-bottom: 12px;
  }

  .pricing-card-large .price-amount {
    font-size: 22px;
  }

  .pricing-info {
    font-size: 11px;
  }

  /* Portfolio */
  .portfolio-item {
    width: 100px;
    height: 140px;
  }

  .portfolio-item.item-1,
  .portfolio-item.item-2,
  .portfolio-item.item-3 {
    width: 100px;
    height: 140px;
  }

  /* Contact Form */
  .contact-form-section {
    margin: 0 10px 20px;
  }

  .contact-subtitle {
    font-size: 14px;
  }

  /* Services */
  .services-container {
    gap: 15px;
  }

  .service-content {
    padding: 20px 15px;
  }

  .service-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .service-text {
    font-size: 12px;
  }

  .service-list li {
    margin-bottom: 12px;
  }

  .service-list li span:last-child {
    font-size: 12px;
  }

  .service-image {
    height: 220px;
  }

  /* Features Grid */
  .features-grid-section .section-title {
    font-size: 20px;
  }

  .feature-card {
    min-height: 180px;
  }

  .feature-banner {
    width: 60px;
    height: 50px;
  }

  .feature-banner img {
    width: 25px;
    height: 25px;
  }

  .feature-card .feature-title {
    font-size: 11px;
  }

  .feature-description {
    font-size: 11px;
    padding: 8px 10px 12px;
  }

  /* About */
  .about-title {
    font-size: 22px;
  }

  .about-text {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Video */
  .video-title {
    font-size: 20px;
  }

  /* Contact Info */
  .contact-info .contact-title {
    font-size: 22px;
  }

  .contact-phone,
  .contact-email,
  .contact-address,
  .contact-hours {
    font-size: 14px;
  }
}

/* =============================================
   SERVICES & PRICES SECTION (Uslugi-i-ceni page)
   ============================================= */
.services-prices-section {
  padding: 40px 20px 60px;
  max-width: 100%;
  overflow-x: hidden;
}

.services-prices-section .section-title {
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.service-card {
  background-color: #fff;
  overflow: visible;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.service-banner {
  background-color: #3AA5C7;
  width: 96px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
}

.service-banner img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.service-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  padding: 15px 15px 15px 10px;
  flex: 1;
  display: flex;
  align-items: center;
  margin: 0;
}

.service-card-body {
  padding: 15px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
}

.service-card-description {
  font-size: 14px;
  font-weight: 400;
  color: #000;
  line-height: 1.5;
  text-align: center;
  margin: 0 0 20px 0;
  flex: 1;
  width: 100%;
}

.btn-service {
  background: #3AA5C7;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  width: auto;
  margin: 0 auto;
}

.btn-service:hover {
  background: #2d8ba8;
  opacity: 1;
}

.promo-block {
  background: #E0F2F7;
  border-radius: 10px;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

.promo-title {
  font-size: 24px;
  font-weight: 600;
  color: #000;
  margin-bottom: 20px;
  line-height: 1.3;
}

.promo-text {
  font-size: 16px;
  line-height: 1.6;
  color: #000;
  margin-bottom: 15px;
}

.promo-text:last-of-type {
  margin-bottom: 25px;
}

.btn-promo {
  background: #fff;
  color: #000000;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 8px;
  border: 2px solid #3AA5C7;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  width: auto;
  margin: 0 auto;
}

.btn-promo:hover {
  background: #3AA5C7;
  color: #fff;
  opacity: 1;
}

/* Responsive for Services & Prices */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 15px;
  }

  .promo-block {
    padding: 30px 20px;
    margin: 0 15px;
  }

  .promo-title {
    font-size: 22px;
  }

  .promo-text {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .services-prices-section {
    padding: 20px 15px 30px;
  }

  .services-prices-section .section-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0;
    margin: 0 auto 30px;
    width: 100%;
  }

  .service-card {
    min-height: auto;
    width: 100%;
  }

  .service-banner {
    width: 60px;
    height: 50px;
  }

  .service-banner img {
    width: 28px;
    height: 28px;
  }

  .service-card-title {
    font-size: 12px;
    padding: 10px 8px 10px 6px;
    line-height: 1.2;
  }

  .service-card-body {
    padding: 12px 10px 15px;
    align-items: flex-start;
  }

  .service-card-description {
    font-size: 11px;
    margin-bottom: 12px;
    line-height: 1.4;
    text-align: left;
    width: 100%;
  }

  .btn-service {
    font-size: 12px;
    font-weight: 600;
    padding: 8px 16px;
    width: 100%;
    max-width: none;
    align-self: center;
    border-radius: 20px;
  }

  .promo-block {
    padding: 25px 20px;
    margin: 0 15px;
    border-radius: 10px;
  }

  .promo-title {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.3;
  }

  .promo-text {
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.5;
  }

  .promo-text:last-of-type {
    margin-bottom: 20px;
  }

  .btn-promo {
    font-size: 14px;
    padding: 12px 25px;
    width: auto;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .services-prices-section {
    padding: 15px 10px 25px;
  }

  .services-prices-section .section-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 25px;
    width: 100%;
  }

  .service-card {
    min-height: auto;
    border-radius: 8px;
  }

  .service-banner {
    width: 55px;
    height: 45px;
  }

  .service-banner img {
    width: 25px;
    height: 25px;
  }

  .service-card-title {
    font-size: 11px;
    padding: 8px 6px 8px 5px;
    line-height: 1.2;
  }

  .service-card-body {
    padding: 10px 8px 12px;
    align-items: flex-start;
  }

  .service-card-description {
    font-size: 10px;
    margin-bottom: 10px;
    line-height: 1.4;
    text-align: left;
    width: 100%;
  }

  .btn-service {
    font-size: 11px;
    font-weight: 600;
    padding: 7px 12px;
    width: 100%;
    max-width: none;
    align-self: center;
    border-radius: 18px;
  }

  .promo-block {
    padding: 20px 15px;
    margin: 0 10px;
    border-radius: 8px;
  }

  .promo-title {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.3;
  }

  .promo-text {
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 1.5;
  }

  .promo-text:last-of-type {
    margin-bottom: 18px;
  }

  .btn-promo {
    font-size: 13px;
    padding: 11px 20px;
    width: auto;
    max-width: none;
  }
}

/* =============================================
   HOW WE WORK PAGE (Kak-my-rabotaem page)
   ============================================= */

/* Stages Section */
.stages-section {
  padding: 40px 20px 60px;
  background-color: #fff;
}

.stages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 30px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.stage-card {
  background-color: #fff;
  border-radius: 0;
  padding: 0;
  position: relative;
  min-height: 120px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Zig-zag pattern: odd stages (left column) higher, even stages (right column) lower */
.stage-card:nth-child(1) {
  margin-top: 0;
  margin-bottom: 80px;
}

.stage-card:nth-child(2) {
  margin-top: 80px;
  margin-bottom: 0;
}

.stage-card:nth-child(3) {
  margin-top: -20px;
  margin-bottom: 80px;
}

.stage-card:nth-child(4) {
  margin-top: 80px;
  margin-bottom: 0;
}

.stage-card:nth-child(5) {
  margin-top: -20px;
  margin-bottom: 80px;
}

.stage-card:nth-child(6) {
  margin-top: 80px;
  margin-bottom: 0;
}

.stage-card:nth-child(7) {
  margin-top: -20px;
  margin-bottom: 0;
}

.stage-card:nth-child(8) {
  margin-top: 80px;
  margin-bottom: 0;
}

.stage-content {
  flex: 1;
  z-index: 2;
  padding: 25px;
  display: flex;
  align-items: center;
  align-self: stretch;
}

.stage-card:nth-child(odd) .stage-content {
  padding-right: 25px;
  padding-left: 25px;
}

.stage-card:nth-child(even) .stage-content {
  padding-right: 25px;
  padding-left: 25px;
}

.stage-text {
  font-size: 18px;
  font-weight: 400;
  color: #000;
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

.stage-number {
  position: relative;
  width: 120px;
  height: 95px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 1;
  align-self: flex-start;
}

/* Left column: text aligned to the right */
.stage-number-left {
  justify-content: flex-end;
  padding-right: 15px;
  padding-left: 0;
}

/* Right column: text aligned to the left */
.stage-number-right {
  justify-content: flex-start;
  padding-left: 15px;
  padding-right: 0;
}

/* Left column (odd): banner on the left */
.stage-card:nth-child(odd) .stage-number-left {
  order: 1;
}

/* Right column (even): banner on the left */
.stage-card:nth-child(even) .stage-number-right {
  order: 0;
}

.stage-card:nth-child(even) .stage-content {
  order: 1;
}

.stage-card:nth-child(odd) .stage-content {
  order: 1;
}

.stage-banner-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

.stage-number-text {
  position: relative;
  color: #fff;
  font-family: 'Crimson Text', serif;
  font-size: 80px;
  font-weight: 600;
  z-index: 2;
  line-height: 1;
}

/* Contact Form Section with Blue Background */
.contact-form-section-blue {
  background-color: #E0F2F7;
  padding: 40px 20px 60px;
  text-align: center;
}

.contact-form-section-blue .section-title {
  margin-bottom: 15px;
}

.contact-subtitle {
  font-size: 18px;
  color: #000;
  margin-bottom: 30px;
  text-align: center;
}

.contact-form-section-blue .contact-form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

/* =============================================
   MAIN PAGE (Главная)
   ============================================= */
body.main-page {
  background: #E7E8EA;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

/* Hero Section */
.hero-section {
  background: #FFFFFF;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

@media (max-width: 1024px) {
  .hero-section {
    display: flex;
    flex-direction: column;
    overflow: visible;
    min-height: auto;
  }
}

.hero-container {
  max-width: 1620px;
  width: 100%;
  margin: 0 auto;
  padding: 0 150px;
  padding-right: calc(591px + 150px + 60px);
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 892px;
  z-index: 3;
  position: relative;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 49px;
  color: #000000;
  margin: 0 0 25px 0;
}

.hero-description {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: #000000;
  margin: 0 0 30px 0;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  min-width: 374px;
  height: 43px;
  background: #3AA5C7;
  border: 1px solid #4AC5F4;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: #FFFFFF;
  cursor: pointer;
}

.btn-hero-secondary {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  min-width: 374px;
  height: 43px;
  background: #FFFFFF;
  border: 1px solid #4AC5F4;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: #000000;
  cursor: pointer;
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 88px;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  color: #000000;
  margin: 0;
}

.stat-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  color: #000000;
  margin: 0;
}

.hero-disclaimer {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #000000;
  margin: 0;
}

.hero-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 591px;
  height: 100%;
  min-height: 600px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}


@media (max-width: 1024px) {
  .hero-section {
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .hero-container {
    padding: 0 15px;
    padding-right: 15px;
  }

  .hero-image {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    z-index: auto !important;
    right: auto !important;
    top: auto !important;
    order: 2;
    display: block;
  }

  .hero-books-image {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

.hero-books-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .hero-books-image {
    height: auto;
  }
}

/* Calculator Section for Main Page */
body.main-page .calculator-section {
  max-width: 1620px;
  margin: 40px auto;
  padding: 20px;
  background: #FFFFFF;
  min-height: 480px;
}

body.main-page .calculator-section .section-title {
  margin-bottom: 20px;
}

body.main-page .calculator-placeholder {
  width: 100%;
  height: 380px;
  background: #FFFFFF;
}

/* Portfolio Showcase Section */
.portfolio-showcase-section {
  background: #E7E8EA;
  padding: 60px 0;
  position: relative;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.portfolio-showcase-header {
  max-width: 1620px;
  margin: 0 auto 40px;
  padding: 0 150px;
  box-sizing: border-box;
  width: 100%;
}

.portfolio-showcase-titles {
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.portfolio-showcase-nav {
  position: absolute;
  top: 60px;
  right: calc((100% - 1620px) / 2 + 150px);
  display: flex;
  gap: 15px;
  align-items: center;
  z-index: 10;
}

/* Скрываем кнопки на мобильных */
@media (max-width: 1023px) {
  body.main-page .portfolio-showcase-nav {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

.portfolio-showcase-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 39px;
  color: #000000;
  margin: 0 0 10px 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.portfolio-showcase-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: #000000;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}


.portfolio-nav-prev,
.portfolio-nav-next {
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  background: #36B0D5;
  border: 1px solid #FFFFFF;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
}

.portfolio-nav-prev:hover,
.portfolio-nav-next:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.portfolio-nav-prev::before {
  content: '';
  width: 0;
  height: 0;
  border-right: 6px solid #FFFFFF;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transform: translateX(-2px);
}

.portfolio-nav-next::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 6px solid #FFFFFF;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transform: translateX(2px);
}

.portfolio-showcase-slider {
  max-width: 1620px;
  margin: 0 auto 40px;
  padding: 0 150px;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.portfolio-showcase-slider.swiper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.portfolio-showcase-slider .swiper-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
}

.portfolio-book-item {
  width: 401px;
  height: 391px;
  overflow: hidden;
  flex-shrink: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.portfolio-book-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Скрываем стандартные иконки Swiper */
.portfolio-showcase-slider .swiper-button-prev::after,
.portfolio-showcase-slider .swiper-button-next::after {
  display: none;
}

/* Универсальные стили для всех кнопок Swiper слайдеров */
.swiper-button-prev,
.swiper-button-next {
  width: 40px !important;
  height: 40px !important;
  background: #36B0D5 !important;
  border: 1px solid #FFFFFF !important;
  border-radius: 50% !important;
  margin-top: 0 !important;
  transition: all 0.3s ease !important;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  opacity: 0.9 !important;
  transform: scale(1.05) !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 14px !important;
  font-weight: bold !important;
  color: #FFFFFF !important;
}

.swiper-button-prev {
  left: 0 !important;
}

.swiper-button-next {
  right: 0 !important;
}

/* Специфичные стили для кнопок в portfolio-showcase-nav */
.portfolio-showcase-nav .portfolio-nav-prev,
.portfolio-showcase-nav .portfolio-nav-next {
  background: #36B0D5;
  border: 1px solid #FFFFFF;
}

.portfolio-showcase-nav .portfolio-nav-prev:hover,
.portfolio-showcase-nav .portfolio-nav-next:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.portfolio-showcase-button {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 150px;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}

.btn-portfolio {
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  min-width: 374px;
  height: 43px;
  background: #3AA5C7;
  border-radius: 10px;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: #FFFFFF;
  cursor: pointer;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Final CTA Section */
.final-cta-section {
  background: #E6F9FF;
  padding: 60px 20px;
  text-align: center;
  max-width: 1620px;
  margin: 0 auto;
}

.final-cta-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 39px;
  text-align: center;
  color: #000000;
  margin: 0 auto 20px;
  max-width: 1332px;
}

.final-cta-description {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  color: #000000;
  margin: 0 auto 30px;
  max-width: 1706px;
}

.btn-final-cta {
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  min-width: 374px;
  width: 0;
  height: 43px;
  background: #FFFFFF;
  border: 1px solid #4AC5F4;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: #000000;
  cursor: pointer;
}

/* =============================================
   PROMOTIONS SECTION (Akcii page)
   ============================================= */
.promotions-section {
  padding: 40px 20px 60px;
  background-color: #fff;
  text-align: center;
}

.promotions-section .section-title {
  margin-bottom: 40px;
}

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

.promotion-card {
  background-color: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.promotion-header {
  position: relative;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  overflow: hidden;
  width: 100%;
}

.promotion-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
  pointer-events: none;
}

.promotion-text {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  text-align: center;
  line-height: 1.4;
  position: relative;
  z-index: 2;
  padding: 25px 20px;
  width: 100%;
}

.promotion-body {
  padding: 30px 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.promotion-gift-title {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin: 0 0 12px 0;
  text-align: left;
}

.promotion-gifts {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  padding-left: 0;
}

.promotion-gifts li {
  font-size: 16px;
  color: #000;
  margin-bottom: 8px;
  line-height: 1.5;
  padding-left: 0;
  position: relative;
}

.promotion-gifts li:last-child {
  margin-bottom: 0;
}

.btn-promotion {
  background-color: #3AA5C7;
  color: #fff;
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 400;
  border-radius: 10px;
  cursor: pointer;
  width: calc(100% - 50px);
  margin: auto 25px 25px 25px;
  margin-top: auto;
  transition: background-color 0.3s ease;
}

.btn-promotion:hover {
  background-color: #2d8ba8;
}

/* =============================================
   PORTFOLIO MAIN SECTION
   ============================================= */
.portfolio-main-section {
  position: relative;
  width: 100%;
  min-height: 1605px;
  background: #E7E8EA;
  padding: 91px 0 0;
}

.portfolio-main-title {
  position: relative;
  width: 875px;
  height: 44px;
  left: calc(50% - 875px/2);
  top: 0;
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 32px;
  line-height: 39px;
  text-align: center;
  color: #000000;
  margin: 0 0 93px 0;
}

.portfolio-content-wrapper {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 150px;
  display: flex;
  gap: 50px;
}

.portfolio-filters {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 348px;
  flex-shrink: 0;
  align-self: center;
}

.filter-btn {
  position: relative;
  width: 348px;
  height: 115px;
  background: #E6F9FF;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: #000000;
  cursor: pointer;
  text-align: left;
  padding: 0 20px;
  margin-bottom: 0;
}

.filter-btn:nth-child(2) {
  height: 113px;
}

.filter-btn:nth-child(3) {
  height: 113px;
}

.filter-btn:nth-child(4) {
  height: 114px;
}

.filter-btn.active {
  background: #3AA5C7;
  color: #fff;
}

.portfolio-books-grid {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  flex: 1;
}

.portfolio-book-item {
  position: relative;
  width: 180px;
  height: 200px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-book-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

/* Responsive for How We Work Page */
@media (max-width: 1024px) {
  .stages-grid {
    gap: 15px;
  }

  .stage-card {
    min-height: 140px;
  }

  .stage-content {
    padding: 20px;
  }

  .stage-card:nth-child(odd) .stage-content {
    padding-right: 20px;
    padding-left: 0;
  }

  .stage-card:nth-child(even) .stage-content {
    padding-right: 20px;
    padding-left: 0;
  }

  .stage-text {
    font-size: 16px;
  }

  .stage-number {
    width: 100px;
    min-height: 140px;
  }

  .stage-number-left {
    padding-right: 12px;
    padding-left: 0;
  }

  .stage-number-right {
    padding-left: 12px;
    padding-right: 0;
  }

  .stage-number-text {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .stages-section {
    padding: 30px 15px 40px;
  }

  .stages-section .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .stages-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stage-card {
    min-height: 135px;
  }

  .stage-content {
    padding: 20px;
  }

  .stage-card:nth-child(odd) .stage-content {
    padding-right: 20px;
    padding-left: 0;
  }

  .stage-card:nth-child(even) .stage-content {
    padding-right: 20px;
    padding-left: 0;
  }

  .stage-text {
    font-size: 15px;
  }

  .stage-number {
    width: 90px;
    min-height: 135px;
  }

  .stage-number-left {
    padding-right: 10px;
    padding-left: 0;
  }

  .stage-number-right {
    padding-left: 10px;
    padding-right: 0;
  }

  .stage-number-text {
    font-size: 38px;
  }

  .contact-form-section-blue {
    padding: 30px 15px 40px;
  }

  .contact-form-section-blue .section-title {
    font-size: 24px;
  }

  .contact-subtitle {
    font-size: 16px;
    margin-bottom: 25px;
  }

  /* Portfolio Section */
  .portfolio-main-section {
    min-height: auto;
    padding: 50px 15px 40px;
  }

  .portfolio-main-title {
    position: static;
    width: 100%;
    height: auto;
    left: auto;
    top: auto;
    font-size: 28px;
    line-height: 1.3;
    margin: 0 auto 35px;
    max-width: 100%;
  }

  .portfolio-content-wrapper {
    flex-direction: column;
    padding: 0 15px;
    gap: 30px;
  }

  .portfolio-filters {
    width: 100%;
    max-width: 100%;
    align-self: center;
  }

  .filter-btn {
    width: 100%;
    height: 60px;
    font-size: 18px;
    padding: 0 20px;
  }

  .filter-btn:nth-child(n) {
    height: 60px;
  }

  .portfolio-books-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
  }

  .portfolio-book-item {
    width: 100%;
    height: auto;
    aspect-ratio: 251 / 179;
  }

  .portfolio-book-item:nth-child(n) {
    width: 100%;
    height: auto;
    aspect-ratio: 251 / 179;
  }

  body.main-page .calculator-section {
    margin: 30px auto;
    padding: 20px 15px;
    min-height: 350px;
  }

  body.main-page .calculator-section .section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  body.main-page .calculator-placeholder {
    height: 300px;
  }

  /* Promotions Section */
  .promotions-section {
    padding: 30px 15px 40px;
  }

  .promotions-section .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .promotions-grid {
    grid-template-columns: 2fr 2fr;
    gap: 20px;
  }

  /* Центрирование последней нечетной карточки на планшетах */
  .promotion-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc(50% - 10px);
  }

  .promotion-header {
    padding: 20px 15px;
    padding-bottom: 35px;
    min-height: 70px;
  }

  .promotion-text {
    font-size: 16px;
  }

  .promotion-body {
    padding: 25px 20px;
    align-items: flex-start;
    text-align: left;
  }

  .promotion-gift-title {
    font-size: 14px;
    margin-bottom: 12px;
    text-align: left;
  }

  .promotion-gifts {
    text-align: left;
  }

  .promotion-gifts li {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .btn-promotion {
    padding: 12px 20px;
    font-size: 14px;
    width: calc(100% - 40px);
    margin: auto 20px 20px 20px;
    margin-top: auto;
  }
}

@media (max-width: 480px) {
  .stages-section {
    padding: 20px 10px 30px;
  }

  .stages-section .section-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .stage-card {
    min-height: 125px;
  }

  .stage-content {
    padding: 18px;
  }

  .stage-card:nth-child(odd) .stage-content {
    padding-right: 18px;
    padding-left: 0;
  }

  .stage-card:nth-child(even) .stage-content {
    padding-right: 18px;
    padding-left: 0;
  }

  .stage-text {
    font-size: 14px;
  }

  .stage-number {
    width: 80px;
    min-height: 125px;
  }

  .stage-number-left {
    padding-right: 8px;
    padding-left: 0;
  }

  .stage-number-right {
    padding-left: 8px;
    padding-right: 0;
  }

  .stage-number-text {
    font-size: 34px;
  }

  .contact-form-section-blue {
    padding: 25px 10px 35px;
  }

  .contact-form-section-blue .section-title {
    font-size: 20px;
  }

  .contact-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }

  /* Portfolio Section */
  .portfolio-main-section {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    max-width: 412px;
    min-height: 1224px;
    background: #E7E8EA;
    border: 1px solid #000000;
    margin: 0 auto;
    padding: 30px 15px 40px;
  }

  .portfolio-main-title {
    position: static;
    width: 100%;
    height: auto;
    left: auto;
    top: auto;
    font-size: 20px;
    line-height: 1.3;
    margin: 0 auto 25px;
    max-width: 100%;
  }

  .portfolio-content-wrapper {
    flex-direction: column;
    padding: 0;
    gap: 25px;
    max-width: 100%;
  }

  .portfolio-filters {
    width: auto;
    max-width: 100%;
    align-self: center;
    gap: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .filter-btn {
    width: 100%;
    height: 50px;
    font-size: 14px;
    padding: 0 15px;
  }

  .filter-btn:nth-child(n) {
    height: 50px;
    width: 170px;
  }

  .portfolio-books-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    justify-content: space-between;
  }

  .portfolio-book-item {
    width: calc(50% - 6px);
    height: auto;
    aspect-ratio: 180 / 200;
  }

  .portfolio-book-item:nth-child(n) {
    width: calc(50% - 6px);
    height: auto;
    aspect-ratio: 180 / 200;
  }

  body.main-page .calculator-section {
    margin: 20px 10px;
    padding: 20px 10px;
    min-height: 300px;
    max-width: none;
  }

  body.main-page .calculator-section .section-title {
    font-size: 22px;
    margin-bottom: 15px;
  }

  body.main-page .calculator-placeholder {
    height: 250px;
  }

  /* Promotions Section */
  .promotions-section {
    padding: 25px 10px 35px;
  }

  .promotions-section .section-title {
    font-size: 20px;
    margin-bottom: 25px;
  }

  .promotions-grid {
    gap: 15px;
  }

  /* Центрирование последней нечетной карточки на мобильных */
  .promotion-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc(50% - 7.5px);
  }

  .promotion-header {
    padding: 15px 12px;
    padding-bottom: 30px;
    min-height: 60px;
  }

  .promotion-text {
    font-size: 14px;
  }

  .promotion-body {
    padding: 20px 15px;
    align-items: flex-start;
    text-align: left;
  }

  .promotion-gift-title {
    font-size: 13px;
    margin-bottom: 10px;
    text-align: left;
  }

  .promotion-gifts {
    text-align: left;
  }

  .promotion-gifts li {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .btn-promotion {
    padding: 10px 15px;
    font-size: 13px;
    width: calc(100% - 30px);
    margin: auto 15px 15px 15px;
    margin-top: auto;
  }
}

/* =============================================
   REVIEWS PAGE (Otzyvy page)
   ============================================= */

/* Review Content Section */
.review-content-section {
  background-color: #F0F0F0;
  padding: 40px 20px;
}

.review-content-wrapper {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  align-items: flex-start;
}

.review-image-wrapper {
  flex: 0 0 400px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
}

.review-image {
  width: 100%;
}

.review-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.review-text {
  flex: 1;
  padding: 0;
}

.review-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #000;
  margin-bottom: 20px;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
}

.review-text p:last-of-type {
  margin-bottom: 0;
}

.review-signature {
  margin-top: 20px;
  text-align: left;
}

.review-signature p {
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  margin-bottom: 5px;
  font-family: 'Montserrat', sans-serif;
}

.review-signature p:last-child {
  margin-bottom: 0;
  font-weight: 400;
}

.review-signature strong {
  font-weight: 600;
}

/* Calculator Section for Reviews Page */
.review-content-section + .calculator-section {
  padding: 60px 20px;
  background-color: #fff;
  min-height: 500px;
}

/* Responsive for Reviews Page */
@media (max-width: 1024px) {
  .review-content-section {
    padding: 35px 20px;
    margin: 0;
  }

  .review-content-wrapper {
    max-width: 1000px;
    gap: 35px;
  }

  .review-image-wrapper {
    flex: 0 0 350px;
    max-width: 350px;
  }

  .review-content-section + .calculator-section {
    padding: 50px 20px;
    min-height: 450px;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .review-content-section {
    padding: 20px 15px;
    margin: 0;
    background-color: #fff;
  }

  .review-content-wrapper {
    flex-direction: row;
    gap: 15px;
    align-items: flex-start;
    max-width: 100%;
  }

  .review-image-wrapper {
    flex: 0 0 200px;
    max-width: 200px;
    width: 200px;
    align-items: stretch;
  }

  .review-image {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .review-image img {
    width: 100%;
    height: auto;
  }

  .review-signature {
    margin-top: 12px;
    text-align: left;
    width: 100%;
  }

  .review-signature p {
    font-size: 12px;
    margin-bottom: 2px;
  }

  .review-text {
    flex: 1;
    width: auto;
  }

  .review-text p {
    font-size: 12px;
    margin-bottom: 12px;
    text-align: left;
    line-height: 1.5;
  }

  .review-content-section + .calculator-section {
    padding: 40px 15px;
    min-height: 400px;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .review-content-section {
    padding: 15px 10px;
    margin: 0;
    background-color: #fff;
  }

  .review-content-wrapper {
    flex-direction: row;
    gap: 12px;
    align-items: flex-start;
  }

  .review-image-wrapper {
    flex: 0 0 150px;
    max-width: 150px;
    width: 150px;
  }

  .review-image {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .review-image img {
    width: 100%;
    height: auto;
  }

  .review-signature {
    margin-top: 10px;
    text-align: left;
  }

  .review-signature p {
    font-size: 11px;
    margin-bottom: 2px;
  }

  .review-text {
    flex: 1;
    width: auto;
  }

  .review-text p {
    font-size: 11px;
    margin-bottom: 10px;
    text-align: left;
    line-height: 1.5;
  }

  .review-content-section + .calculator-section {
    padding: 30px 10px;
    min-height: 350px;
    margin: 0;
  }
}

/* =============================================
   HEADER STYLES
   ============================================= */
.header-top {
  background: #ffffff; 
  padding: 15px 0;
}

.header-top-container {
  max-width: 1620px;
  margin: 0 auto;
  padding: 0 150px;
}

.header-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 15px;
}

.header-logo {
  display: flex;
  flex-direction: column;
}

.header-logo-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
  color: #000000;
  margin: 0;
}

.header-logo-title a {
  color: #000000;
  text-decoration: none;
}

.header-logo-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #000000;
  margin: 5px 0 0 0;
}

.header-top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.header-nav-primary {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
}

.header-phone {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #000000;
  text-decoration: underline;
  white-space: nowrap;
}

.header-btn-calculate {
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  min-width: 200px;
  height: 43px;
  background: #3AA5C7;
  border: 1px solid #4AC5F4;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: #FFFFFF;
  cursor: pointer;
  white-space: nowrap;
}

.header-nav-primary li {
  margin: 0;
}

.header-nav-primary a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #000000;
  text-decoration: none;
  white-space: nowrap;
}

.header-nav-primary a:hover {
  text-decoration: underline;
}

.header-bottom {
  background: #E7E8EA;
  padding: 15px 0;
}

.header-bottom-container {
  max-width: 1620px;
  margin: 0 auto;
  padding: 0 150px;
}

.header-nav-secondary {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav-secondary li {
  margin: 0;
}

.header-nav-secondary a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #000000;
  text-decoration: none;
  white-space: nowrap;
}

.header-nav-secondary a:hover {
  text-decoration: underline;
}

/* Mobile Header */
.header-mobile {
  display: none;
  background: #E7E8EA;
  padding: 15px 20px;
  border-bottom: 1px solid #D0D0D0;
  position: relative;
}

.header-mobile-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.header-mobile-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: #000000;
  flex: 1;
}

.header-mobile-logo a {
  color: #000000;
  text-decoration: none;
}

.header-mobile-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.header-mobile-phone-inline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #000000;
  text-decoration: underline;
  white-space: nowrap;
  display: none;
}

.header-mobile-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 30px;
  height: 24px;
}

.header-mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background: #000000;
  border-radius: 2px;
  transition: all 0.3s;
}

.header-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-bottom: 1px solid #D0D0D0;
  padding: 20px;
  z-index: 1000;
}

.header-mobile-menu.active {
  display: block;
}

.header-mobile-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-mobile-nav li {
  margin-bottom: 15px;
}

.header-mobile-nav li:last-child {
  margin-bottom: 0;
}

.header-mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #000000;
  text-decoration: none;
  display: block;
}

.header-mobile-nav a:hover {
  text-decoration: underline;
}

.header-mobile-phone {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #000000;
  text-decoration: underline;
  margin-top: 20px;
  display: block;
}

.header-mobile-btn {
  margin-top: 20px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  height: 43px;
  background: #3AA5C7;
  border: 1px solid #4AC5F4;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: #FFFFFF;
  cursor: pointer;
}

/* Header Responsive */
@media (max-width: 1024px) {
  .header-top,
  .header-bottom {
    display: none;
  }

  .header-mobile {
    display: block;
    position: relative;
  }
}

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

  .header-bottom-container {
    padding: 0 20px;
  }

  .header-nav-primary,
  .header-nav-secondary {
    gap: 15px;
  }

  .header-mobile-phone-inline {
    display: block;
  }
}

@media (max-width: 480px) {
  .header-mobile {
    padding: 12px 15px;
  }

  .header-mobile-logo {
    font-size: 18px;
  }

  .header-mobile-phone-inline {
    display: none;
  }
}

/* =============================================
   FOOTER STYLES
   ============================================= */
.footer {
  background: #000000;
  color: #FFFFFF;
  padding: 60px 0 30px;
  margin-top: 20px;
}

.footer-container {
  max-width: 1620px;
  margin: 0 auto;
  padding: 0 150px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 50px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  color: #3AA5C7;
  margin: 0 0 20px 0;
}

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

.footer-nav li {
  margin: 0;
}

.footer-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #3AA5C7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
  color: #FFFFFF;
}

.footer-copyright {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #FFFFFF;
  text-align: center;
  flex: 1;
}

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

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s;
}

.footer-social-link:hover {
  background: #3AA5C7;
}

.footer-social-icon {
  width: 20px;
  height: 20px;
  fill: #000000;
  transition: fill 0.3s;
}

.footer-social-link:hover .footer-social-icon {
  fill: #FFFFFF;
}

/* Footer Responsive */
@media (max-width: 1024px) {
  .footer {
    padding: 30px 0 20px;
  }

  .footer-container {
    padding: 0 15px;
  }

  .footer-top {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 15px;
    margin-bottom: 30px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .footer-column {
    flex: 1 1 0;
    min-width: 0;
  }

  .footer-column-title {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .footer-nav {
    gap: 8px;
  }

  .footer-nav a {
    font-size: 12px;
    line-height: 14px;
  }

  .footer-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
  }

  .footer-logo {
    font-size: 18px;
    order: 1;
    flex: 0 0 auto;
  }

  .footer-copyright {
    font-size: 11px;
    order: 3;
    flex: 1 1 100%;
    text-align: center;
    margin-top: 10px;
  }

  .footer-social {
    order: 2;
    flex: 0 0 auto;
    gap: 10px;
  }

  .footer-social-link {
    width: 32px;
    height: 32px;
  }

  .footer-social-icon {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 25px 0 15px;
  }

  .footer-container {
    padding: 0 12px;
  }

  .footer-top {
    gap: 10px;
    margin-bottom: 25px;
  }

  .footer-column {
    flex: 1 1 0;
    min-width: 0;
  }

  .footer-column-title {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .footer-nav {
    gap: 6px;
  }

  .footer-nav a {
    font-size: 11px;
    line-height: 13px;
  }

  .footer-bottom {
    gap: 12px;
    padding-top: 15px;
  }

  .footer-logo {
    font-size: 16px;
  }

  .footer-copyright {
    font-size: 10px;
  }

  .footer-social-link {
    width: 30px;
    height: 30px;
  }

  .footer-social-icon {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 20px 0 15px;
  }

  .footer-container {
    padding: 0 10px;
  }

  .footer-top {
    gap: 8px;
    margin-bottom: 20px;
  }

  .footer-column {
    flex: 1 1 0;
    min-width: 0;
  }

  .footer-column-title {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .footer-nav {
    gap: 6px;
  }

  .footer-nav a {
    font-size: 10px;
    line-height: 12px;
  }

  .footer-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 15px;
    align-items: center;
    justify-content: space-between;
  }

  .footer-logo {
    font-size: 16px;
    order: 1;
    flex: 0 0 auto;
  }

  .footer-copyright {
    font-size: 10px;
    order: 3;
    flex: 1 1 100%;
    text-align: center;
    margin-top: 8px;
  }

  .footer-social {
    order: 2;
    flex: 0 0 auto;
    gap: 8px;
  }

  .footer-social-link {
    width: 28px;
    height: 28px;
  }

  .footer-social-icon {
    width: 14px;
    height: 14px;
  }
}

.page-title-banner {
    background: linear-gradient(to right, #8B7355, #6B5744);
    padding: 30px 20px;
    text-align: center;
}

.page-title-container {
    max-width: 1400px;
    margin: 0 auto;
}

.page-title-text {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 48px;
    color: #FFFFFF;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .page-title-banner {
        padding: 60px 20px;
    }

    .page-title-text {
        font-size: 32px;
    }
}