/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #F5C542;
  --color-dark: #0F0F0F;
  --color-darker: #000000;
  --color-grey: #353535;
  --color-light-grey: #939393;
  --color-white: #FFFFFF;
  --font-family: 'Montserrat', sans-serif;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-dark);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1728px;
  margin: 0 auto;
  padding: 0 144px;
}

/* Header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 28px 0 20px;
}

.header__menu-toggle {
  display: none;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-darker);
  z-index: 9999;
  padding: 80px 20px 20px;
  overflow-y: auto;
}

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

.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 30px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mobile-menu__nav .nav-link {
  font-size: 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--color-grey);
}

.header__content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
}

.header__logo .logo {
  width: 118px;
  height: auto;
  display: block;
}

.header__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 48px;
  justify-content: center;
  align-items: center;
}

.nav-link {
  color: var(--color-white);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.3s;
}

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

.nav-link--active {
  color: var(--color-primary);
}

.header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 30px;
  border: none;
  border-radius: 100px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 21px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

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

.btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

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

.btn--hero-primary {
  color: var(--color-darker);
}

.btn--hero-primary .btn-icon {
  filter: brightness(0);
}

.btn--hero-primary span {
  display: inline-block;
  text-align: left;
  line-height: 1.3;
}

.btn--hero-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--hero-secondary:hover {
  background-color: rgba(245, 197, 66, 0.08);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--hero-secondary .btn-icon {
  filter: brightness(0) saturate(100%) invert(84%) sepia(31%) saturate(2000%) hue-rotate(359deg) brightness(103%) contrast(98%);
}

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

.btn--cta-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  font-size: 17px;
  font-weight: 700;
  padding: 16px 40px;
}

.btn--cta-outline:hover {
  background-color: rgba(245, 197, 66, 0.1);
  color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.btn--large {
  padding: 26px 30px;
  font-size: 21px;
}

.btn.btn--large.btn--cta-outline {
  padding: 16px 44px;
  font-size: 17px;
}

.btn--small {
  padding: 10px 20px;
  font-size: 17px;
}

.btn-icon {
  width: 26px;
  height: 26px;
}

/* Hero Section */
.hero {
  min-height: min(100vh, 960px);
  padding: 168px 0 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 50% at 82% 42%, rgba(245, 197, 66, 0.09) 0%, transparent 55%),
    linear-gradient(105deg, #0a0a0a 0%, #121212 45%, #0f0f0f 100%);
}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px);
  opacity: 0.35;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px 72px;
  align-items: center;
}

.hero__title {
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.06;
  margin-bottom: 28px;
  color: var(--color-white);
  text-transform: none;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  gap: 0.06em;
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  color: var(--color-primary);
}

.hero__subtitle {
  font-size: 19px;
  font-weight: 400;
  margin-bottom: 40px;
  color: var(--color-white);
  line-height: 1.55;
  max-width: 560px;
}

