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

:root {
  --primary: #1a365d;
  --primary-light: #2a4a7f;
  --accent: #c53030;
  --accent-hover: #9b2c2c;
  --bg: #f7fafc;
  --bg-white: #ffffff;
  --text: #2d3748;
  --text-light: #718096;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius: 8px;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

.header {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 48px;
  width: auto;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.logo-text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.85;
}

.lang-switch {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.lang-switch a {
  color: rgba(255,255,255,0.8);
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  transition: all 0.2s;
}

.lang-switch a:hover,
.lang-switch a.active {
  color: #fff;
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #fff;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.nav {
  display: flex;
  align-items: center;
  flex: 1;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav .lang-switch {
  margin-left: auto;
}

.nav-list a {
  display: block;
  padding: 0.5rem 0.9rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

.nav-list a.active {
  background: rgba(255,255,255,0.15);
}

.page-title {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 2.5rem 0;
  margin-bottom: 2.5rem;
}

.page-title h1 {
  font-size: 2rem;
  font-weight: 700;
}

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.5rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span {
  color: #fff;
}

main {
  min-height: 60vh;
  padding-bottom: 3rem;
}

.section {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.section h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

.section h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin: 1.5rem 0 0.75rem;
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.hero-tagline {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  backdrop-filter: blur(4px);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.tag-cloud span {
  background: rgba(255,255,255,0.12);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.2);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.article-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}

.article-categories a {
  display: block;
  padding: 0.7rem 1rem;
  background: var(--bg);
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  transition: all 0.2s;
}

.article-categories a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

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

.contact-list {
  list-style: none;
}

.contact-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
}

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

.contact-list .label {
  font-weight: 600;
  min-width: 100px;
  color: var(--primary);
}

.hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
  max-width: 400px;
}

.hours-grid .day {
  font-weight: 600;
}

.products-list {
  columns: 3 220px;
  column-gap: 2rem;
}

.products-list ul {
  break-inside: avoid;
  list-style: none;
  margin-bottom: 1.5rem;
}

.products-list .letter {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.products-list li {
  padding: 0.15rem 0;
  font-size: 0.9rem;
}

.products-list li::before {
  content: '\2022';
  color: var(--primary);
  margin-right: 0.4rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.gallery img {
  border-radius: 6px;
  box-shadow: var(--shadow);
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}

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

.footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 0.35rem;
}

.footer a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.footer a:hover {
  color: #fff;
}

.footer p {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
  }

  .nav.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.25rem;
  }

  .nav-list a {
    padding: 0.7rem 1rem;
  }

  .header-inner {
    flex-wrap: wrap;
    position: relative;
  }

  .hero {
    padding: 2.5rem 0;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .page-title {
    padding: 1.5rem 0;
  }

  .page-title h1 {
    font-size: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .products-list {
    columns: 2 160px;
  }

  .section {
    padding: 1.25rem;
  }

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

@media (max-width: 480px) {
  .products-list {
    columns: 1;
  }

  .logo-text {
    font-size: 1rem;
  }

  .logo img {
    height: 36px;
  }
}
