/* ================================
   GLOBAL & VARIABLES
   ================================ */

:root {
  --primary: #1e7e5d;
  --primary-light: #2ecc71;
  --secondary: #34495e;
  --accent: #3fce87;
  --accent-light: #e8f7f3;
  --dark: #0f1419;
  --light: #f5f9f8;
  --white: #ffffff;
  --text-dark: #0f1419;
  --text-light: #6b7280;
  --shadow: 0 20px 60px rgba(30, 126, 93, 0.12);
  --shadow-sm: 0 8px 24px rgba(30, 126, 93, 0.08);
  --shadow-lg: 0 30px 80px rgba(30, 126, 93, 0.15);
  --transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-slow: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--text-dark);
  background: linear-gradient(135deg, #f5f9f8 0%, #eef5f1 100%);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* ================================
   ANIMATIONS
   ================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes glow {
  from {
    box-shadow: 0 0 0 0 rgba(30, 126, 93, 0.7);
  }
  to {
    box-shadow: 0 0 0 15px rgba(30, 126, 93, 0);
  }
}

@keyframes liquidShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-1000px);
  }
  100% {
    transform: translateX(1000px);
  }
}

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

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

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 60px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeIn 0.8s ease-out;
  letter-spacing: -1px;
}

.btn {
  padding: 14px 35px;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.5s ease-out;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(30, 126, 93, 0.3);
}

.btn--primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(30, 126, 93, 0.4);
}

.btn--primary:active {
  transform: translateY(-1px);
}

/* ================================
   HEADER & NAVIGATION
   ================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(30, 126, 93, 0.08);
  padding: 15px 0;
  animation: slideInDown 0.6s ease-out;
  box-shadow: 0 8px 32px rgba(30, 126, 93, 0.06);
}

.header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: var(--transition);
  flex-shrink: 0;
}

.header__logo:hover {
  transform: scale(1.05);
}

.header__logo i {
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header__nav {
  display: flex;
  gap: 30px;
  flex: 1;
  justify-content: center;
}

.header__link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

.header__link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: var(--transition);
}

.header__link:hover::after {
  width: 100%;
}

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

.header__lang {
  display: flex;
  gap: 8px;
  align-items: center;
}

.header__lang-btn {
  padding: 6px 12px;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
}

.header__lang-btn.active {
  background: var(--primary);
  color: var(--white);
}

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

.header__btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.header__btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.header__menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
  font-size: 1.5rem;
  padding: 8px;
  transition: var(--transition);
  flex-shrink: 0;
}

.header__menu-btn:hover {
  color: var(--accent);
}

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

@media (max-width: 1024px) {
  .header__nav {
    gap: 18px;
  }

  .header__link {
    font-size: 0.9rem;
  }
}

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

  /* Скрываем lang в хедере — он переезжает в мобильное меню */
  .header__lang {
    display: none;
  }

  .header__menu-btn {
    display: block;
  }

  .header__btn {
    font-size: 0.9rem;
    padding: 9px 16px;
  }
}

@media (max-width: 480px) {
  .header__logo span {
    font-size: 1rem;
    line-height: 1.3;
  }

  .header__btn {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}

@media (max-width: 380px) {
  .header__btn span {
    display: none;
  }

  .header__btn {
    padding: 9px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    justify-content: center;
  }

  .header__btn i {
    margin: 0;
  }
}

/* ================================
   MOBILE MENU MODAL
   ================================ */

.mobile-menu-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.mobile-menu-modal.active {
  display: flex;
  opacity: 1;
}

.mobile-menu-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease-out;
}

.mobile-menu-modal__content {
  position: absolute;
  right: 0;
  top: 0;
  height: 100vh;
  width: 80%;
  max-width: 300px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  animation: slideInRight 0.4s ease-out;
  z-index: 2000;
}

.mobile-menu-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
  font-size: 1.8rem;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-menu-modal__close:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 77px;
  flex: 1;
  border-top: 3px solid rgba(30, 126, 93, 0.12);
}