.hero__buttons {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.hero__cta-cell {
  flex-shrink: 0;
}

.hero__cta-note {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.35;
  max-width: 220px;
  margin: 0;
}

.hero__image {
  text-align: right;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-img {
  max-width: 100%;
  width: min(100%, 620px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

.btn--hero-primary.btn--large,
.btn--hero-secondary.btn--large {
  padding: 18px 32px;
  font-size: 17px;
  font-weight: 700;
}

/* Каталоги: hero — двухстрочная жёлтая капсула (машины / кофе) */
.hero--machines .btn--machines-hero, .hero--coffee .btn--machines-hero {
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 16px 28px 16px 20px;
  background: linear-gradient(180deg, #f6cb4a 0%, #edc73a 100%);
  color: #1a1a1a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -2px 5px rgba(0, 0, 0, 0.07);
  text-align: left;
  max-width: min(100%, 520px);
}

.hero--machines .btn--machines-hero:hover,
.hero--coffee .btn--machines-hero:hover {
  opacity: 0.96;
  transform: translateY(-1px);
}

.hero--machines .btn--machines-hero .btn-icon,
.hero--coffee .btn--machines-hero .btn-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
}

.hero--machines .btn--machines-hero .btn__lines,
.hero--coffee .btn--machines-hero .btn__lines {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  line-height: 1.2;
  min-width: 0;
  text-align: left;
}

.hero--machines .btn--machines-hero .btn__line,
.hero--coffee .btn--machines-hero .btn__line {
  display: block;
  max-width: 100%;
}

.hero--machines .btn--machines-hero .btn__line--primary,
.hero--coffee .btn--machines-hero .btn__line--primary {
  font-size: clamp(15px, 1.85vw, 17px);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.hero--machines .btn--machines-hero .btn__line--secondary,
.hero--coffee .btn--machines-hero .btn__line--secondary {
  font-size: clamp(12px, 1.5vw, 14px);
  font-weight: 500;
  opacity: 0.93;
}

/* Benefits Section (главная — как в макете) */
.benefits {
  --benefits-accent: #e8c444;
  padding: 100px 0;
  background-color: #121212;
}

.benefits__content {
  display: flex;
  flex-direction: column;
  gap: 88px;
}

.benefits__top {
  display: grid;
  grid-template-columns: minmax(220px, 327px) 1fr;
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
}

.benefits__image-left {
  border-radius: 20px;
  overflow: hidden;
}

.benefits-img {
  width: 50%;
  height: auto;
  display: block;
}

.benefits__bottom {
  width: 100%;
}

.benefits__heading {
  font-family: var(--font-family);
  font-size: clamp(28px, 2.6vw, 46px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-white);
  text-transform: none;
  margin: 0 0 28px;
  max-width: 920px;
}

.section-title {
  font-size: 49px;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
}

.section-title--yellow {
  color: var(--color-primary);
}

.section-title--white {
  color: var(--color-white);
}

.section-title--grey {
  color: var(--color-light-grey);
  font-size: 67px;
}

.benefits-list {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  max-width: 920px;
}

.benefits-list li {
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 16px;
  padding-left: 26px;
  position: relative;
  line-height: 1.45;
}

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

.benefits-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--benefits-accent);
  transform: translateY(-50%);
}

.benefits-description {
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
  line-height: 1.55;
  max-width: 920px;
}

.benefits .statistics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
  width: 100%;
}

.benefits .stat-item {
  text-align: center;
}

.benefits .stat-number {
  font-size: clamp(48px, 5vw, 88px);
  font-weight: 800;
  color: var(--benefits-accent);
  line-height: 1;
  margin-bottom: 14px;
}

.benefits .stat-text {
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
  max-width: 240px;
  margin: 0 auto;
}

/* Trust Section */
.trust {
  padding: 100px 0;
  background-color: var(--color-dark);
}

.trust .section-title {
  text-align: left;
  margin-bottom: 14px;
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.trust__subtitle {
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 500;
  text-align: left;
  margin-bottom: 48px;
  max-width: 920px;
  color: var(--color-primary);
  line-height: 1.45;
}

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

.trust-card {
  background-color: #262626;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 40px;
  padding: 48px 40px 44px;
  text-align: center;
}

.trust-card__icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-card__icon img,
.trust-card__icon svg {
  width: 54px;
  height: auto;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.trust-card__icon img {
  padding: 0;
  border-radius: 0;
  background-color: transparent;
}

.trust-card__title {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 18px;
}

.trust-card__text {
  font-size: 25px;
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.5;
}

/* Clients Section (макет: заголовок и текст вверху, кнопка в середине карточки, фото внизу) */
.clients {
  padding: 100px 0;
  background-color: #1a1a1a;
}

.clients__header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
  position: relative;
}

.clients__header .section-title {
  margin: 0;
  text-align: center;
  max-width: 36ch;
}

.clients__arrows {
  position: absolute;
  right: 0;
  display: flex;
  gap: 15px;
}

.arrow-btn {
  width: 42px;
  height: 42px;
  background-color: var(--color-primary);
  border: none;
  border-radius: 50%;
  color: var(--color-darker);
  font-size: 27px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.arrow-btn:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

.clients__carousel {
  overflow: hidden;
  position: relative;
}

.clients__track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
  will-change: transform;
}

.clients__track .client-card {
  flex: 0 0 calc((100% - 60px) / 3);
  min-width: 0;
  flex-shrink: 0;
}

@media (max-width: 1200px) and (min-width: 769px) {
  .clients__track .client-card {
    flex: 0 0 calc((100% - 30px) / 2);
  }
}

.client-card {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  text-align: center;
  min-height: 552px;
  display: block;
  background: #0c0c0c;
}

.client-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
}

.client-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.client-card__content {
  position: relative;
  z-index: 2;
  min-height: 552px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 32px 32px;
  box-sizing: border-box;
  background: none;
}

.client-card__title {
  font-size: clamp(26px, 2.2vw, 32px);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin: 0 0 16px 0;
  text-align: center;
}

.client-card__text {
  font-size: 17px;
  font-weight: 400;
  color: var(--color-white);
  margin: 0;
  line-height: 1.55;
  text-align: center;
  max-width: 320px;
  flex-shrink: 0;
}

.client-card__action {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  width: 100%;
  padding-top: 8px;
}

.client-card__btn {
  display: inline-flex;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 100px;
  color: var(--color-darker);
  background-color: var(--color-primary);
  border: none;
  flex-shrink: 0;
}

/* CTA Section (центрированный блок как в макете: логотип — заголовок — контурная кнопка) */
.cta {
  padding: 88px 0 96px;
  background: linear-gradient(160deg, #080808 0%, #151515 55%, #101010 100%);
  position: relative;
  overflow: hidden;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 55% 75% at 88% 42%, rgba(245, 197, 66, 0.18) 0%, transparent 58%);
}

.cta[data-bg-type="image"],
.cta.cta--bg-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0a0a0a;
}

.cta[data-bg-type="image"]::before,
.cta.cta--bg-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 8, 8, 0.74);
  z-index: 0;
}

.cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 36px;
  max-width: 720px;
  margin: 0 auto;
}

.cta__logo {
  display: flex;
  justify-content: center;
  line-height: 0;
}

.cta-logo {
  width: auto;
  max-width: min(280px, 86vw);
  height: auto;
  display: block;
}

.cta__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
  width: 100%;
}

.cta__title {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 700;
  color: var(--color-white);
  text-align: center;
  margin: 0;
  line-height: 1.22;
  max-width: 22em;
  letter-spacing: 0.01em;
}

/* Reviews Section */
.reviews {
  padding: 100px 0;
  background-color: var(--color-dark);
}

.reviews__carousel {
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}

.reviews__track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  will-change: transform;
}

/* Width is set in JS from .reviews__carousel width so N cards + gaps fit exactly (no partial next card). */
.reviews__track .review-card {
  flex: 0 0 auto;
  min-width: 0;
  flex-shrink: 0;
  box-sizing: border-box;
}

.review-card {
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}

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

.review-card__img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s;
}

.review-card:hover .review-card__img {
  opacity: 0.9;
}

.reviews__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background-color: var(--color-grey);
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: var(--color-primary);
}

/* Image Modal */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.image-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
}

.image-modal__content {
  position: relative;
  z-index: 10001;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal__img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
}

.image-modal__close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 50px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
  z-index: 10002;
}

.image-modal__close:hover {
  transform: scale(1.2);
}

.image-modal__prev,
.image-modal__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-primary);
  border: none;
  color: var(--color-darker);
  font-size: 40px;
  font-weight: 700;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10002;
}

.image-modal__prev {
  left: -80px;
}

.image-modal__next {
  right: -80px;
}

.image-modal__prev:hover,
.image-modal__next:hover {
  transform: translateY(-50%) scale(1.1);
  background-color: var(--color-white);
}

@media (max-width: 1200px) {
  .image-modal__prev {
    left: 10px;
  }
  
  .image-modal__next {
    right: 10px;
  }
}

@media (max-width: 768px) {
  .image-modal__prev,
  .image-modal__next {
    width: 50px;
    height: 50px;
    font-size: 30px;
  }
  
  .image-modal__prev {
    left: 5px;
  }
  
  .image-modal__next {
    right: 5px;
  }
}

/* Partners Section */
.partners {
  padding: 100px 0;
  background-color: var(--color-dark);
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: center;
}

.partner-logo {
  width: 100%;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background-color: var(--color-dark);
}

.faq__list {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-grey);
  border-radius: 20px;
  margin-bottom: 20px;
  overflow: hidden;
}

.faq-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 40px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.faq-item__header:hover {
  background-color: #404040;
}

.faq-item__question {
  font-size: 31px;
  font-weight: 700;
  color: var(--color-primary);
  flex: 1;
}

.faq-item__icon {
  font-size: 71px;
  font-weight: 700;
  color: var(--color-primary);
  width: 43px;
  text-align: center;
  transition: transform 0.3s;
}

.faq-item.active .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-item__content {
  max-height: 500px;
}

