/* ============================================
   GRANITE PREMIUM 2027 — UI/UX Design System
   Trends: Glassmorphism 2.0, Bento Grid,
   Scroll-Driven Animations, Fluid Typography,
   Organic Noise Textures, Kinetic Typography
   ============================================ */

/* ——— Design Tokens ——— */
:root {
  --bg-primary: #070707;
  --bg-surface: #0f0f0f;
  --bg-card: rgba(255, 255, 255, 0.025);
  --bg-card-hover: rgba(255, 255, 255, 0.05);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(255, 255, 255, 0.06);
  --border-gold: rgba(212, 168, 83, 0.3);

  --text-primary: #f0ede8;
  --text-secondary: #9a9590;
  --text-muted: #5c5854;

  --gold: #d4a853;
  --gold-light: #e8c87a;
  --gold-dark: #b08930;
  --gold-glow: rgba(212, 168, 83, 0.15);

  --accent-green: #6bcb77;
  --accent-red: #ff6b6b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-card: 0 4px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 60px rgba(212, 168, 83, 0.08);
  --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.6);

  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-height: 72px;
  --container-max: 1280px;
  --section-gap: clamp(80px, 10vw, 140px);
}

/* ——— Reset & Base ——— */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

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

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

ul { list-style: none; }

/* ——— Utility ——— */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ——— Scroll Progress Bar ——— */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 10001;
  width: 0%;
  transition: width 0.1s linear;
}

/* ——— Navigation ——— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background-color: rgba(7, 7, 7, 0.8);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 1px 0 var(--border-glass);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.nav__logo img {
  height: 38px;
  width: auto;
  filter: brightness(1.1);
}

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

.nav__link {
  position: relative;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  border-radius: var(--radius-full);
  transition: color 0.3s ease, background-color 0.3s ease;
}

.nav__link:hover,
.nav__link.active {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.05);
}

.nav__link.active {
  color: var(--gold);
}

.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

/* Mobile menu button */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out-expo), opacity 0.3s ease;
}

.nav__burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__burger.open span:nth-child(2) {
  opacity: 0;
}

.nav__burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu overlay */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 7, 0.95);
  backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav__mobile.open {
  opacity: 1;
  visibility: visible;
}

.nav__mobile .nav__link {
  font-size: 20px;
  padding: 14px 32px;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.35s var(--ease-out-expo);
  text-transform: none;
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
  box-shadow: 0 4px 24px rgba(212, 168, 83, 0.25);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(212, 168, 83, 0.35);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.btn--primary:hover::before {
  opacity: 1;
}

.btn--primary span {
  position: relative;
  z-index: 1;
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 22px;
  font-size: 13px;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  padding: 10px 20px;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

/* ——— Section System ——— */
.section {
  padding: var(--section-gap) 0;
  position: relative;
}

.section__header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: var(--gold-glow);
  border: 1px solid rgba(212, 168, 83, 0.15);
  border-radius: var(--radius-full);
}

.section__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section__subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Divider line */
.section--bordered {
  border-bottom: 1px solid var(--border-glass);
}

/* ——— Hero Section ——— */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(0.6) brightness(0.7);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(7,7,7,0.6) 0%, rgba(7,7,7,0.2) 40%, rgba(7,7,7,0.8) 100%),
    radial-gradient(ellipse at 30% 50%, rgba(212, 168, 83, 0.06) 0%, transparent 60%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 120px 0 80px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero__badge i {
  color: var(--gold);
  font-size: 10px;
}

.hero__title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__title .highlight {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: floatDown 2.5s ease-in-out infinite;
}

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

/* ——— Bento Grid ——— */
.bento {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(12, 1fr);
}

.bento__item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
}

.bento__item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.bento__item--wide { grid-column: span 7; }
.bento__item--narrow { grid-column: span 5; }
.bento__item--full { grid-column: span 12; }

/* ——— Product Cards ——— */
.product-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  transition: all 0.5s var(--ease-out-expo);
}

.product-card:hover {
  border-color: rgba(212, 168, 83, 0.2);
  box-shadow: var(--shadow-glow);
  transform: translateY(-6px);
}

.product-card__img {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
  filter: brightness(0.85) saturate(0.9);
}

.product-card:hover .product-card__img img {
  transform: scale(1.06);
  filter: brightness(0.95) saturate(1);
}

.product-card__img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(7, 7, 7, 0.8));
  pointer-events: none;
}

.product-card__body {
  padding: 28px;
}

.product-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.product-card__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

/* ——— Steps / Process ——— */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease-out-expo);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 48px;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.15;
  margin-bottom: 16px;
  line-height: 1;
  font-family: var(--font-mono);
}