/* ================================
   MOBILE LANG — FIX
   Блок выбора языка внутри мобильного меню
   ================================ */

.mobile-menu__lang {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 16px 25px;
  border-top: 3px solid var(--light);
  margin-top: auto;
}

.mobile-menu__lang .header__lang-btn {
  padding: 9px 16px;
  font-size: 0.9rem;
  min-width: 48px;
  min-height: 40px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.mobile-menu__link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  padding: 18px 25px;
  border-bottom: 3px solid rgba(30, 126, 93, 0.12);
  transition: var(--transition);
  font-size: 1.1rem;
  display: block;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.mobile-menu__link:hover,
.mobile-menu__link:active {
  background: var(--accent-light);
  color: var(--primary);
  padding-left: 32px;
}

.mobile-menu__link:last-child {
  border-bottom: none;
}

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

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: linear-gradient(
    135deg,
    rgba(45, 106, 79, 0.05) 0%,
    rgba(107, 114, 128, 0.05) 100%
  );
}

.hero__slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.slider__container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slider__slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.slider__btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow);
  color: var(--accent);
}

.slider__btn--prev {
  left: 30px;
}

.slider__btn--next {
  right: 30px;
}

.slider__dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.slider__dot.active {
  background: var(--white);
  transform: scale(1.3);
}

.hero__content {
  position: relative;
  z-index: 5;
  text-align: center;
  color: var(--white);
  animation: fadeIn 1s ease-out 0.3s backwards;
  padding: 0 20px;
}

.hero__title {
  font-family: "Playfair Display", serif;
  font-size: 4.5rem;
  margin-bottom: 15px;
  font-weight: 700;
  text-shadow: 2px 8px 16px rgba(0, 0, 0, 0.15);
  letter-spacing: -2px;
  line-height: 1.1;
}

.hero__subtitle {
  font-size: 1.8rem;
  margin-bottom: 50px;
  font-weight: 300;
  text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
  .hero__title {
    font-size: 3.5rem;
  }

  .hero__subtitle {
    font-size: 1.5rem;
  }

  .slider__btn--prev {
    left: 15px;
  }

  .slider__btn--next {
    right: 15px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 75vh;
    padding-top: 65px;
  }

  .hero__title {
    font-size: 2.5rem;
    letter-spacing: -1px;
  }

  .hero__subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }

  .slider__btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .slider__btn--prev {
    left: 10px;
  }

  .slider__btn--next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 60vh;
    padding-top: 60px;
  }

  .hero__title {
    font-size: 1.9rem;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
  }

  .hero__subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .slider__btn {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .slider__dots {
    bottom: 15px;
    gap: 8px;
  }

  .slider__dot {
    width: 9px;
    height: 9px;
  }
}

@media (max-width: 360px) {
  .hero__title {
    font-size: 1.5rem;
  }

  .hero__subtitle {
    font-size: 0.9rem;
  }
}

/* ================================
   MENU/SERVICES SECTION
   ================================ */

.menu {
  padding: 120px 0;
  background: linear-gradient(
    135deg,
    var(--light) 0%,
    var(--accent-light) 100%
  );
  position: relative;
  overflow: hidden;
}

.menu::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(62, 206, 135, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(30px);
  border: 2px solid rgba(30, 126, 93, 0.08);
  border-radius: 25px;
  overflow: hidden;
  transition: var(--transition-slow);
  animation: fadeIn 0.8s ease-out backwards;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;
}
.service-card:nth-child(2) {
  animation-delay: 0.2s;
}
.service-card:nth-child(3) {
  animation-delay: 0.3s;
}
.service-card:nth-child(4) {
  animation-delay: 0.4s;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 126, 93, 0.05),
    rgba(62, 206, 135, 0.03)
  );
  z-index: 1;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-20px);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--primary);
}

.service-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
  display: block;
}

.service-card:hover .service-card__image {
  transform: scale(1.1);
}

