/* Общие стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #1a1a1a;
  --color-secondary: #2a2a2a;
  --color-accent: #c9a961;
  --color-text: #ffffff;
  --color-text-muted: #b8b8b8;
  --color-bg: #000000;
  --color-card-bg: #1a1a1a;
  --gradient-primary: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  --gradient-accent: linear-gradient(135deg, #c9a961 0%, #d4b57a 100%);
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Убираем стандартные синие ссылки */
a {
  color: inherit;
  text-decoration: none;
}

a:visited {
  color: inherit;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Новый Header */
.header {
  position: relative;
  background: transparent;
  z-index: 100;
}

.header-top {
  padding: 25px 0;
  display: flex;
  justify-content: center;
  animation: logoFadeIn 0.8s ease backwards;
}

.header-bottom {
  padding: 15px 0;
  border-top: 1px solid rgba(201, 169, 97, 0.15);
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
}

.logo {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.logo-img {
  height: 120px;
  width: auto;
  transition: all 0.3s ease;
  filter: drop-shadow(0 5px 15px rgba(201, 169, 97, 0.4));
}

.logo:hover .logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 8px 20px rgba(201, 169, 97, 0.6));
}

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

.nav-link {
  color: var(--color-text) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s ease;
}

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

.nav-link:hover::after {
  width: 100%;
}

.header-phone {
  color: var(--color-accent) !important;
  text-decoration: none !important;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 8px 20px;
  border: 2px solid var(--color-accent);
  border-radius: 30px;
  transition: all 0.3s ease;
  background: rgba(201, 169, 97, 0.1);
}

.header-phone:hover {
  background: var(--color-accent);
  color: #000 !important;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(201, 169, 97, 0.5);
}

.header-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #25d366 !important;
  text-decoration: none !important;
  border: 2px solid #25d366;
  border-radius: 50%;
  transition: all 0.3s ease;
  background: rgba(37, 211, 102, 0.1);
}

.header-whatsapp svg {
  fill: #25d366;
  transition: all 0.3s ease;
}

.header-whatsapp:hover {
  background: #25d366;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

.header-whatsapp:hover svg {
  fill: white;
}

/* Hero + Header обёртка */
.hero-wrapper {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Основной контент */
.main {
  padding-top: 0;
  min-height: 100vh;
}

/* Hero секция - Премиум */
.hero-section {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)),
    url("images/bg.jpg") center center / cover no-repeat;
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
  box-shadow: inset 0 -1px 0 0 rgba(201, 169, 97, 0.3);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
      circle at 30% 40%,
      rgba(201, 169, 97, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(212, 181, 122, 0.25) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(255, 215, 0, 0.15) 0%,
      transparent 60%
    );
  animation: heroGlow 15s ease-in-out infinite alternate;
  mix-blend-mode: overlay;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
      90deg,
      transparent 0px,
      rgba(201, 169, 97, 0.02) 1px,
      transparent 2px,
      transparent 100px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      rgba(201, 169, 97, 0.02) 1px,
      transparent 2px,
      transparent 100px
    );
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(255, 215, 0, 0.05) 0%,
      transparent 25%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(255, 215, 0, 0.05) 0%,
      transparent 25%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(201, 169, 97, 0.08) 0%,
      transparent 50%
    );
  animation: overlayPulse 20s ease-in-out infinite;
}

@keyframes overlayPulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.9;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 20px;
  animation: heroFadeIn 1.2s ease backwards;
}