.faq-item__answer {
  padding: 0 40px 30px;
  font-size: 17px;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.6;
}

/* Footer */
#contacts {
  scroll-margin-top: 120px;
}

.footer {
  padding: 80px 0 40px;
  background-color: var(--color-darker);
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.footer__manager {
  display: flex;
  align-items: center;
  gap: 30px;
}

.manager-photo {
  width: 184px;
  height: 184px;
  border-radius: 50%;
  flex-shrink: 0;
}

.manager-info {
  display: flex;
  flex-direction: column;
}

.manager-title {
  font-size: 27px;
  font-weight: 400;
  color: var(--color-light-grey);
  margin-bottom: 15px;
}

.manager-name {
  font-size: 31px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}

.footer__contacts {
  text-align: right;
}

.footer__title {
  font-size: 31px;
  font-weight: 700;
  color: var(--color-light-grey);
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

.contact-link {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-link:hover {
  color: var(--color-white);
}

.footer__privacy {
  font-size: 17px;
  font-weight: 400;
  color: var(--color-light-grey);
  margin-top: 30px;
}

.footer__privacy a {
  color: inherit;
  text-decoration: underline;
}

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

/* Responsive */
@media (max-width: 1728px) {
  .container {
    padding: 0 80px;
  }
}

@media (max-width: 1400px) {
  .container {
    padding: 0 60px;
  }
  
  .hero__title {
    font-size: 40px;
  }
  
  .section-title {
    font-size: 40px;
  }
}

@media (max-width: 1200px) {
  .container {
    padding: 0 40px;
  }
  
  .benefits__top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .benefits__image-left {
    max-width: 327px;
    margin: 0 auto;
  }
  
  .benefits .statistics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .trust__cards {
    grid-template-columns: 1fr;
  }
  
  .clients__track {
    grid-template-columns: 1fr;
  }
  
  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .partners__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  
  /* Header */
  .header {
    padding: 15px 0;
  }
  
  .header__content {
    grid-template-columns: auto 1fr auto;
    gap: 15px;
  }
  
  .header__logo .logo {
    width: 72px;
    height: auto;
  }
  
  .header__nav {
    display: none;
  }
  
  .header__menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
    z-index: 10001;
  }
  
  .header__btn {
    padding: 10px 14px;
    font-size: 11px;
    white-space: nowrap;
  }
  
  /* Hero */
  .hero {
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 60px;
  }
  
  .hero__content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero__title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  .hero__subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .hero__buttons {
    gap: 18px;
  }

  .hero--machines .btn--machines-hero, .hero--coffee .btn--machines-hero {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  
  .hero__cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px 0;
  }
  
  .hero__cta-note {
    max-width: none;
    font-size: 14px;
  }
  
  .btn--large {
    padding: 18px 20px;
    font-size: 16px;
  }
  
  .btn-icon {
    width: 20px;
    height: 20px;
  }
  
  /* Benefits */
  .benefits {
    padding: 60px 0;
  }
  
  .benefits__content {
    gap: 48px;
  }
  
  .benefits__top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .benefits__image-left {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .benefits__heading {
    font-size: 22px;
    margin-bottom: 20px;
  }
  
  .benefits-list {
    margin-bottom: 24px;
  }
  
  .benefits .statistics {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .benefits .stat-number {
    font-size: 44px;
  }
  
  .benefits .stat-text {
    font-size: 15px;
    max-width: none;
  }
  
  /* Trust */
  .trust {
    padding: 60px 0;
  }
  
  .trust .section-title {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .trust__subtitle {
    font-size: 17px;
    font-weight: 500;
    text-align: left;
    margin-bottom: 36px;
    color: var(--color-primary);
  }
  
  .trust__cards {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .trust-card {
    padding: 36px 24px 32px;
    border-radius: 32px;
  }
  
  .trust-card__icon {
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
  }

  .trust-card__icon img,
  .trust-card__icon svg {
    width: 40px;
    height: 40px;
  }
  
  .trust-card__title {
    font-size: 22px;
    margin-bottom: 15px;
  }
  
  .trust-card__text {
    font-size: 16px;
  }
  
  /* Clients */
  .clients {
    padding: 40px 0;
  }
  
  .clients__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .clients__header .section-title {
    font-size: 24px;
    text-align: left;
  }
  
  .clients__arrows {
    position: static;
    transform: none;
    align-self: flex-start;
    margin-top: 10px;
  }
  
  .arrow-btn {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }
  
  .clients__carousel {
    overflow: visible;
  }
  
  .clients__track {
    gap: 20px;
  }
  
  .clients__track .client-card {
    flex: 0 0 calc(100% - 0px);
    min-width: calc(100% - 0px);
  }
  
  .clients__carousel {
    overflow: hidden;
    margin: 0 -10px;
    padding: 0 10px;
  }
  
  .client-card {
    min-height: 400px;
    height: auto;
    border-radius: 32px;
  }

  .client-card::after {
    border-radius: 32px;
  }
  
  .client-card__content {
    min-height: 400px;
    padding: 32px 20px 24px;
  }
  
  .client-card__title {
    font-size: 24px;
    margin-bottom: 12px;
  }
  
  .client-card__text {
    font-size: 15px;
    max-width: 100%;
  }
  
  .client-card__action {
    padding-top: 4px;
  }
  
  .client-card__btn {
    font-size: 15px;
    padding: 12px 32px;
  }
  
  /* CTA */
  .cta {
    padding: 64px 0 72px;
  }
  
  .cta__content {
    gap: 28px;
  }
  
  .cta-logo {
    max-width: min(220px, 78vw);
  }
  
  .cta__text {
    gap: 22px;
  }
  
  .cta__title {
    font-size: clamp(22px, 5vw, 28px);
    max-width: 19em;
  }
  
  /* Reviews */
  .reviews {
    padding: 60px 0;
  }
  
  /* Partners */
  .partners {
    padding: 60px 0;
  }
  
  .partners__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .partner-logo {
    max-width: 100%;
  }
  
  /* FAQ */
  .faq {
    padding: 60px 0;
  }
  
  .faq-item__question {
    font-size: 18px;
    padding-right: 40px;
  }
  
  .faq-item__answer {
    font-size: 16px;
  }
  
  /* Footer */
  .footer {
    padding: 60px 0 30px;
  }
  
  .footer__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer__manager {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .manager-photo {
    width: 150px;
    height: 150px;
  }
  
  .manager-title {
    font-size: 20px;
  }
  
  .manager-name {
    font-size: 24px;
  }
  
  .footer__contacts {
    text-align: center;
  }
  
  .contact-item {
    justify-content: center;
  }
  
  .footer__title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .contact-link {
    font-size: 18px;
  }
}

/* Machines Catalog Section */
.machines {
  padding: 100px 0;
  background-color: var(--color-dark);
}

.machines__title {
  text-align: left;
  margin-bottom: 60px;
}

.machines__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
  align-items: stretch;
}

.machine-card {
  background-color: transparent;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.machine-card__content {
  display: grid;
  grid-template-columns: 291px 1fr;
  grid-template-rows: 1fr;
  gap: 0;
  align-items: stretch;
  border-radius: 20px;
  overflow: hidden;
  flex: 1 1 auto;
  min-height: 100%;
}

.machine-card__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: var(--color-darker);
  padding: 30px;
  border-radius: 20px 0 0 20px;
  min-height: 100%;
}

.machine-card__title {
  font-size: 27px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: left;
  line-height: 1.3;
  margin: 0 0 20px 0;
  text-transform: uppercase;
}

.machine-card__image {
  width: 100%;
    height: 35%;
/*     overflow: hidden; */
    border-radius: 1000px;
    background-color: #f5c543;
    display: flex;
    align-items: center;
    justify-content: center;
}

.machine-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.machine-card__features {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--color-white);
}

.feature-icon {
  width: 53px;
  height: 52px;
  min-width: 53px;
  min-height: 52px;
  flex-shrink: 0;
  background-color: var(--color-primary);
  border-radius: 50%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0);
}

.machine-card__right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  background-color: var(--color-grey);
  padding: 30px;
  border-radius: 0 20px 20px 0;
}

.machine-card__description {
  flex: 1;
}

.machine-card__description h4 {
  font-size: 27px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 15px;
  text-align: left;
  text-transform: uppercase;
}

.machine-card__description p {
  font-size: 19px;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.5;
  text-align: left;
}

.machine-card__button-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
}

/* Benefits Grid (for page 2) */
.benefits--with-bg {
  position: relative;
  overflow: hidden;
}

.benefits__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.benefits__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px);
  opacity: 0.3;
}

