/* ================================================================
   Design Tokens
   ================================================================ */
:root {
  --bg-dark: #0F0F0F;
  --bg-card: #1A1A1A;
  --accent: #C5986B;
  --text-main: #ECECEC;
  --text-muted: #999;
  --radius: 6px;
  --transition: 0.3s ease;
  --font-main: 'Inter', sans-serif;
}

/* ================================================================
   Global Styles
   ================================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================================================================
   Header
   ================================================================ */
#header {
  position: sticky;
  top: 0;
  background-color: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(197, 152, 107, 0.1);
  transition: var(--transition);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-main);
  font-size: 1.25rem;
  font-weight: 700;
  transition: var(--transition);
}

.logo i {
  color: var(--accent);
  font-size: 1.5rem;
}

.logo:hover a {
  color: var(--accent);
}

.nav-desktop {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switcher {
  display: flex;
  gap: 0.25rem;
  background-color: var(--bg-card);
  padding: 0.25rem;
  border-radius: var(--radius);
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: var(--radius);
  transition: var(--transition);
  font-weight: 500;
}

.lang-btn.active,
.lang-btn:hover {
  background-color: var(--accent);
  color: var(--bg-dark);
}

.phone-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent);
  color: var(--bg-dark);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.phone-btn:hover {
  background-color: #d4a877;
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: var(--bg-card);
  border-top: 1px solid rgba(197, 152, 107, 0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.active {
  max-height: 400px;
  padding: 1rem 0;
}

.mobile-nav-link {
  color: var(--text-main);
  text-decoration: none;
  padding: 1rem 20px;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.mobile-nav-link:hover {
  background-color: rgba(197, 152, 107, 0.1);
  border-left-color: var(--accent);
}

/* ================================================================
   Hero Section
   ================================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(15, 15, 15, 0.7) 0%,
    rgba(15, 15, 15, 0.5) 50%,
    rgba(15, 15, 15, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-text {
  max-width: 800px;
  animation: fadeInUp 1s ease;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

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

/* ================================================================
   Buttons
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background-color: #d4a877;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(197, 152, 107, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background-color: var(--accent);
  color: var(--bg-dark);
  transform: translateY(-3px);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ================================================================
   USP Section
   ================================================================ */
.usp-section {
  padding: 6rem 0;
  background-color: var(--bg-dark);
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.usp-card {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
}

.usp-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 40px rgba(197, 152, 107, 0.1);
}

.usp-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(197, 152, 107, 0.2), rgba(197, 152, 107, 0.05));
  border-radius: 50%;
}

.usp-icon i {
  font-size: 2rem;
  color: var(--accent);
}

.usp-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.usp-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ================================================================
   Section Headers
   ================================================================ */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-main);
}

.section-title.center {
  text-align: center;
  width: 100%;
}

.section-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.section-link:hover {
  gap: 1rem;
}

/* ================================================================
   Catalog Preview
   ================================================================ */
.catalog-preview {
  padding: 6rem 0;
  background-color: var(--bg-dark);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 40px rgba(197, 152, 107, 0.2);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-info {
  padding: 1.5rem;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.spec-badge {
  background-color: rgba(197, 152, 107, 0.1);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.product-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ================================================================
   Workflow Section
   ================================================================ */
.workflow-section {
  padding: 6rem 0;
  background-color: var(--bg-card);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.workflow-step {
  text-align: center;
  padding: 2rem;
}

.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), #d4a877);
  color: var(--bg-dark);
  font-size: 2rem;
  font-weight: 700;
  border-radius: 50%;
}

.workflow-step h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.workflow-step p {
  color: var(--text-muted);
}

/* ================================================================
   Quote Section
   ================================================================ */
.quote-section {
  padding: 6rem 0;
  background-color: var(--bg-dark);
}

.quote-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.quote-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.quote-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-item i {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(197, 152, 107, 0.2), rgba(197, 152, 107, 0.05));
  border-radius: 50%;
  color: var(--accent);
  font-size: 1.25rem;
}

.contact-item strong {
  display: block;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item span {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--accent);
}

/* ================================================================
   Quote Form
   ================================================================ */
.quote-form {
  background-color: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(197, 152, 107, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  font-weight: 500;
}

.required {
  color: var(--accent);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  background-color: var(--bg-dark);
  border: 1px solid rgba(197, 152, 107, 0.2);
  border-radius: var(--radius);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(197, 152, 107, 0.1);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 400 !important;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  cursor: pointer;
  accent-color: var(--accent);
}

.checkbox-label.consent {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  display: none;
}

.form-message.success {
  display: block;
  background-color: rgba(76, 175, 80, 0.1);
  color: #81c784;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.form-message.error {
  display: block;
  background-color: rgba(244, 67, 54, 0.1);
  color: #e57373;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

/* ================================================================
   Footer
   ================================================================ */
.footer {
  background-color: var(--bg-card);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(197, 152, 107, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-logo i {
  color: var(--accent);
}

.footer-desc {
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-col h4 {
  color: var(--text-main);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.footer-links,
.footer-contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a,
.footer-contacts a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-contacts a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contacts li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
}

.footer-contacts i {
  color: var(--accent);
  width: 20px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(197, 152, 107, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--accent);
}

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

.fade-in {
  animation: fadeInUp 0.8s ease;
}

/* ================================================================
   Responsive Design
   ================================================================ */

/* Tablet (992px and below) */
@media (max-width: 992px) {
  .nav-desktop {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .phone-btn span {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .quote-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .usp-grid {
    grid-template-columns: 1fr;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .workflow-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .usp-section,
  .catalog-preview,
  .workflow-section,
  .quote-section {
    padding: 3rem 0;
  }
  
  .quote-form {
    padding: 1.5rem;
  }
}