.hero-title {
  font-family: "Montserrat", sans-serif;
  font-size: 64px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 50px;
  letter-spacing: 4px;
  line-height: 1.4;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-line-1,
.hero-line-2 {
  display: block;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
}

.hero-line-1 {
  animation: heroTitleSlide 1s ease 0.2s backwards;
}

.hero-line-2 {
  animation: heroTitleSlide 1s ease 0.4s backwards;
}

.hero-button {
  display: inline-block;
  padding: 20px 60px;
  background: linear-gradient(135deg, #c9a961 0%, #d4b57a 50%, #c9a961 100%);
  color: #000000;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(201, 169, 97, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
  animation: heroButtonSlide 1s ease 0.6s backwards;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.hero-button::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: buttonShine 3s ease-in-out infinite;
}

@keyframes buttonShine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.hero-button:hover::before {
  width: 400px;
  height: 400px;
}

.hero-button:hover {
  transform: translateY(-8px) scale(1.08);
  box-shadow: 0 20px 60px rgba(201, 169, 97, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.3), inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.4);
}

@keyframes heroGlow {
  0% {
    opacity: 0.3;
  }
  100% {
    opacity: 0.6;
  }
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

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

/* Блок преимуществ - Большие карточки */
.advantages-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 60px 0 80px 0;
}

.advantage-card {
  background: var(--gradient-primary);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid rgba(201, 169, 97, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.advantage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(201, 169, 97, 0.15) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.advantage-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-accent);
  box-shadow: 0 0 30px rgba(201, 169, 97, 0.5), 0 20px 50px rgba(0, 0, 0, 0.6);
}

.advantage-card:hover::before {
  opacity: 1;
}

.advantage-icon {
  font-size: 56px;
  margin-bottom: 20px;
  display: block;
  filter: drop-shadow(0 5px 15px rgba(201, 169, 97, 0.4));
  animation: iconFloat 3s ease-in-out infinite;
}

.advantage-card:hover .advantage-icon {
  animation: iconFloat 1.5s ease-in-out infinite;
}

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

.advantage-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 15px;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

.advantage-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-muted);
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1;
}

/* Блок "Почему к нам?" */
.why-us-section {
  margin: 100px 0 80px 0;
  padding: 60px 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.6) 0%,
    rgba(42, 42, 42, 0.6) 100%
  );
  border-radius: 30px;
  border: 1px solid rgba(201, 169, 97, 0.3);
  position: relative;
  overflow: hidden;
}

.why-us-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(201, 169, 97, 0.1) 0%,
    transparent 70%
  );
  animation: rotateGlow 20s linear infinite;
}

.why-us-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 48px;
  font-weight: 600;
  text-align: center;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 60px;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 20px rgba(201, 169, 97, 0.4));
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
  padding: 0 40px;
}

.why-us-card {
  background: rgba(0, 0, 0, 0.4);
  padding: 35px;
  border-radius: 20px;
  border: 1px solid rgba(201, 169, 97, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.why-us-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gradient-accent);
  transition: height 0.4s ease;
}

.why-us-card:hover {
  transform: translateX(10px);
  border-color: var(--color-accent);
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 10px 40px rgba(201, 169, 97, 0.3);
}

.why-us-card:hover::before {
  height: 100%;
}

.why-us-number {
  font-family: "Cormorant Garamond", serif;
  font-size: 72px;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 15px;
}

.why-us-subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.why-us-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-muted);
  letter-spacing: 0.3px;
}

/* Блок О нас */
.about-section {
  text-align: center;
  max-width: 900px;
  margin: 60px auto;
  padding: 40px;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.8) 0%,
    rgba(42, 42, 42, 0.8) 100%
  );
  border-radius: 20px;
  border: 1px solid rgba(201, 169, 97, 0.3);
  position: relative;
  overflow: hidden;
  animation: aboutFadeIn 1s ease 0.7s backwards;
}

.about-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(201, 169, 97, 0.05) 0%,
    transparent 70%
  );
  animation: rotateGlow 10s linear infinite;
  pointer-events: none;
}

.about-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 25px;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(201, 169, 97, 0.3);
}

.about-text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-muted);
  position: relative;
  z-index: 1;
  letter-spacing: 0.3px;
}

@keyframes aboutFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes rotateGlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.career-section {
  padding: 100px 0 120px;
}

.page-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 64px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 80px;
  text-transform: uppercase;
  letter-spacing: 4px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  animation: titleFadeIn 1s ease, titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
  0%,
  100% {
    text-shadow: 0 0 20px rgba(201, 169, 97, 0.3);
  }
  50% {
    text-shadow: 0 0 30px rgba(201, 169, 97, 0.5);
  }
}

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

.page-title::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--gradient-accent);
}

/* Сетка карточек */
.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 40px;
  animation: fadeInUp 0.8s ease;
}

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