.service-card__content {
  padding: 30px;
  position: relative;
  z-index: 2;
}

.service-card__title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-card__description {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.service-card__price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
}

.service-card__btn {
  width: 100%;
  text-align: center;
}

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

@media (max-width: 768px) {
  .menu {
    padding: 70px 0;
  }

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

  .section-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
  }

  .service-card:hover {
    transform: translateY(-8px);
  }
}

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

  .service-card__content {
    padding: 22px;
  }

  .service-card__title {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .menu {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
}

/* ================================
   REVIEWS SECTION
   ================================ */

.reviews {
  padding: 120px 0;
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.03) 0%,
    rgba(236, 72, 153, 0.03) 100%
  );
  position: relative;
  overflow: hidden;
}

.reviews::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(62, 206, 135, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.reviews__slider {
  position: relative;
  z-index: 1;
}

.reviews__track {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.review-card {
  flex: 0 0 calc(33.33% - 20px);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(30px);
  border: 2px solid rgba(30, 126, 93, 0.06);
  border-radius: 25px;
  padding: 45px 35px;
  transition: var(--transition);
  animation: slideInUp 0.8s ease-out backwards;
  box-shadow: var(--shadow-sm);
}

.review-card:nth-child(1) {
  animation-delay: 0.1s;
}
.review-card:nth-child(2) {
  animation-delay: 0.2s;
}
.review-card:nth-child(3) {
  animation-delay: 0.3s;
}

.review-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--primary);
}

.review-card__stars {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.review-card__text {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.7;
  font-style: italic;
}

.review-card__author {
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
}

@media (max-width: 1024px) {
  .review-card {
    flex: 0 0 calc(50% - 15px);
    padding: 35px 28px;
  }
}

@media (max-width: 768px) {
  .reviews {
    padding: 70px 0;
  }

  .reviews__track {
    gap: 20px;
  }

  .review-card {
    flex: 0 0 calc(50% - 10px);
    padding: 28px 22px;
  }

  .review-card:hover {
    transform: translateY(-8px);
  }

  .review-card__stars {
    font-size: 1.1rem;
  }

  .review-card__text {
    font-size: 0.93rem;
  }

  .review-card__author {
    font-size: 1rem;
  }
}

@media (max-width: 540px) {
  .reviews__track {
    gap: 16px;
  }

  .review-card {
    flex: 0 0 100%;
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  .reviews {
    padding: 50px 0;
  }
}

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

.contact {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    var(--light) 0%,
    rgba(124, 58, 237, 0.05) 100%
  );
}

.contact__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

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

.contact__item {
  display: flex;
  gap: 20px;
  animation: slideInLeft 0.8s ease-out backwards;
}

.contact__item:nth-child(1) {
  animation-delay: 0.1s;
}
.contact__item:nth-child(2) {
  animation-delay: 0.2s;
}
.contact__item:nth-child(3) {
  animation-delay: 0.3s;
}

.contact__item i {
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 5px;
  flex-shrink: 0;
}

.contact__item div {
  flex: 1;
}

.contact__label {
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
}

.contact__item a,
.contact__item p {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

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

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideInRight 0.8s ease-out backwards;
}

.contact__form input,
.contact__form textarea {
  padding: 16px 20px;
  border: 2px solid rgba(30, 126, 93, 0.15);
  border-radius: 12px;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  width: 100%;
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(30, 126, 93, 0.2);
  background: rgba(255, 255, 255, 0.98);
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: var(--text-light);
}

@media (max-width: 768px) {
  .contact {
    padding: 70px 0;
  }

  .contact__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .contact {
    padding: 50px 0;
  }

  .contact__item {
    gap: 15px;
  }

  .contact__item i {
    font-size: 1.5rem;
  }

  .contact__form input,
  .contact__form textarea {
    font-size: 16px;
  }
}

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

.footer {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    #1a6b4e 50%,
    var(--primary-light) 100%
  );
  color: var(--white);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 20% 50%,
    rgba(62, 206, 135, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.footer__section h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin-bottom: 15px;
  position: relative;
}

.footer__section h3::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--secondary);
  margin-top: 10px;
}

