:root {
  --primary: #d32f2f; /* Красный акцент в стиле PistenBully */
  --dark: #1a1a1a;
  --light: #f3f4f6;
  --white: #ffffff;
  --footer-bg: #f5f5f5;
  --footer-text: #555;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--dark);
  line-height: 1.5;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* --- Header --- */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
}

.supplier-badge {
  font-size: 0.85rem;
  color: #555;
  margin: 0;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-image: url('hero-ratrak.jpg'); /* Замени на свое фото */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Эффект вельвета (CSS-линии) */
.hero::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: repeating-linear-gradient(
    12deg,
    rgba(255,255,255,0.14),
    rgba(255,255,255,0.14) 12px,
    rgba(255,255,255,0.08) 12px,
    rgba(255,255,255,0.08) 24px
  );
  transform-origin: bottom center;
  transform: perspective(1000px) rotateX(38deg) translateY(55%);
  z-index: 1;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.65));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  max-width: 700px;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin: 0 0 1rem 0;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.btn:hover {
  background: #b71c1c;
}

.btn-primary {
  width: 100%;
  text-align: center;
}

/* --- Sections --- */
.section {
  padding: 4rem 0;
}

.bg-light {
  background: var(--light);
}

h2 {
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 2rem;
}

/* --- Grid & Cards --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  padding: 1.5rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.card h3 {
  margin-top: 0;
  color: var(--primary);
}

/* --- Contacts --- */
/* Убрали .contact-row, так как формы нет. .contact-info теперь просто блок текста */
.contact-info {
  max-width: 600px;
  margin: 0 auto;
}

.contact-info p {
  margin-bottom: 1rem;
}

/* --- Footer --- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 2.5rem 0;
  text-align: center;
}

.site-footer p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

.copyright {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #888;
}

/* --- Mobile Adaptation --- */
@media (max-width: 768px) {
  .hero::before {
    transform: perspective(1000px) rotateX(28deg) translateY(35%);
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .header-content {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}