.step:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

.step__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ——— News / Cards ——— */
.news-card {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
}

.news-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.news-card__img {
  flex: 0 0 320px;
  overflow: hidden;
}

.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: transform 0.7s var(--ease-out-expo), filter 0.5s ease;
}

.news-card:hover .news-card__img img {
  transform: scale(1.05);
  filter: brightness(1);
}

.news-card__body {
  flex: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 12px;
}

.news-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.news-card__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

/* ——— Contact Cards ——— */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.contact-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.4s var(--ease-out-expo);
}

.contact-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

.contact-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: var(--gold-glow);
  border: 1px solid rgba(212, 168, 83, 0.15);
  border-radius: var(--radius-md);
  font-size: 22px;
  color: var(--gold);
}

.contact-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.contact-card__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-card__text a:hover {
  color: var(--gold);
}

/* ——— Map Section ——— */
.map-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  height: 420px;
  margin-top: 48px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: brightness(0.7) contrast(1.1) saturate(0.5);
  transition: filter 0.5s ease;
}

.map-wrapper:hover iframe {
  filter: brightness(0.85) contrast(1.05) saturate(0.7);
}

.map-info-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(7, 7, 7, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  max-width: 360px;
  z-index: 2;
}

.map-info-overlay h4 {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-info-overlay p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.map-info-overlay i {
  color: var(--gold);
  width: 16px;
  text-align: center;
  font-size: 13px;
}

/* ——— Vacancy Cards ——— */
.vacancy-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease-out-expo);
}

.vacancy-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(212, 168, 83, 0.15);
}

.vacancy-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.vacancy-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.vacancy-card__salary {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  font-family: var(--font-mono);
}

.vacancy-card__location {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vacancy-card__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

/* ——— Footer ——— */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 0;
  margin-top: 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__brand p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

.footer__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer__links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer__bottom {
  border-top: 1px solid var(--border-glass);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

/* ——— Scroll To Top ——— */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.4s var(--ease-out-expo);
  z-index: 100;
  backdrop-filter: blur(10px);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
  transform: translateY(-2px);
}

/* ——— Scroll Reveal Animations ——— */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out-quart), transform 0.8s var(--ease-out-quart);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ——— Page Header (inner pages) ——— */
.page-header {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  text-align: center;
  position: relative;
  background: 
    linear-gradient(180deg, rgba(212, 168, 83, 0.03) 0%, transparent 100%);
}

.page-header h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 18px;
  color: var(--text-secondary);
}

/* ——— Stats Row ——— */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.stat {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease-out-expo);
}

.stat:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
}

.stat__number {
  font-size: 36px;
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-mono);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ——— Form Styles ——— */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font-body);
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ——— Pagination ——— */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0a0a;
}

/* ——— Alert / Toast ——— */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  padding: 16px 24px;
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(20px);
  opacity: 0;
  animation: toastIn 0.4s var(--ease-out-expo) forwards;
}

.toast--success { border-color: rgba(107, 203, 119, 0.3); }
.toast--success i { color: var(--accent-green); }

@keyframes toastIn {
  to { transform: translateY(0); opacity: 1; }
}

@keyframes toastOut {
  to { transform: translateY(20px); opacity: 0; }
}

/* ——— Custom Scrollbar ——— */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ——— Responsive ——— */
@media (max-width: 1024px) {
  .bento__item--wide,
  .bento__item--narrow {
    grid-column: span 6;
  }
  
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: clamp(60px, 8vw, 100px);
  }
  
  .nav__links {
    display: none;
  }
  
  .nav__burger {
    display: flex;
  }
  
  .nav__mobile {
    display: flex;
  }
  
  .hero__content {
    padding: 100px 0 60px;
  }
  
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .bento__item--wide,
  .bento__item--narrow {
    grid-column: span 12;
  }
  
  .news-card {
    flex-direction: column;
  }
  
  .news-card__img {
    flex: 0 0 200px;
  }
  
  .news-card__img img {
    height: 200px;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .map-info-overlay {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 16px;
    max-width: 100%;
  }
  
  .map-wrapper {
    height: 300px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }

  .vacancy-card__header {
    flex-direction: column;
  }
  
  .page-header {
    padding: calc(var(--nav-height) + 40px) 0 40px;
  }
}

@media (max-width: 480px) {
  .section__title {
    font-size: 28px;
  }
  
  .hero__title {
    font-size: 32px;
  }
  
  .product-card__img {
    height: 200px;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 13px;
  }
  
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  .stat__number {
    font-size: 28px;
  }
  
  .stat {
    padding: 20px 12px;
  }
}