/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #C8201A;
  --red-dark: #a01814;
  --red-light: #f5e8e8;
  --black: #111111;
  --gray-dark: #333333;
  --gray-mid: #666666;
  --gray-light: #f4f4f4;
  --white: #ffffff;
  --border: #e0e0e0;
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
  --radius: 10px;
  --font: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--red);
}

.btn-outline-dark {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline-dark:hover {
  background: var(--red);
  color: var(--white);
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--red);
  text-transform: uppercase;
}
.logo span { color: var(--black); }

.site-nav ul {
  display: flex;
  gap: 36px;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  transition: opacity 0.4s;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 680px;
}

.hero-brand {
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-brand::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 22px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}

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

/* === SECTION HEADERS === */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-light); }

.section-tag {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 14px;
  line-height: 1.18;
}

.section-lead {
  font-size: 1.03rem;
  color: var(--gray-mid);
  max-width: 560px;
  line-height: 1.7;
}

.section-header { margin-bottom: 50px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-lead { margin: 0 auto; }

/* Divider accent */
.divider {
  width: 46px;
  height: 3px;
  background: var(--red);
  margin: 14px 0 0;
  border-radius: 2px;
}
.section-header.centered .divider { margin: 14px auto 0; }

/* === PRODUCT PREVIEW (HOME) === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.15);
}

.product-img-wrap {
  overflow: hidden;
  aspect-ratio: 4/3;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.product-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-diameter {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 6px;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--gray-mid);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: gap var(--transition);
}
.product-link:hover { gap: 10px; }
.product-link::after { content: '→'; }

/* === FEATURES === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--red);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--red-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-title {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
}
.feature-desc {
  font-size: 0.88rem;
  color: var(--gray-mid);
  line-height: 1.65;
}

/* === APPLICATIONS === */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.app-card {
  background: var(--black);
  border-radius: var(--radius);
  padding: 30px 22px;
  color: var(--white);
  text-align: center;
  border-top: 3px solid var(--red);
  transition: background var(--transition);
}
.app-card:hover { background: var(--red); }

.app-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.app-name {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* === CTA === */
.cta-section {
  background: var(--black);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.cta-section .section-title { color: var(--white); }
.cta-section .section-lead { color: rgba(255,255,255,0.7); margin: 0 auto 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === PRODUCTS PAGE === */
.products-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-detail-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-detail-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
}

.product-detail-img {
  overflow: hidden;
  aspect-ratio: 3/4;
}
.product-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.product-detail-card:hover .product-detail-img img { transform: scale(1.04); }

.product-detail-body {
  padding: 24px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-series-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.product-detail-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 14px;
}

.product-specs {
  margin-bottom: 18px;
}
.product-specs li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-dark);
  padding: 5px 0;
  border-bottom: 1px solid var(--gray-light);
  line-height: 1.5;
}
.product-specs li:last-child { border-bottom: none; }
.spec-dot {
  display: block;
  width: 6px;
  height: 6px;
  min-width: 6px;
  background: var(--red);
  border-radius: 50%;
  margin-top: 6px;
}

.product-detail-desc {
  font-size: 0.87rem;
  color: var(--gray-mid);
  line-height: 1.65;
  margin-bottom: 22px;
  flex: 1;
}

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

.about-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-text p {
  font-size: 0.97rem;
  color: var(--gray-dark);
  line-height: 1.78;
  margin-bottom: 18px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.value-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.value-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 6px;
}
.value-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-mid);
}

/* === CONTACT PAGE === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
}

.contact-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--black);
}

.contact-items { display: flex; flex-direction: column; gap: 18px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--gray-light);
  border-radius: 8px;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-mid);
  margin-bottom: 3px;
}
.contact-item-value {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--black);
  word-break: break-all;
}
.contact-item-value a { color: var(--red); }
.contact-item-value a:hover { text-decoration: underline; }

/* Form */
.contact-form-wrap h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--black);
}

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

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-mid);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.93rem;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200,32,26,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-note {
  font-size: 0.8rem;
  color: var(--gray-mid);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: var(--black);
  padding: 70px 0 60px;
  color: var(--white);
}
.page-hero-tag {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 12px;
}
.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.page-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* === FOOTER === */
.site-footer {
  background: #0e0e0e;
  color: rgba(255,255,255,0.65);
  padding: 52px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.footer-about {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.5);
}

.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.social-link:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--red); }

.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}
.footer-contact-item .fi {
  color: var(--red);
  min-width: 14px;
  margin-top: 2px;
  font-size: 0.8rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--red); }

/* === PRODUCT GALLERY STRIP (lightbox thumbnails) === */
.product-gallery-strip {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  background: var(--gray-light);
  justify-content: center;
  flex-wrap: wrap;
}
.product-gallery-strip a {
  display: block;
  width: 62px;
  height: 62px;
  overflow: hidden;
  border-radius: 5px;
  border: 2px solid transparent;
  transition: border-color var(--transition), opacity var(--transition);
  flex-shrink: 0;
  cursor: zoom-in;
}
.product-gallery-strip a:hover { border-color: var(--red); opacity: 1; }
.product-gallery-strip a.lb-current { border-color: var(--red); }
.product-gallery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.product-gallery-strip a:hover img { transform: scale(1.08); }

/* === UTILITIES === */
.text-red { color: var(--red); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }

/* === FILTER BAR (products page) === */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 30px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-mid);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .products-full-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 36px; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }

  .menu-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    padding: 12px 0;
  }
  .site-nav.open { display: block; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }
  .site-nav a {
    display: block;
    padding: 13px 24px;
    border-bottom: none;
  }
  .site-nav a:hover,
  .site-nav a.active {
    background: var(--red-light);
    color: var(--red);
    border-bottom: none;
  }

  .hero { min-height: 75vh; }

  .about-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: repeat(3, 1fr); }

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

  .products-grid { grid-template-columns: 1fr; }
  .products-full-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-btns { flex-direction: column; }
  .cta-btns { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .about-values { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
}