.benefits--with-bg .container {
  position: relative;
  z-index: 1;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
  align-items: stretch;
}

.benefit-card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  box-sizing: border-box;
  min-height: 100%;
  padding: 36px 20px 40px;
  background-color: #2b2b2b;
  border-radius: 32px;
}

.benefit-card__circle {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-card__icon {
  width: 44px;
  height: 44px;
  margin: 0;
}

.benefit-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0);
}

.benefit-card__title {
  margin: 0;
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.45;
  text-transform: none;
}

/* No Problems Section */
.no-problems {
  padding: 100px 0;
  background-color: var(--color-dark);
}

.no-problems__content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.no-problems__title-wrapper {
  display: flex;
  align-items: flex-start;
}

.no-problems__title {
  font-size: 60px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  text-transform: uppercase;
  margin: 0;
}

.no-problems__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.problem-item {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.problem-number {
  font-size: 127px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  flex-shrink: 0;
}

.problem-content {
  flex: 1;
}

.problem-title {
  font-size: 25px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 15px;
  line-height: 1.3;
}

.problem-text {
  font-size: 19px;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.5;
}

/* Responsive for page 2 */
@media (max-width: 1200px) {
  .machines {
    padding: 60px 0;
  }
  
  .machines__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: stretch;
  }
  
  .machine-card__content {
    grid-template-columns: 250px 1fr;
  }
  
  .machine-card__image {
    height: 250px;
  }
  
  .benefits--with-bg {
    padding: 60px 0;
  }
  
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .benefit-card {
    padding: 28px 18px 32px;
    gap: 18px;
  }
  
  .benefit-card__circle {
    width: 72px;
    height: 72px;
  }
  
  .benefit-card__icon {
    width: 40px;
    height: 40px;
  }
  
  .benefit-card__title {
    font-size: 16px;
  }
  
  .no-problems {
    padding: 60px 0;
  }
  
  .no-problems__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .no-problems__title {
    font-size: 45px;
  }
  
  .no-problems__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .machines {
    padding: 40px 0;
  }
  
  .machines__title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  
  .machines__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
  }
  
  .machine-card__content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  
  .machine-card__left {
    border-radius: 20px 20px 0 0;
    padding: 20px;
  }
  
  .machine-card__right {
    border-radius: 0 0 20px 20px;
    padding: 20px;
  }
  
  .machine-card__title {
    font-size: 22px;
    text-align: center;
    margin-bottom: 15px;
  }
  
  .machine-card__image {
    height: 250px;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .machine-img {
    max-width: 100%;
    height: auto;
  }
  
  .machine-card__features {
    gap: 12px;
  }
  
  .feature-item {
    gap: 10px;
    font-size: 14px;
  }
  
  .feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }
  
  .machine-card__description h4 {
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
  }
  
  .machine-card__description p {
    font-size: 16px;
    text-align: center;
  }
  
  .machine-card__button-wrapper {
    justify-content: center;
  }
  
  .benefits--with-bg {
    padding: 40px 0;
  }
  
  .benefits__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  
  .benefit-card {
    padding: 28px 20px 32px;
  }
  
  .benefit-card__circle {
    width: 72px;
    height: 72px;
  }
  
  .benefit-card__icon {
    width: 40px;
    height: 40px;
  }
  
  .benefit-card__title {
    font-size: 15px;
  }
  
  .no-problems {
    padding: 40px 0;
  }
  
  .no-problems__content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .no-problems__title {
    font-size: 28px;
  }
  
  .no-problems__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .problem-item {
    flex-direction: column;
    gap: 15px;
  }
  
  .problem-number {
    font-size: 60px;
  }
  
  .problem-title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .problem-text {
    font-size: 16px;
  }
}

