/*
Theme Name: IOMZ - Ижевский опытно-механический завод
Theme URI: https://www.iomz.ru/
Author: IOMZ Development Team
Author URI: https://www.iomz.ru/
Description: Профессиональная WordPress тема для Ижевского опытно-механического завода. Современный дизайн, адаптивная верстка, поддержка каталога продукции.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iomz
Tags: industrial, manufacturing, catalog, responsive, dark-theme
*/

/* ========================================
   CSS Variables
======================================== */
:root {
  --color-primary: #014470;
  --color-primary-light: #0066a0;
  --color-primary-dark: #003355;
  --color-secondary: #ff6b00;
  --color-accent: #00a3ff;
  --color-dark: #0a0a0a;
  --color-dark-light: #1a1a1a;
  --color-dark-medium: #2a2a2a;
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.7);
  --color-text-dim: rgba(255, 255, 255, 0.5);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-success: #28a745;
  --color-error: #dc3545;
  
  --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --header-height: 104px;
  --container-width: 1200px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.25);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* ========================================
   Reset & Base Styles
======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-dark-light);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-light);
}

/* Selection */
::selection {
  background: var(--color-primary);
  color: var(--color-text);
}

/* ========================================
   Typography
======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-secondary);
}

/* ========================================
   Layout
======================================== */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   Header
======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.header__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.header__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo img,
.header__logo svg {
  height: 60px;
  width: auto;
}

/* Navigation Menu */
.header__menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu__item {
  position: relative;
}

.menu__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 500;
  transition: all var(--transition-fast);
}

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

.menu__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.menu__item:hover .menu__link svg {
  transform: rotate(180deg);
}

/* Submenu */
.menu__sub-list {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--color-dark-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-lg);
}

.menu__item:hover .menu__sub-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu__sub-link {
  display: block;
  padding: 10px 20px;
  color: var(--color-text-muted);
  font-size: 14px;
  transition: all var(--transition-fast);
}

.menu__sub-link:hover {
  color: var(--color-text);
  background: var(--color-dark-medium);
  padding-left: 24px;
}

/* Header Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 600;
}

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

.header__phone svg {
  width: 20px;
  height: 20px;
}

/* Mobile Menu Toggle */
.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition-fast);
}

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

.header__toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* ========================================
   Hero Section
======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary-dark) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('assets/images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.1;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero__title span {
  color: var(--color-accent);
}

.hero__description {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 550px;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__stats {
  display: flex;
  gap: 60px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.hero__stat {
  text-align: center;
}

.hero__stat-value {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.hero__stat-label {
  font-size: 14px;
  color: var(--color-text-dim);
  margin-top: 8px;
}

/* ========================================
   Buttons
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text);
}

.btn-primary:hover {
  background: var(--color-primary-light);
  color: var(--color-text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-text);
}

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

.btn-accent:hover {
  background: var(--color-secondary);
  color: var(--color-text);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 16px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* ========================================
   Sections
======================================== */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--color-dark-light);
}

.section-primary {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   Product Categories
======================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.category-card {
  position: relative;
  background: var(--color-dark-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-card__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  color: var(--color-accent);
}

.category-card__title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.category-card__description {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.category-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  font-weight: 500;
}

.category-card__link:hover {
  gap: 12px;
}

.category-card__link svg {
  width: 16px;
  height: 16px;
}

/* ========================================
   Products Grid
======================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--color-dark-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.product-card__image {
  position: relative;
  height: 220px;
  background: var(--color-dark-medium);
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  background: var(--color-primary);
  color: var(--color-text);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.product-card__content {
  padding: 24px;
}

.product-card__category {
  font-size: 12px;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-card__title {
  font-size: 1.125rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.product-card__title a {
  color: var(--color-text);
}

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

.product-card__excerpt {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 500;
}

.product-card__link:hover {
  gap: 10px;
}

/* ========================================
   About Section
======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about__image img {
  width: 100%;
  height: auto;
}

.about__image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about__content {
  padding: 20px 0;
}

.about__title {
  margin-bottom: 24px;
}

.about__text {
  margin-bottom: 24px;
}

.about__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.about__feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about__feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  border-radius: var(--radius-md);
  color: var(--color-text);
  flex-shrink: 0;
}

.about__feature-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.about__feature-text {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

/* ========================================
   Stats Section
======================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.stat-item__value {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item__value span {
  color: var(--color-accent);
}

.stat-item__label {
  font-size: 16px;
  color: var(--color-text-muted);
}

/* ========================================
   Contact Section
======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  padding: 40px;
  background: var(--color-dark-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.contact-info__title {
  font-size: 1.5rem;
  margin-bottom: 32px;
}

.contact-info__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-info__item:last-child {
  border-bottom: none;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  border-radius: var(--radius-md);
  color: var(--color-text);
  flex-shrink: 0;
}

.contact-info__label {
  font-size: 14px;
  color: var(--color-text-dim);
  margin-bottom: 4px;
}

.contact-info__value {
  font-size: 16px;
  color: var(--color-text);
  font-weight: 500;
}

.contact-info__value a {
  color: var(--color-text);
}

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

/* Contact Form */
.contact-form {
  padding: 40px;
  background: var(--color-dark-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.contact-form__title {
  font-size: 1.5rem;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

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

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--color-dark);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 15px;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(1, 68, 112, 0.2);
}

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

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

/* ========================================
   Footer
======================================== */
.footer {
  background: var(--color-dark-light);
  border-top: 1px solid var(--color-border);
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}

.footer__about {
  padding-right: 40px;
}

.footer__logo {
  margin-bottom: 20px;
}

.footer__logo img,
.footer__logo svg {
  height: 50px;
  width: auto;
}

.footer__description {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-dark-medium);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--color-primary);
  color: var(--color-text);
}

.footer__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--color-text);
}