/* Карточка вакансии */
.career-card {
  background: var(--gradient-primary);
  border-radius: 20px;
  padding: 2px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

/* Изображение карточки */
.card-image {
  width: 100%;
  height: 450px;
  border-radius: 18px 18px 0 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(201, 169, 97, 0.1) 0%,
    rgba(201, 169, 97, 0.05) 100%
  );
}

.career-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.5s ease;
  filter: brightness(0.9);
}

.career-card:hover .career-photo {
  transform: scale(1.08);
  filter: brightness(1);
}

.card-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  pointer-events: none;
}

.career-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 20px;
}

.career-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 80px rgba(201, 169, 97, 0.4);
}

.career-card:hover::before {
  opacity: 0.15;
}

.card-content {
  background: var(--color-card-bg);
  border-radius: 0 0 18px 18px;
  padding: 40px;
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 15px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.career-card:hover .card-title {
  transform: translateX(5px);
  text-shadow: 0 0 10px rgba(201, 169, 97, 0.4);
}

.card-salary {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
  flex: 1;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: rgba(42, 42, 42, 0.5);
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 1px solid rgba(201, 169, 97, 0.1);
}

.info-item:hover {
  background: rgba(42, 42, 42, 0.8);
  transform: translateX(5px);
  border-color: rgba(201, 169, 97, 0.3);
}

.info-label {
  font-size: 14px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.info-value {
  font-size: 16px;
  color: var(--color-text);
  font-weight: 600;
}

.card-button {
  background: var(--gradient-accent);
  color: var(--color-primary);
  border: none;
  padding: 18px 40px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
  position: relative;
  overflow: hidden;
}

.card-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.card-button:hover::before {
  width: 300px;
  height: 300px;
}

.card-button:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 15px 40px rgba(201, 169, 97, 0.5);
  letter-spacing: 3px;
}

.card-button:active {
  transform: scale(0.95);
}

/* Футер */
.footer {
  background: transparent;
  padding: 100px 0 60px;
  border-top: 1px solid rgba(201, 169, 97, 0.15);
  animation: fadeIn 1.5s ease;
}

.footer-wrapper {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.footer-logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 48px;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 3px;
  margin-bottom: 40px;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-logo:hover {
  transform: scale(1.05);
  text-shadow: 0 0 30px rgba(201, 169, 97, 0.6);
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.footer-phone {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-accent) !important;
  text-decoration: none !important;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  padding: 15px 40px;
  border: 2px solid var(--color-accent);
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 20px;
}

.footer-phone:visited {
  color: var(--color-accent) !important;
}

.footer-phone:hover {
  background: var(--gradient-accent);
  color: #000000 !important;
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(201, 169, 97, 0.4);
}

.footer-hours {
  font-size: 18px;
  color: var(--color-text);
  margin: 10px 0;
  letter-spacing: 2px;
}

.footer-address {
  font-size: 16px;
  color: var(--color-text-muted);
  margin: 0;
  letter-spacing: 1px;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #25d366 !important;
  text-decoration: none !important;
  font-size: 18px;
  font-weight: 600;
  padding: 12px 30px;
  border: 2px solid #25d366 !important;
  border-radius: 50px;
  transition: all 0.3s ease;
  margin-top: 10px;
  letter-spacing: 1px;
}

.whatsapp-button:visited {
  color: #25d366 !important;
  border-color: #25d366 !important;
}

.whatsapp-button svg {
  transition: transform 0.3s ease;
  fill: #25d366;
}

.whatsapp-button:hover {
  background: #25d366 !important;
  color: white !important;
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-button:hover svg {
  transform: rotate(10deg) scale(1.1);
  fill: white;
}

/* Секция карты на всю ширину */
.map-section {
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  animation: fadeIn 1.2s ease;
}

.map-full-width {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  border-top: 2px solid rgba(201, 169, 97, 0.3);
  border-bottom: 2px solid rgba(201, 169, 97, 0.3);
  transition: all 0.3s ease;
}

.map-full-width:hover {
  border-top-color: rgba(201, 169, 97, 0.6);
  border-bottom-color: rgba(201, 169, 97, 0.6);
}

.map-full-width iframe {
  display: block;
  border: none;
}

/* Модальное окно */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: var(--gradient-primary);
  border-radius: 20px;
  padding: 50px;
  max-width: 700px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.4s ease;
  border: 2px solid rgba(201, 169, 97, 0.3);
}

/* Кастомный скроллбар для модалки */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(26, 26, 26, 0.5);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--gradient-accent);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: #d4b57a;
}