.footer__section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer__section ul {
  list-style: none;
}

.footer__section ul li {
  margin-bottom: 10px;
}

.footer__section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.footer__section ul li a:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

.social {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.social__link:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-5px);
  text-decoration: none;
}

.footer__bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 1;
}

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

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

  .footer__section h3 {
    font-size: 1.15rem;
  }
}

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

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

/* ================================
   MODAL
   ================================ */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  overflow-y: auto;
  padding: 20px;
}

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

.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-out;
}

.modal__content {
  position: relative;
  z-index: 2001;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(30, 126, 93, 0.1);
  border-radius: 30px;
  padding: 60px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.2);
  animation: slideInUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
  transition: var(--transition);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2002;
}

.modal__close:hover {
  transform: rotate(90deg) scale(1.2);
  color: var(--accent);
}

.modal__title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 30px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.modal__form input,
.modal__form textarea {
  padding: 16px 20px;
  border: 2px solid rgba(30, 126, 93, 0.15);
  border-radius: 12px;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.9);
  width: 100%;
}

.modal__form input:focus,
.modal__form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(30, 126, 93, 0.2);
  background: rgba(255, 255, 255, 0.98);
}

.modal__form input::placeholder,
.modal__form textarea::placeholder {
  color: var(--text-light);
}

@media (max-width: 768px) {
  .modal__content {
    padding: 45px 30px;
    border-radius: 22px;
  }

  .modal__title {
    font-size: 1.6rem;
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .modal {
    padding: 15px;
    align-items: flex-end;
  }

  .modal__content {
    padding: 35px 20px 30px;
    border-radius: 20px;
    max-height: 95vh;
    margin-bottom: 10px;
  }

  .modal__title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-right: 40px;
  }

  .modal__form input,
  .modal__form textarea {
    font-size: 16px;
    padding: 14px 16px;
  }
}

/* ================================
   RTL SUPPORT (Hebrew)
   ================================ */

html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .header__nav {
  flex-direction: row-reverse;
}

html[dir="rtl"] .header__controls {
  flex-direction: row-reverse;
}

html[dir="rtl"] .header__logo {
  flex-direction: row-reverse;
}

html[dir="rtl"] .contact__content {
  grid-template-columns: 1fr 1fr;
}

html[dir="rtl"] .contact__form {
  animation-name: slideInLeft;
}

html[dir="rtl"] .contact__info {
  animation-name: slideInRight;
}

html[dir="rtl"] .slider__btn--prev {
  right: 30px;
  left: auto;
  transform: translateY(-50%) scaleX(-1);
}

html[dir="rtl"] .slider__btn--next {
  left: 30px;
  right: auto;
  transform: translateY(-50%) scaleX(-1);
}

html[dir="rtl"] .slider__btn--prev:hover {
  transform: translateY(-50%) scaleX(-1) scale(1.1);
}

html[dir="rtl"] .slider__btn--next:hover {
  transform: translateY(-50%) scaleX(-1) scale(1.1);
}

html[dir="rtl"] .slider__track {
  direction: ltr;
}

html[dir="rtl"] .slider__slide {
  direction: ltr;
}

html[dir="rtl"] .mobile-menu-modal__content {
  right: auto;
  left: 0;
  animation-name: slideInLeft;
}

html[dir="rtl"] .mobile-menu__link:hover {
  padding-left: 25px;
  padding-right: 32px;
}

html[dir="rtl"] .footer__section ul li a:hover {
  transform: translateX(-5px);
}

/* RTL: lang блок в мобильном меню */
html[dir="rtl"] .mobile-menu__lang {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  html[dir="rtl"] .contact__content {
    grid-template-columns: 1fr;
  }

  html[dir="rtl"] .slider__btn--prev {
    right: 10px;
    left: auto;
  }

  html[dir="rtl"] .slider__btn--next {
    left: 10px;
    right: auto;
  }
}