/* Problem Section (coffee page — «качество зерна…») */
.problem {
  padding: 80px 0 100px;
  background-color: var(--color-dark);
}

.problem__header {
  max-width: 920px;
  margin-bottom: 48px;
}

.problem__title {
  font-size: clamp(1.5rem, 2.5vw + 1rem, 2.75rem);
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 16px;
  line-height: 1.2;
  text-transform: none;
}

.problem__subtitle {
  font-size: clamp(1.05rem, 1vw + 0.75rem, 1.375rem);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.35;
}

.problem__solutions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 32px;
  align-items: stretch;
}

.solution-card {
  background: transparent;
  border-radius: 0;
  padding: 0 8px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  height: 100%;
}

.solution-card__icon {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.solution-card__icon svg {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}

.solution-card__icon-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.solution-text {
  font-size: 17px;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.45;
  margin: 0;
  flex-grow: 1;
}

/* Coffee Catalog Section */
.coffee-catalog {
  padding: 100px 0;
  background-color: var(--color-dark);
}

.coffee-catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.coffee-card {
  background-color: var(--color-grey);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.coffee-card__image {
  width: 100%;
  height: 218px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-grey);
  border-radius: 20px;
}

.coffee-img {
  width: 218px;
  height: 218px;
  object-fit: contain;
}

.coffee-card__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
}