@keyframes slideUp {
  from {
    transform: translateY(80px) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
  z-index: 10;
}

.modal-close:hover {
  color: var(--color-accent);
  transform: rotate(180deg) scale(1.2);
  text-shadow: 0 0 20px rgba(201, 169, 97, 0.8);
}

.modal-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 42px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 30px;
}

.modal-body {
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.modal-body h3 {
  color: var(--color-accent);
  font-size: 22px;
  margin-top: 25px;
  margin-bottom: 15px;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 1px;
}

.modal-body ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.modal-body li {
  padding: 10px 0 10px 30px;
  position: relative;
  transition: all 0.3s ease;
}

.modal-body li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 12px;
}

.modal-body li:hover {
  transform: translateX(5px);
  color: var(--color-accent);
}

.modal-button {
  background: var(--gradient-accent);
  color: var(--color-primary);
  border: none;
  padding: 18px 50px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
  width: 100%;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
  text-align: center;
}

.modal-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.modal-button:hover::before {
  width: 300px;
  height: 300px;
}

.modal-button:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 15px 40px rgba(201, 169, 97, 0.6);
  letter-spacing: 3px;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

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

  .hero-line-1,
  .hero-line-2 {
    max-width: 90%;
    margin: 0 auto;
  }

  .advantages-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

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

  .career-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
  }
}

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

  .header-top {
    padding: 20px 0;
  }

  .header-bottom {
    padding: 12px 0;
    background: rgba(0, 0, 0, 0.5);
  }

  .logo-img {
    height: 100px;
  }

  .nav {
    gap: 18px;
    flex-wrap: wrap;
    padding: 0 15px;
  }

  .nav-link {
    font-size: 13px;
  }

  .header-phone {
    font-size: 15px;
    padding: 8px 18px;
  }

  .header-whatsapp {
    width: 38px;
    height: 38px;
  }

  .hero-wrapper {
    min-height: 100vh;
    height: auto;
  }

  .hero-content {
    padding: 50px 20px;
  }

  .hero-title {
    font-size: 36px;
    letter-spacing: 2px;
    line-height: 1.5;
  }

  .hero-line-1 {
    animation: heroTitleSlide 0.8s ease 0.3s backwards;
  }

  .hero-line-2 {
    animation: heroTitleSlide 0.8s ease 0.5s backwards;
  }

  .hero-button {
    padding: 14px 35px;
    font-size: 15px;
    letter-spacing: 1px;
    animation-delay: 0.7s !important;
  }

  .page-title {
    font-size: 38px;
    margin-bottom: 40px;
  }

  .advantages-section {
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 40px 0 60px 0;
  }

  .advantage-card {
    padding: 35px 25px;
  }

  .advantage-icon {
    font-size: 48px;
  }

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

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

  .why-us-section {
    margin: 60px 0;
    padding: 40px 0;
  }

  .why-us-title {
    font-size: 36px;
    margin-bottom: 40px;
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 0 20px;
  }

  .why-us-card {
    padding: 30px 25px;
  }

  .why-us-number {
    font-size: 60px;
  }

  .why-us-subtitle {
    font-size: 24px;
  }

  .why-us-text {
    font-size: 15px;
  }

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

  .card-image {
    height: 350px;
  }

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

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

  .card-salary {
    font-size: 18px;
  }

  .card-button {
    padding: 12px 30px;
    font-size: 14px;
  }

  .map-full-width {
    height: 400px;
  }

  .footer-phone {
    font-size: 20px;
    padding: 12px 25px;
  }

  .whatsapp-button {
    font-size: 15px;
    padding: 10px 20px;
  }

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

  .footer-hours,
  .footer-address {
    font-size: 13px;
  }

  .modal-content {
    padding: 30px 20px;
    width: 95%;
    max-height: 85vh;
  }

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

  .modal-body {
    font-size: 15px;
  }

  .modal-button {
    padding: 14px 35px;
    font-size: 16px;
  }
}

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

  .header-top {
    padding: 18px 0;
  }

  .header-bottom {
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.6);
  }

  .logo-img {
    height: 85px;
  }

  .nav {
    gap: 12px;
    flex-wrap: wrap;
    padding: 0 10px;
  }

  .nav-link {
    font-size: 12px;
  }

  .header-phone {
    font-size: 14px;
    padding: 7px 16px;
    flex: 1 1 100%;
    text-align: center;
  }

  .header-whatsapp {
    width: 36px;
    height: 36px;
  }

  .header-whatsapp svg {
    width: 16px;
    height: 16px;
  }

  .hero-wrapper {
    min-height: 100vh;
    height: auto;
  }

  .hero-section {
    min-height: 70vh;
  }

  .hero-content {
    padding: 40px 15px;
  }

  .hero-title {
    font-size: 24px;
    letter-spacing: 1px;
    line-height: 1.6;
  }

  .hero-line-1 {
    animation: heroTitleSlide 0.8s ease 0.3s backwards;
  }

  .hero-line-2 {
    animation: heroTitleSlide 0.8s ease 0.5s backwards;
  }

  .hero-button {
    padding: 12px 28px;
    font-size: 14px;
    letter-spacing: 0.8px;
    animation-delay: 0.7s !important;
  }

  .page-title {
    font-size: 32px;
    letter-spacing: 2px;
    margin-bottom: 30px;
  }

  .advantages-section {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0 50px 0;
  }

  .advantage-card {
    padding: 30px 20px;
  }

  .advantage-icon {
    font-size: 42px;
  }

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

  .advantage-text {
    font-size: 14px;
    line-height: 1.7;
  }

  .why-us-section {
    margin: 40px 0;
    padding: 30px 0;
  }

  .why-us-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .why-us-card {
    padding: 25px 20px;
  }

  .why-us-number {
    font-size: 52px;
  }

  .why-us-subtitle {
    font-size: 22px;
  }

  .why-us-text {
    font-size: 14px;
  }

  .career-grid {
    gap: 20px;
  }

  .card-image {
    height: 300px;
  }

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

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

  .card-salary {
    font-size: 16px;
  }

  .card-info {
    flex-direction: column;
    gap: 10px;
  }

  .card-button {
    padding: 10px 25px;
    font-size: 13px;
  }

  .map-full-width {
    height: 300px;
  }

  .footer-wrapper {
    padding: 40px 15px;
  }

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

  .footer-phone {
    font-size: 18px;
    padding: 10px 20px;
  }

  .whatsapp-button {
    font-size: 14px;
    padding: 8px 18px;
  }

  .footer-hours,
  .footer-address {
    font-size: 12px;
  }

  .modal-content {
    padding: 25px 15px;
    width: 98%;
    max-height: 90vh;
  }

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

  .modal-body {
    font-size: 14px;
  }

  .modal-body h3 {
    font-size: 18px;
  }

  .modal-button {
    padding: 12px 30px;
    font-size: 15px;
  }

  .modal-close {
    width: 35px;
    height: 35px;
    font-size: 24px;
  }
}

/* Анимации прокрутки */
.career-card {
  opacity: 0;
  animation: fadeInCard 0.8s ease forwards;
}

.career-card:nth-child(1) {
  animation-delay: 0.1s;
}
.career-card:nth-child(2) {
  animation-delay: 0.2s;
}
.career-card:nth-child(3) {
  animation-delay: 0.3s;
}
.career-card:nth-child(4) {
  animation-delay: 0.4s;
}
.career-card:nth-child(5) {
  animation-delay: 0.5s;
}
.career-card:nth-child(6) {
  animation-delay: 0.6s;
}

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

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

/* Фоновый эффект */
body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(201, 169, 97, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(201, 169, 97, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 20%,
      rgba(201, 169, 97, 0.03) 0%,
      transparent 50%
    );
  z-index: -1;
  animation: backgroundMove 20s ease-in-out infinite;
}

@keyframes backgroundMove {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-5%, -5%);
  }
}
