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

/* CSS переменные */
:root {
  --text-color: #181818;
  --border-color: #e5e5e5;
  --primary-color: #1e3a8a;
  --primary-hover: #1d4ed8;
  --muted: #f5f5f5;
  --foreground: #181818;
  --muted-foreground: #666;
  --card: #ffffff;
  --border: #e5e5e5;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.2s cubic-bezier(.4,0,.2,1);
  --secondary: #facc15;
  --secondary-hover: #eab308;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background-color: #f5f5f5;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header styles */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #1e3a8a;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Top bar */
.top-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-link:hover {
  color: white;
}

.hidden-sm {
  display: none;
}

.icon {
  width: 0.875rem;
  height: 0.875rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Main nav */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.375rem;
  background-color: #facc15;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Arial Black', sans-serif;
  font-weight: 800;
  color: #1e1e1e;
  font-size: 1.125rem;
}

.logo-text {
  color: white;
}

.company-name {
  font-family: 'Arial Black', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.25;
}

.company-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: system-ui, -apple-system, sans-serif;
}

/* Desktop menu */
.desktop-menu {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Arial', sans-serif;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-radius: 0.375rem;
  transition: all 0.15s;
}

.nav-link:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: 'Arial Black', sans-serif;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s;
}

.btn-primary {
  background-color: #facc15;
  color: #1e1e1e;
}

.btn-primary:hover {
  background-color: #eab308;
}

.menu-btn {
  display: block;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-icon {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mobile menu */
.mobile-menu {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Arial', sans-serif;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-radius: 0.375rem;
  transition: all 0.2s;
}

.mobile-nav-link:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-btn {
  margin-top: 0.5rem;
  width: 100%;
  justify-content: center;
}

/* Utilities */
.ml-3 {
  margin-left: 0.75rem;
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(30, 58, 138, 0.75);
}

.hero-container {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1rem;
  width: 100%;
}

.hero-content {
  max-width: 60rem;      /* ограничиваем ширину контента */
  margin-left: auto;     /* центрируем */
  margin-right: auto;    /* центрируем */
  text-align: center;    /* центрируем текст и кнопки (опционально)*/
  position: relative;    /* чтобы контент был выше фона */
  z-index: 1;            /* поднимаем контент над оверлеем */
}

.hero-title {
  font-family: 'Arial Black', sans-serif;
  font-weight: 800;
  font-size: 2.25rem;
  color: white;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: system-ui, -apple-system, sans-serif;
  margin-bottom: 2rem;
  line-height: 1.625;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-family: 'Arial Black', sans-serif;
  font-weight: 700;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
}

.hero-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.btn-primary.hero-btn {
  background-color: #facc15;
  color: #1e1e1e;
}

.btn-primary.hero-btn:hover {
  background-color: #eab308;
}

.btn-outline.hero-btn {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.btn-outline.hero-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.ml-2 {
  margin-left: 0.5rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

/* About Section */
.about-section {
  padding: 4rem 0;
  background: var(--muted);
}

@media (min-width: 768px) {
  .about-section {
    padding: 6rem 0;
  }
}

.about-header {
  max-width: 48rem;
  margin-bottom: 3rem;
  margin-left: auto;     
  margin-right: auto;
}

.about-title {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--foreground);
  text-align: center;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .about-title {
    font-size: 2.25rem;
  }
}

.about-description {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.625;
  margin-bottom: 1rem;
}

.about-text {
  color: var(--muted-foreground);
  font-size: 1rem;
  line-height: 1.625;
  margin-top: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: var(--card);
  border-radius: 0.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s ease;
}

.feature-card:hover {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.icon-wrapper {
  height: 3rem;
  width: 3rem;
  border-radius: 0.5rem;
  background: rgba(79, 70, 229, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.icon {
  height: 1.5rem;
  width: 1.5rem;
  color: var(--secondary);
}

.icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.feature-title {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

.feature-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

/* Certificates Section */
.certificates-section {
  padding: 4rem 0;
  background: white;
}

.certificates-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 3rem;
  color: var(--text-color);
  text-align: center;
  font-family: 'Arial Black', sans-serif;
  cursor: pointer;
  position: relative;
  padding-right: 40px;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.certificates-arrow {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  font-size: 24px;
  color: #facc15;
}

.certificates-title.active .certificates-arrow {
  transform: translateY(-50%) rotate(180deg);
}

@media (min-width: 768px) {
  .certificates-title {
    font-size: 3rem;
  }
}

/* Carousel */
.certificates-carousel,
.warehouse-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.carousel-container {
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 2rem;
}

.certificate-card {
  flex: 0 0 100%;
  padding: 1rem;
}

@media (min-width: 640px) {
  .certificate-card {
    flex: 0 0 50%;
  }
}

@media (min-width: 768px) {
  .certificate-card {
    flex: 0 0 33.333%;
  }
}

@media (min-width: 1024px) {
  .certificate-card {
    flex: 0 0 25%;
  }
}

.certificate-card img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.certificate-card img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

/* Warehouse Cards */
.warehouse-card {
  flex: 0 0 100%;
  padding: 1rem;
}

@media (min-width: 640px) {
  .warehouse-card {
    flex: 0 0 50%;
  }
}

@media (min-width: 768px) {
  .warehouse-card {
    flex: 0 0 33.333%;
  }
}

.warehouse-card img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  object-fit: cover;
  aspect-ratio: 16/9;
}

.warehouse-card img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

/* Carousel Navigation */
.carousel-navigation {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.nav-button {
  width: 3rem;
  height: 3rem;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-color);
}

.nav-button:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  transform: scale(1.05);
}

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

.nav-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 2rem 0 1rem;
}

.indicator {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 0;
}

.indicator:hover {
  background: var(--primary-hover);
  transform: scale(1.2);
}

.indicator.active {
  background: var(--primary-color);
  transform: scale(1.2);
  width: 2rem;
  border-radius: 1rem;
}

/* Warehouse Section */
.warehouse-section {
  padding: 4rem 0;
  background: var(--muted);
}

.warehouse-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 3rem;
  color: var(--text-color);
  text-align: center;
  font-family: 'Arial Black', sans-serif;
}

@media (min-width: 768px) {
  .warehouse-title {
    font-size: 3rem;
  }
}

/* Feedback Form Section */
.feedback-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.feedback-container {
  max-width: 800px;
  margin: 0 auto;
}

.feedback-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
  color: #1e3a8a;
  text-align: center;
  font-family: 'Arial Black', sans-serif;
}

@media (min-width: 768px) {
  .feedback-title {
    font-size: 3rem;
  }
}

.feedback-form {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e5e5;
}

.feedback-form fieldset {
  border: 2px solid #1e3a8a;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(to bottom, #f8fafc, white);
}

.feedback-form legend {
  font-family: 'Arial Black', sans-serif;
  font-size: 1.25rem;
  color: #1e3a8a;
  padding: 0 1rem;
  background: white;
  border: 2px solid #1e3a8a;
  border-radius: 2rem;
  margin-left: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #1e3a8a;
  font-size: 0.95rem;
}

.required {
  color: #dc2626;
  font-size: 1.2rem;
  margin-left: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e5e5;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #facc15;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.1);
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: #1e3a8a;
}

.file-upload-wrapper {
  position: relative;
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  left: -9999px;
  opacity: 0;
  width: 0.1px;
  height: 0.1px;
}

.file-upload-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #1e3a8a;
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #1e3a8a;
}

.file-upload-button:hover {
  background: #facc15;
  border-color: #facc15;
  color: #1e1e1e;
}

.file-name {
  margin-left: 1rem;
  color: #666;
  font-size: 0.9rem;
}

.form-actions {
  text-align: center;
}

.submit-btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  background: #facc15;
  color: #1e1e1e;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 2px solid #facc15;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.submit-btn:hover {
  background: #eab308;
  border-color: #eab308;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.3);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.form-note {
  margin-top: 1rem;
  color: #666;
  font-size: 0.875rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  cursor: pointer;
  animation: fadeIn 0.3s ease;
}

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

.modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 0.5rem;
  animation: zoomIn 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 2rem;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.modal-close:hover {
  transform: scale(1.1);
}

/* Notifications */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.custom-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 1001;
  font-weight: bold;
  animation: slideIn 0.5s ease;
  max-width: 400px;
}

/* Media Queries */
@media (min-width: 640px) {
  .hidden-sm {
    display: flex;
  }
}

@media (min-width: 768px) {
  .desktop-menu {
    display: flex;
  }
  
  .menu-btn {
    display: none;
  }
  
  .mobile-menu {
    display: none;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-description {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (max-width: 640px) {
  .nav-button {
    width: 2.5rem;
    height: 2.5rem; 
  }
  
  .certificates-section,
  .warehouse-section,
  .feedback-section {
    padding: 2rem 0;
  }
  
  .certificates-title,
  .warehouse-title,
  .feedback-title {
    font-size: 1.875rem;
    margin-bottom: 2rem;
  }
  
  .feedback-form {
    padding: 1rem;
  }
  
  .feedback-form fieldset {
    padding: 1rem;
  }
}

/* Footer Styles */
.footer {
  background-color: #1e3a8a;
  color: white;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-section {
  margin-bottom: 1.5rem;
}

.footer-title {
  font-family: 'Arial Black', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #facc15;
  border-bottom: 2px solid rgba(250, 204, 21, 0.3);
  padding-bottom: 0.5rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.footer-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  stroke: #facc15;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 1rem;
  line-height: 1.4;
  color: white;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

.footer-info p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-links {
    justify-content: flex-end;
  }
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
  padding: 0.25rem 0.5rem;
}

.footer-link:hover {
  color: #facc15;
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background-color: #facc15;
  color: #1e1e1e;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.scroll-to-top.visible {
  display: flex;
}

.scroll-to-top:hover {
  background-color: #eab308;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.scroll-to-top svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
  stroke-width: 2;
}