.coffee-card__description {
  font-size: 17px;
  font-weight: 400;
  color: var(--color-white);
}

/* Responsive for page 3 */
@media (max-width: 1200px) {
  .problem {
    padding: 56px 0 72px;
  }

  .problem__header {
    margin-bottom: 40px;
  }

  .problem__solutions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .solution-card__icon {
    width: 76px;
    height: 76px;
  }

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

  .coffee-catalog {
    padding: 60px 0;
  }
  
  .coffee-catalog__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .problem {
    padding: 40px 0 56px;
  }

  .problem__header {
    margin-bottom: 32px;
  }

  .problem__solutions {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .solution-card {
    gap: 16px;
    padding: 0;
  }

  .solution-card__icon {
    width: 72px;
    height: 72px;
  }

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

  .coffee-catalog {
    padding: 40px 0;
  }
  
  .coffee-catalog__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
  }
  
  .coffee-card {
    padding: 15px;
    gap: 12px;
  }
  
  .coffee-card__image {
    height: 150px;
  }
  
  .coffee-img {
    width: 120px;
    height: 120px;
  }
  
  .coffee-card__name {
    font-size: 14px;
  }
  
  .coffee-card__description {
    font-size: 12px;
  }
  
  .btn {
    padding: 8px 15px;
    font-size: 14px;
  }
}

/* Callback modal (Contact Form 7) */
.callback-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10005;
  align-items: center;
  justify-content: center;
}

.callback-modal.active {
  display: flex;
}

.callback-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.callback-modal__dialog {
  position: relative;
  z-index: 10006;
  width: 92%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  margin: auto 16px;
  padding: 36px 28px 32px;
  background-color: #262626;
  border-radius: 20px;
  border: 1px solid rgba(255, 216, 91, 0.25);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.callback-modal__brand {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 40px 16px;
  min-height: 48px;
}

.callback-modal__logo {
  max-height: 52px;
  width: auto;
  max-width: min(180px, 75%);
  height: auto;
  object-fit: contain;
  display: block;
}

.callback-modal__title {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
}

.callback-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  padding: 6px;
  transition: color 0.2s, transform 0.2s;
  z-index: 1;
}

.callback-modal__close:hover {
  color: var(--color-primary);
  transform: scale(1.08);
}

.callback-modal__body {
  color: var(--color-white);
}

.callback-modal__body .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.callback-modal__body .wpcf7-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.callback-modal__body .wpcf7-form-control-wrap {
  display: block;
}

.callback-modal__body input[type="tel"],
.callback-modal__body input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #1a1a1a;
  color: var(--color-white);
  font-family: var(--font-family);
  font-size: 16px;
}

.callback-modal__body input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.callback-modal__body .wpcf7-submit {
  width: 100%;
  margin-top: 8px;
  padding: 14px 24px;
  border: none;
  border-radius: 100px;
  background: var(--color-primary);
  color: #121212;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.callback-modal__body .wpcf7-submit:hover {
  opacity: 0.92;
}

.callback-modal__body .wpcf7-response-output {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
}

.callback-modal__body .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
  color: #ff8a8a;
}

.machine-rent-modal__model {
  margin: -8px 0 18px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.35;
  min-height: 1.35em;
}

.machine-rent-modal__model:empty {
  display: none;
}

.coffee-order-modal.callback-modal {
  z-index: 10120;
}

.coffee-order-modal__product {
  margin: -8px 0 18px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.35;
  min-height: 1.35em;
}

.coffee-order-modal__product:empty {
  display: none;
}

.coffee-modal__order {
  margin-top: 28px;
  padding-top: 8px;
}

.coffee-modal__order .btn {
  min-width: 200px;
}