.footer__menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__menu li {
  margin-bottom: 12px;
}

.footer__menu a {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

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

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer__contact-icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__contact-text {
  font-size: 14px;
  color: var(--color-text-muted);
}

.footer__contact-text a {
  color: var(--color-text-muted);
}

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

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding: 24px 0;
  text-align: center;
}

.footer__copyright {
  font-size: 14px;
  color: var(--color-text-dim);
  margin: 0;
}

/* ========================================
   Breadcrumbs
======================================== */
.breadcrumbs {
  padding: 20px 0;
  background: var(--color-dark-light);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.breadcrumbs__item::after {
  content: '/';
  color: var(--color-text-dim);
}

.breadcrumbs__item:last-child::after {
  display: none;
}

.breadcrumbs__link {
  color: var(--color-text-muted);
}

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

.breadcrumbs__current {
  color: var(--color-text);
}

/* ========================================
   Page Header
======================================== */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary-dark) 100%);
}

.page-header__title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 16px;
}

.page-header__description {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 600px;
}

/* ========================================
   Sidebar
======================================== */
.sidebar {
  padding: 30px;
  background: var(--color-dark-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.sidebar__widget {
  margin-bottom: 30px;
}

.sidebar__widget:last-child {
  margin-bottom: 0;
}

.sidebar__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.sidebar__menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar__menu li {
  margin-bottom: 8px;
}

.sidebar__menu a {
  display: block;
  padding: 10px 12px;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.sidebar__menu a:hover,
.sidebar__menu a.active {
  background: var(--color-dark-medium);
  color: var(--color-text);
}

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

.pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  background: var(--color-dark-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: 15px;
  transition: all var(--transition-fast);
}

.pagination__link:hover,
.pagination__link.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text);
}

.pagination__link.prev,
.pagination__link.next {
  gap: 8px;
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1200px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  :root {
    --header-height: 80px;
  }
  
  .header__menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: var(--color-dark-light);
    padding: 20px;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
  }
  
  .header__menu.active {
    transform: translateX(0);
  }
  
  .header__toggle {
    display: flex;
  }
  
  .menu__link {
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
  }
  
  .menu__sub-list {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    padding: 0 0 0 20px;
    box-shadow: none;
    display: none;
  }
  
  .menu__item.open .menu__sub-list {
    display: block;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .hero__stats {
    flex-direction: column;
    gap: 30px;
  }
  
  .hero__stat-value {
    font-size: 36px;
  }
  
  .about__features {
    grid-template-columns: 1fr;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
  }
  
  .footer__about {
    padding-right: 0;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .hero__buttons {
    flex-direction: column;
  }
  
  .hero__buttons .btn {
    width: 100%;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Utility Classes
======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
