:root {
  --primary-color: #0066ff;
  --primary-dark: #0052cc;
  --primary-light: #e3f2fd;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --bg-light: #ffffff;
  --bg-gray: #f5f5f5;
  --border-color: #e0e0e0;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --transition-duration: 0.3s;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-dark);
  background-color: var(--bg-light);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
}

/* Header */
.header {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-md) 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.logo-section {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

/* Main Content Sections */
.hero-content {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  text-align: left;
}

.hero-text {
  flex: 1;
}

.hero-image {
  flex: 0 0 400px;
}

.hero-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.centered-content {
  text-align: center;
}

.centered-content .container {
  text-align: center;
}

.centered-content h2,
.centered-content .section-title,
.centered-content .section-subtitle,
.centered-content .section-description {
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section:nth-child(even) {
  background-color: var(--bg-gray);
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: var(--space-md);
  line-height: 1.2;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--text-dark);
}

h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

p {
  color: var(--text-light);
  line-height: 1.6;
}

.section-description {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: var(--space-lg);
}

/* Hero Section */
.hero-section {
  padding: var(--space-xl) 0;
  text-align: center;
}

.hero-section .section-title {
  color: var(--primary-color);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.feature-item {
  background-color: var(--bg-light);
  padding: var(--space-lg);
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  display: block;
}

.feature-item h3 {
  margin-bottom: var(--space-sm);
}

.feature-item p {
  font-size: 14px;
  line-height: 1.6;
}

/* Image Placeholders */
.image-placeholder {
  width: 100%;
  margin: var(--space-lg) 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--bg-gray);
}

.image-placeholder svg {
  width: 100%;
  height: auto;
  display: block;
}

.map-placeholder {
  width: 100%;
  max-width: 600px;
  margin: var(--space-lg) auto;
  border-radius: 8px;
  overflow: hidden;
}

.map-placeholder svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.product-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-duration) ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background-color: var(--bg-gray);
}

.product-image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card h3 {
  padding: var(--space-md) var(--space-md) var(--space-sm);
  font-size: 18px;
  margin: 0;
}

.product-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card p {
  padding: 0 var(--space-md) var(--space-md);
  font-size: 14px;
}

.product-price {
  padding: 0 var(--space-md) var(--space-md);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: auto;
}

.product-card a {
  padding: var(--space-sm) var(--space-md) var(--space-md);
}

/* Content Images */
.content-image {
  width: 100%;
  margin: var(--space-lg) 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--bg-gray);
}

.content-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* Image Placeholders */
.image-placeholder {
  width: 100%;
  margin: var(--space-lg) 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--bg-gray);
}

.image-placeholder img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.map-placeholder {
  width: 100%;
  max-width: 600px;
  margin: var(--space-lg) auto;
  border-radius: 8px;
  overflow: hidden;
}

.map-placeholder img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-duration) ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  background-color: transparent;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  transition: all var(--transition-duration) ease;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.btn-outline {
  display: inline-block;
  padding: 12px 24px;
  background-color: transparent;
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-duration) ease;
}

.btn-outline:hover {
  background-color: var(--bg-gray);
  border-color: var(--text-light);
  transform: translateY(-2px);
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* About Section */
.about-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
  margin-top: var(--space-lg);
  text-align: center;
}

/* Contacts Section */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.contact-item {
  background-color: var(--bg-white, var(--bg-light));
  padding: var(--space-lg);
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.contact-item h3 {
  margin-bottom: var(--space-sm);
  color: var(--primary-color);
}

.contact-item a {
  font-size: 16px;
  font-weight: 500;
}

.contact-item p {
  font-size: 14px;
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: white;
  padding: var(--space-xl) 0;
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-xl);
}

.footer-brand {
  flex: 1;
  max-width: 300px;
}

.footer-brand .logo-section {
  margin-bottom: var(--space-md);
}

.footer-brand .logo-icon {
  width: 32px;
  height: 32px;
}

.footer-brand .brand-name {
  color: white;
  font-size: 18px;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.footer-nav {
  display: flex;
  gap: var(--space-xl);
  flex: 2;
  justify-content: flex-end;
}

.footer-column {
  min-width: 150px;
}

.footer-column h4 {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: var(--space-sm);
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition-duration) ease;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-lg);
  }
  
  .hero-image {
    flex: none;
    width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .section-title {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .features-grid,
  .products-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .footer-nav {
    flex-direction: column;
    gap: var(--space-lg);
    justify-content: flex-start;
  }

  .logo-section {
    gap: var(--space-xs);
  }

  .brand-name {
    font-size: 18px;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .section-description {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hero-image img {
    height: 200px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .section-title {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  .section {
    padding: var(--space-md) 0;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .feature-item,
  .product-card,
  .contact-item {
    padding: var(--space-md);
  }

  .btn-primary {
    padding: 10px 16px;
    font-size: 13px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  .brand-name {
    font-size: 16px;
  }

  .footer-container {
    padding: 0 var(--space-sm);
  }
  
  .footer-nav {
    gap: var(--space-md);
  }
  
  .content-image img {
    height: 200px;
  }
  
  .image-placeholder img {
    height: 200px;
  }
  
  .map-placeholder img {
    height: 200px;
  }
}