.coffee-hero-cta-modal.callback-modal {
  z-index: 10140;
}

.coffee-hero-cta-modal__label {
  margin: -8px 0 18px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.35;
  min-height: 1.35em;
}

.coffee-hero-cta-modal__label:empty {
  display: none;
}

.machines-hero-cta-modal.callback-modal {
  z-index: 10160;
}

.machines-hero-cta-modal__label {
  margin: -8px 0 18px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.35;
  min-height: 1.35em;
}

.machines-hero-cta-modal__label:empty {
  display: none;
}

.cta-quote-modal.callback-modal {
  z-index: 10180;
}

.cta-quote-modal__context {
  margin: -8px 0 18px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
  min-height: 1.35em;
}

.cta-quote-modal__context:empty {
  display: none;
}

/* Coffee Modal */
.coffee-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.coffee-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.coffee-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.coffee-modal__content {
  position: relative;
  z-index: 10001;
  background-color: #E5E5E5;
  border-radius: 20px;
  padding: 40px;
  max-width: 1200px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  margin: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.coffee-modal__back {
  position: absolute;
  top: 20px;
  left: 20px;
  background: none;
  border: none;
  color: var(--color-dark);
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  padding: 10px;
  transition: color 0.3s;
  z-index: 10002;
}

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

.coffee-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--color-dark);
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, color 0.3s;
  z-index: 10002;
  line-height: 1;
}

.coffee-modal__close:hover {
  transform: scale(1.2);
  color: var(--color-primary);
}

.coffee-modal__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 40px;
}

.coffee-modal__image {
  text-align: center;
}

.coffee-modal__image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.coffee-modal__info {
  color: var(--color-dark);
}

.coffee-modal__title {
  font-size: 42px;
  font-weight: 700;
  color: var(--color-darker);
  margin-bottom: 30px;
  line-height: 1.2;
  text-transform: uppercase;
}

.coffee-modal__characteristics {
  margin-bottom: 30px;
}

.coffee-modal__characteristics h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 20px;
}

.characteristic-item {
  display: flex;
  margin-bottom: 15px;
  font-size: 18px;
  line-height: 1.5;
}

.characteristic-label {
  font-weight: 400;
  color: var(--color-dark);
  margin-right: 10px;
  min-width: 200px;
}

.characteristic-value {
  font-weight: 700;
  color: var(--color-dark);
}

.coffee-modal__description {
  margin-top: 30px;
}

.coffee-modal__description p {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-dark);
  line-height: 1.6;
}

/* Responsive for Coffee Modal */
@media (max-width: 1200px) {
  .coffee-modal__body {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .coffee-modal__content {
    padding: 30px;
  }
  
  .coffee-modal__title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .coffee-modal__content {
    padding: 20px;
    margin: 10px;
  }
  
  .coffee-modal__title {
    font-size: 28px;
  }
  
  .coffee-modal__characteristics h3 {
    font-size: 20px;
  }
  
  .characteristic-item {
    flex-direction: column;
    font-size: 16px;
  }
  
  .characteristic-label {
    min-width: auto;
    margin-bottom: 5px;
  }
  
  .coffee-modal__description p {
    font-size: 16px;
  }
  
  .coffee-modal__back {
    font-size: 16px;
    top: 10px;
    left: 10px;
  }
  
  .coffee-modal__close {
    top: 10px;
    right: 10px;
    font-size: 30px;
  }
  
  /* Additional mobile styles */
  .section-title {
    font-size: 24px;
  }
  
  .hero__buttons {
    width: 100%;
  }
  
  .btn--large {
    width: 100%;
    justify-content: center;
  }
  
  .btn--hero-secondary {
    width: 100%;
  }
  
  .arrow-btn {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  
  .clients__carousel {
    overflow: hidden;
  }
  
  .reviews__carousel {
    overflow: hidden;
  }
  
  .partners__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .cta__logo {
    margin: 0 auto;
  }
  
  .cta__text {
    text-align: center;
  }
  
  /* Mobile Menu Styles */
  .mobile-menu.active {
    display: block;
  }
  
  .mobile-menu__nav .nav-link {
    font-size: 20px;
    padding: 15px 0;
    border-bottom: 1px solid var(--color-grey);
    display: block;
  }
  
  .mobile-menu__nav .nav-link:last-child {
    border-bottom: none;
  }
}
