/* ============================
   (주)대신전자기술 - Global Styles
   ============================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  color: #1f2937;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================
   Container
   ============================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* ============================
   Header
   ============================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 80px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.header--transparent {
  background: transparent;
}

.header--solid {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.header__logo img {
  height: 30px;
  width: auto;
  transition: filter 0.3s;
}

.header__logo-accent {
  font-weight: 700;
  color: #2563eb;
  font-size: 1.25rem;
}

.header--transparent .header__logo { color: #fff; }
.header--transparent .header__logo img { filter: brightness(0) invert(1); }
.header--solid .header__logo { color: #1f2937; }
.header--solid .header__logo img { filter: brightness(0); }

/* Desktop Nav */
.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav { display: flex; }
}

.nav__item {
  position: relative;
  padding: 0.5rem 0;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.header--transparent .nav__link { color: rgba(255,255,255,0.9); }
.header--solid .nav__link { color: #374151; }

.nav__link:hover,
.nav__link--active {
  color: #2563eb !important;
}

.nav__arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.nav__item:hover .nav__arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  padding: 0.5rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
}

.nav__item:hover .dropdown {
  opacity: 1;
  visibility: visible;
}

.dropdown__link {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  color: #4b5563;
  transition: all 0.15s;
}

.dropdown__link:hover {
  background: #eff6ff;
  color: #2563eb;
}

/* Mobile Menu Button */
.mobile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}

.header--transparent .mobile-btn { color: #fff; }
.header--solid .mobile-btn { color: #1f2937; }

@media (min-width: 768px) {
  .mobile-btn { display: none; }
}

.mobile-btn svg {
  width: 24px;
  height: 24px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
}

.mobile-menu--open {
  visibility: visible;
  opacity: 1;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 80vw;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-menu--open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}

.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  color: #6b7280;
}

.mobile-menu__close svg {
  width: 24px;
  height: 24px;
}

.mobile-menu__nav {
  padding: 1rem 0;
}

.mobile-menu__link {
  display: block;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
  transition: color 0.2s;
}

.mobile-menu__link:hover,
.mobile-menu__link--active {
  color: #2563eb;
}

.mobile-menu__sub {
  padding-left: 1rem;
  background: #f9fafb;
}

.mobile-menu__sublink {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  color: #6b7280;
  transition: color 0.2s;
}

.mobile-menu__sublink:hover {
  color: #2563eb;
}

.mobile-menu__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
  font-family: inherit;
}

.mobile-menu__toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.mobile-menu__toggle--open svg {
  transform: rotate(180deg);
}

/* ============================
   Hero Slider
   ============================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
}

.hero .swiper {
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg--1 {
  background: url('../images/products/bg1.png') center/cover no-repeat;
}
.hero__bg--2 {
  background: url('../images/products/bg2.png') center/cover no-repeat;
}
.hero__bg--3 {
  background: url('../images/products/bg3.png') center/cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

.hero__overlay--dark {
  background: rgba(0,0,0,0.55);
}

/* Hero 3-section layout (Slide 2) */
.hero__layout--2col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__layout--2col .hero__content {
  text-align: center;
  flex: 0 0 auto;
  max-width: 320px;
}

.hero__side--images {
  flex: 1 1 0;
  min-width: 0;
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.hero__side--left2 {
  justify-content: flex-start;
}

.hero__side--right2 {
  justify-content: flex-end;
}

.hero__row-img {
  max-width: 100%;
  max-height: 120px;
  width: auto;
  object-fit: contain;
  flex-shrink: 1;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
}

@media (min-width: 1024px) {
  .hero__side.hero__side--images {
    display: flex;
  }

  .hero__side.hero__side--left2 {
    justify-content: flex-start;
  }

  .hero__side.hero__side--right2 {
    justify-content: flex-end;
  }

  .hero__layout--2col {
    gap: 4rem;
  }
}

@media (min-width: 1280px) {
  .hero__layout--2col {
    gap: 6rem;
  }

  .hero__row-img {
    max-height: 140px;
  }
}

/* Hero 3-column layout (Slide 1) */
.hero__layout {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 1280px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

.hero__side {
  flex: 1;
  display: none;
}

.hero__side-img {
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

@media (min-width: 1024px) {
  .hero__side {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero__side--left .hero__side-img {
    max-height: 180px;
  }

  .hero__side--right .hero__side-img {
    max-height: 560px;
  }

  .hero__layout {
    gap: 4rem;
  }
}

@media (min-width: 1280px) {
  .hero__layout {
    gap: 5rem;
  }

  .hero__side--left .hero__side-img {
    max-height: 200px;
  }

  .hero__side--right .hero__side-img {
    max-height: 640px;
  }
}

.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1rem;
  max-width: 800px;
  flex-shrink: 0;
}

.hero__title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero__title { font-size: 3rem; }
  .hero__subtitle { font-size: 1.25rem; }
}

@media (min-width: 1024px) {
  .hero__title { font-size: 3.5rem; }
}

/* Swiper Pagination */
.hero .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.5);
  opacity: 1;
}

.hero .swiper-pagination-bullet-active {
  background: #3b82f6;
  transform: scale(1.2);
}

/* ============================
   Buttons
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 500;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.btn--primary {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.btn--primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.btn--outline:hover {
  background: #fff;
  color: #1E3A5F;
  border-color: #fff;
}

.btn--md {
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

/* ============================
   Section Titles
   ============================ */
.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.divisions-section > .container,
.products-section > .container,
.clients-section > .container {
  width: 100%;
  position: relative;
  z-index: 1;
}

.section-title--large {
  font-size: 2.25rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
}

.section-title__sub {
  font-size: 1.0625rem;
  color: #6b7280;
  margin-top: 0.75rem;
}

.section-title__heading {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}

.section-title__bar {
  width: 4rem;
  height: 4px;
  background: #2563eb;
  border-radius: 2px;
  margin: 0 auto 1rem;
}

.section-title__sub {
  font-size: 1.0625rem;
  color: #6b7280;
}

/* ============================
   Page Hero (sub pages)
   ============================ */
.page-hero {
  position: relative;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1E3A5F, #2563EB);
}

@media (min-width: 768px) {
  .page-hero { height: 320px; }
}

.page-hero__title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
}

.page-hero__subtitle {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.8);
  margin-top: 0.5rem;
}

/* ============================
   Division Cards (Home)
   ============================ */
.divisions-section {
  padding: 7rem 0;
  background: #fff;
  display: flex;
  align-items: center;
  min-height: auto;
}

.divisions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .divisions-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Flip Card Container */
.division-flip {
  perspective: 1000px;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  height: 280px;
}

.division-flip__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}

.division-flip:hover .division-flip__inner {
  transform: rotateX(180deg);
}

/* Front & Back shared */
.division-flip__front,
.division-flip__back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 2rem;
}

/* Front */
.division-flip__front {
  box-shadow: 0 8px 24px rgba(28, 41, 96, 0.25);
  transform-style: flat;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1C2960;
}

/* Back */
.division-flip__back {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f8f9fa;
  box-shadow: 0 8px 24px rgba(28, 41, 96, 0.3);
  transform: rotateX(180deg);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.division-flip__back-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 1rem;
  transition: background 0.3s;
}

.division-flip:hover .division-flip__back-overlay {
  background: rgba(0, 0, 0, 0.45);
}

.division-flip__btn {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #2563EB;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: background 0.3s, transform 0.3s;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.division-flip:hover .division-flip__btn {
  background: #1d4ed8;
  transform: scale(1.05);
}

/* Front content styles */
.division-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.division-card__icon svg {
  width: 32px;
  height: 32px;
  stroke: #fff;
}

.division-card__name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.6);
}

.division-card__desc {
  font-size: 0.9375rem;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 0 16px rgba(0, 0, 0, 0.5);
  margin-bottom: 0;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 768px) {
  .division-flip {
    height: 250px;
  }
}

/* ============================
   Clients Section
   ============================ */
.clients-section {
  padding: 7rem 0;
  background: url('../images/background/main_companies.jpg') center/cover no-repeat fixed;
  position: relative;
  display: flex;
  align-items: center;
  min-height: auto;
}

.clients-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
}

/* Marquee */
.clients-marquee {
  overflow: clip visible;
  width: 100%;
  padding-bottom: 1.5rem;
}

.clients-marquee__track {
  display: flex;
  gap: 1.5rem;
  animation: marquee 40s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-card {
  flex: 0 0 200px;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}

.client-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.client-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.client-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: #2563eb;
}

.client-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.client-card__desc {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .section-title--large {
    font-size: 1.875rem;
  }

  .client-card {
    flex: 0 0 170px;
    padding: 1.5rem 1rem;
  }
}

/* ============================
   Products (Home & Division)
   ============================ */
.products-section {
  padding: 7rem 0;
  background: #fff;
  display: flex;
  align-items: center;
  min-height: auto;
}

.products-section--alt {
  background: #f9fafb;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .products-grid--home { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: box-shadow 0.05s, transform 0.05s;
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1C2960, #2563EB);
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover {
  box-shadow: 0 16px 40px rgba(28, 41, 96, 0.18), 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-6px);
}

.product-card:hover::after {
  opacity: 1;
}

.product-card__image {
  height: 280px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
  overflow: hidden;
  position: relative;
  border-bottom: none;
}

.product-card__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c5cad3 30%, #a0a7b5 50%, #c5cad3 70%, transparent);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.product-card__image img.img--contain {
  object-fit: contain;
  padding: 2rem;
}

.product-card:hover .product-card__image img {
  transform: scale(1.08);
}

.product-card__image svg {
  width: 48px;
  height: 48px;
}

.product-card__body {
  padding: 1.5rem;
  border-top: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-card__badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-card__name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1C2960;
  margin-top: 1rem;
}

.product-card__desc {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.product-card__tag {
  font-size: 0.75rem;
  background: linear-gradient(135deg, #eef0f7, #e8ecf4);
  color: #1C2960;
  border-radius: 9999px;
  padding: 0.45rem 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  border: 1px solid rgba(28, 41, 96, 0.08);
}

.product-card__features {
  margin-top: 1rem;
}

.product-card__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
  font-size: 0.875rem;
  color: #4b5563;
}

.product-card__feature svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ============================
   Company Brief (Home)
   ============================ */
.company-brief {
  padding: 6rem 0;
  background: #1E3A5F;
  color: #fff;
}

.company-brief__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .company-brief__grid { grid-template-columns: 1fr 1fr; }
}

.company-brief__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #60a5fa;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.company-brief__heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .company-brief__heading { font-size: 2.5rem; }
}

.company-brief__text {
  color: #9ca3af;
  line-height: 1.8;
}

.company-brief__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.company-brief__stat-num {
  font-size: 1.875rem;
  font-weight: 700;
  color: #60a5fa;
}

.company-brief__stat-label {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-top: 0.25rem;
}

.company-brief__visual {
  border-radius: 1rem;
  background: rgba(255,255,255,0.1);
  padding: 2rem;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
}

.company-brief__visual svg {
  width: 120px;
  height: 120px;
}

/* ============================
   Division Hero
   ============================ */
.division-hero {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .division-hero { height: 400px; }
}

.division-hero__bg {
  position: absolute;
  inset: 0;
}

.division-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.division-hero__content {
  position: relative;
  z-index: 10;
  text-align: left;
  width: 100%;
  margin-top: 3rem;
}

.division-hero__en {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
}

.division-hero__name {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .division-hero__name { font-size: 3rem; }
}

.division-hero__desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
}

/* Division Intro */
.division-intro {
  padding: 5rem 0;
  text-align: center;
}

.division-intro__heading {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.division-intro__bar {
  width: 4rem;
  height: 4px;
  border-radius: 2px;
  margin: 0 auto 2rem;
}

.division-intro__text {
  font-size: 1.0625rem;
  color: #6b7280;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* ============================
   Company Sub-page Tabs
   ============================ */
.company-tabs {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.company-tabs__list {
  display: flex;
  gap: 0;
}

.company-tabs__item {
  padding: 1rem 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}

.company-tabs__item:hover {
  color: #2563eb;
}

.company-tabs__item--active {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

/* Company Content */
.company-content {
  padding: 4rem 0 5rem;
  background: #f9fafb;
}

/* Greeting Page */
.greeting__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.greeting__bar {
  width: 4rem;
  height: 4px;
  background: #2563eb;
  border-radius: 2px;
  margin-bottom: 2.5rem;
}

.greeting__body p {
  font-size: 1.0625rem;
  color: #4b5563;
  line-height: 2;
  margin-bottom: 1.25rem;
}

.greeting__sign {
  margin-top: 2.5rem;
  font-size: 1.0625rem;
  color: #111827;
  line-height: 1.8;
}

/* History Page - 2-Column Timeline */
.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.history-grid__col {
  position: relative;
  padding-left: 7rem;
}

.history-grid__col::before {
  content: '';
  position: absolute;
  top: 0.35rem;
  bottom: 0;
  left: 6rem;
  width: 3px;
  transform: translateX(-50%);
  background: #2563eb;
  border-radius: 2px;
}

.history-grid__item {
  position: relative;
  padding: 0 0 2rem 1.5rem;
}

.history-grid__item::before {
  content: '';
  position: absolute;
  top: 0.35rem;
  left: -1rem;
  width: 12px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #2563eb;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #2563eb;
  z-index: 1;
}

.history-grid__year {
  position: absolute;
  right: calc(100% + 2.5rem);
  top: 0.1rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #1C2960;
  white-space: nowrap;
  text-align: right;
}

.history-grid__details p {
  font-size: 0.85rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 0.15rem;
}

@media (max-width: 768px) {
  .history-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .history-grid__col:last-child {
    margin-top: 1rem;
  }
}

/* Certification Page */
.certification__section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1C2960;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #2563eb;
}

.certification__section-title:not(:first-child) {
  margin-top: 3rem;
}

.certification__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .certification__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .certification__grid { grid-template-columns: repeat(3, 1fr); }
}

.certification__card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.2s;
}

.certification__card:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
  transform: translateY(-2px);
}

.certification__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.certification__icon svg {
  width: 28px;
  height: 28px;
  stroke: #2563eb;
}

.certification__name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.certification__desc {
  font-size: 0.875rem;
  color: #6b7280;
}

/* ============================
   Company Page (old)
   ============================ */
.company-overview {
  padding: 5rem 0;
}

.company-overview__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .company-overview__grid { grid-template-columns: 1fr 1fr; }
}

.company-overview__heading {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.company-overview__text {
  color: #6b7280;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.company-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.company-info-item {
  display: flex;
  gap: 1rem;
}

.company-info-item__label {
  font-weight: 600;
  color: #111827;
  width: 100px;
  flex-shrink: 0;
}

.company-info-item__value {
  color: #6b7280;
}

.company-overview__visual {
  border-radius: 1rem;
  background: #f3f4f6;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
}

.company-overview__visual svg {
  width: 100px;
  height: 100px;
}

/* CEO Greeting */
.ceo-section {
  padding: 5rem 0;
  background: #f9fafb;
}

.ceo-section__text {
  font-size: 1.0625rem;
  color: #6b7280;
  line-height: 1.9;
  max-width: 800px;
  margin: 0 auto;
}

.ceo-section__sign {
  text-align: right;
  margin-top: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.ceo-section__name {
  font-weight: 700;
  color: #111827;
  font-size: 1.125rem;
}

.ceo-section__title {
  color: #6b7280;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Core Values */
.core-values {
  padding: 5rem 0;
}

.core-values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .core-values__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .core-values__grid { grid-template-columns: repeat(4, 1fr); }
}

.core-value {
  text-align: center;
  padding: 2rem;
}

.core-value__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #2563eb;
}

.core-value__icon svg {
  width: 28px;
  height: 28px;
}

.core-value__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}

.core-value__desc {
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.7;
}

/* ============================
   Contact Page
   ============================ */
.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-heading {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #2563eb;
}

.contact-item__icon svg {
  width: 20px;
  height: 20px;
}

.contact-item__label {
  font-weight: 600;
  color: #111827;
}

.contact-item__value {
  color: #6b7280;
  margin-top: 0.25rem;
}

.contact-map {
  border-radius: 0.75rem;
  background: #f3f4f6;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  gap: 1rem;
  overflow: hidden;
}

.contact-map svg {
  width: 48px;
  height: 48px;
}

/* ============================
   Footer
   ============================ */
.footer {
  background: #1E3A5F;
  color: #fff;
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid--spread { grid-template-columns: auto 1fr; align-items: start; }
}

.footer__col--right {
  display: flex;
  justify-content: flex-end;
}

.footer__heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer__company-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer__company-en {
  font-size: 0.8125rem;
  color: #9ca3af;
}

.footer__company-desc {
  color: #9ca3af;
  margin-top: 1rem;
  font-size: 0.9375rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  color: #9ca3af;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.footer__link:hover {
  color: #fff;
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #9ca3af;
  font-size: 0.9375rem;
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 3rem;
  padding: 2rem 0;
  text-align: center;
  color: #9ca3af;
  font-size: 0.8125rem;
}

/* ============================
   Downloads Page
   ============================ */
.downloads-section {
  padding: 4rem 0 5rem;
  background: #f9fafb;
}

.downloads-accordion {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.downloads-accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem 1rem;
  border: none;
  background: none;
  cursor: pointer;
  transition: background 0.2s;
}
.downloads-accordion__header:hover {
  background: #f9fafb;
}
.downloads-accordion__header--active:hover {
  background: #f0f4ff;
}
.downloads-accordion__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}
.downloads-accordion__arrow {
  width: 20px;
  height: 20px;
  stroke: #6b7280;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.downloads-accordion__header--active {
  background: #f0f4ff;
  border-bottom: 1px solid #e5e7eb;
}
.downloads-accordion__header--active .downloads-accordion__title {
  color: #2563eb;
}
.downloads-accordion__header--active .downloads-accordion__arrow {
  transform: rotate(180deg);
  stroke: #2563eb;
}
.downloads-accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.downloads-accordion__body--open {
  max-height: 1000px;
}
.downloads-accordion__body > .downloads-grid,
.downloads-accordion__body > .downloads-group__subtitle {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.downloads-accordion__body > .downloads-grid {
  padding-bottom: 1.5rem;
}
.downloads-accordion__body > .downloads-grid:first-child {
  padding-top: 1.5rem;
}

.downloads-group {
  margin-bottom: 3rem;
}

.downloads-group:last-child {
  margin-bottom: 0;
}

.downloads-group__title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.downloads-group__subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
  padding-left: 0.25rem;
}
.downloads-group__subtitle:first-of-type {
  margin-top: 0;
}

.downloads-group__icon {
  width: 24px;
  height: 24px;
  stroke: #2563eb;
  flex-shrink: 0;
}

.downloads-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .downloads-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .downloads-grid { grid-template-columns: repeat(3, 1fr); }
  .downloads-grid--2col { grid-template-columns: repeat(2, 1fr); max-width: 66.666%; }
  .downloads-grid--4col { grid-template-columns: repeat(4, 1fr); }
}

.download-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

.download-card:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
  transform: translateY(-2px);
}

.download-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: #2563eb;
}

.download-card__icon--software {
  background: rgba(16, 185, 129, 0.08);
}

.download-card__icon--software svg {
  stroke: #10b981;
}

.download-card__icon--app {
  background: #fff;
  border: none;
  box-shadow: none;
}

.download-card__icon--app svg {
  width: 32px;
  height: 32px;
  stroke: none;
}

.download-card__icon--link {
  background: #fff;
  border: 1px solid #d1d5db;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
}
.download-card__favicon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
}
.download-card__favicon--pdf {
  object-fit: contain;
  padding: 4px;
}
.download-card__favicon--small {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 0;
}

.download-card__icon--pdf {
  background: #fff;
  border: 1px solid #d1d5db;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
}
.download-card__icon--pdf svg {
  fill: #ef4444;
  width: 26px;
  height: 26px;
}

.download-card__icon--image {
  background: #fff;
  border: 1px solid #d1d5db;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
}
.download-card__icon--image svg {
  width: 26px;
  height: 26px;
  stroke: #6366f1;
}

.download-card__icon--catalog {
  background: rgba(245, 158, 11, 0.08);
}

.download-card__icon--catalog svg {
  stroke: #f59e0b;
}

.download-card__info {
  min-width: 0;
}

.download-card__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
}

.download-card__meta {
  font-size: 0.8125rem;
  color: #9ca3af;
  margin-top: 0.25rem;
  display: block;
}

.downloads-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .downloads-video-grid { grid-template-columns: repeat(2, 1fr); }
}

.downloads-video__embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: #000;
}

.downloads-video__embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.downloads-video__title {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-top: 0.75rem;
  text-align: center;
}

/* ============================
   Products Filter Tabs
   ============================ */
.products-filter {
  background: #fff;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.filter-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-tab {
  padding: 0.75rem 2rem;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  background: #fff;
  color: #6b7280;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.filter-tab:hover {
  border-color: #2563eb;
  color: #2563eb;
  box-shadow: 0 2px 8px rgba(37,99,235,0.15);
}

.filter-tab--active {
  background: linear-gradient(to bottom, #2563eb, #1d4ed8);
  border-color: #1d4ed8;
  color: #fff;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}
.filter-tab--active:hover {
  background: linear-gradient(to bottom, #2563eb, #1d4ed8);
  border-color: #3b82f6;
  color: #fff;
  box-shadow: 0 3px 12px rgba(37,99,235,0.4), 0 0 14px rgba(59,130,246,0.25);
}

/* Products Grid - All Products Page */
.products-grid--all {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .products-grid--all { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .products-grid--all { grid-template-columns: repeat(4, 1fr); }
}

.product-card--link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

/* ============================
   Product Detail Page
   ============================ */
.product-detail {
  padding: 4rem 0;
}

.product-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  justify-items: center;
}

@media (min-width: 768px) {
  .product-detail__grid { grid-template-columns: 1fr 1fr; }
}

.product-detail__gallery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.product-detail__info {
  width: 100%;
}

.product-detail__image-area {
  background: #f9fafb;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 320px;
  border: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
}

.product-detail__image-area img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-detail__image-area--fill img {
  position: absolute;
  inset: 0;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__image-area--enlarge {
  padding: 0.5rem;
}

.product-detail__image-area--enlarge img {
  max-height: 100%;
}

/* Gallery navigation arrows */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: 1px solid #e5e7eb;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
  z-index: 2;
}
.gallery-nav svg { width: 18px; height: 18px; color: #374151; }
.gallery-nav--prev { left: 0.75rem; }
.gallery-nav--next { right: 0.75rem; }
.product-detail__image-area:hover .gallery-nav { opacity: 1; }
.gallery-nav:hover { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }

/* Thumbnail strip */
.product-detail__thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}
.product-detail__thumbs::-webkit-scrollbar { height: 4px; }
.product-detail__thumbs::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 2px; }

.product-detail__thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 0.5rem;
  border: 2px solid transparent;
  background: #f9fafb;
  cursor: pointer;
  padding: 4px;
  transition: border-color 0.2s;
  overflow: hidden;
}
.product-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.25rem;
}
.product-detail__thumb--fill { padding: 0; }
.product-detail__thumb--fill img { border-radius: 0.375rem; }
.product-detail__thumb:hover { border-color: #93c5fd; }
.product-detail__thumb.active { border-color: #2563EB; }

.product-detail__category {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-detail__name {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1C2960;
  margin-top: 0.5rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .product-detail__name { font-size: 2rem; }
}

.product-detail__desc {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.8;
  margin-top: 1.25rem;
}

.product-detail__features {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.product-detail__features-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.product-detail__feature-list {
  list-style: none;
  padding: 0;
}

.product-detail__feature-list li {
  position: relative;
  padding-left: 1.5rem;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.6;
}

.product-detail__feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2563eb;
}

.product-detail__specs {
  margin-top: 6rem;
}

.product-detail__specs-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.spec-table th,
.spec-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.9375rem;
  border-bottom: 1px solid #e5e7eb;
}

.spec-table th {
  background: #f9fafb;
  color: #374151;
  font-weight: 600;
  width: 30%;
  white-space: nowrap;
}

.spec-table td {
  color: #4b5563;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

/* Installation photo gallery */
/* Product components section */
.product-detail__specs {
  padding: 2.5rem;
  border-radius: 0.75rem;
  background: #f8f9fb;
}

.product-detail__components {
  margin-top: 6rem;
}

.component-section {
  margin-top: 2.5rem;
}

.component-section:first-child {
  margin-top: 0;
}

.component-section__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1rem;
  padding-left: 0.75rem;
  border-left: 3px solid #2563EB;
}

.component-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .component-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .component-gallery { grid-template-columns: repeat(4, 1fr); }
}

.component-gallery__item {
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.component-gallery__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.component-gallery__item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-detail__install {
  margin-top: 6rem;
}

.install-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .install-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .install-gallery { grid-template-columns: repeat(4, 1fr); }
}

.install-gallery__item {
  border-radius: 0.5rem;
  overflow: hidden;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.install-gallery__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.install-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lightbox overlay */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.lightbox--open {
  opacity: 1;
  visibility: visible;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 0.5rem;
}
.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__close svg { width: 24px; height: 24px; color: #fff; }
.lightbox__close:hover { background: rgba(255,255,255,0.3); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__nav svg { width: 24px; height: 24px; color: #fff; }
.lightbox__nav:hover { background: rgba(255,255,255,0.3); }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

.product-detail__back {
  margin-top: 3rem;
  text-align: center;
}

.btn--outline {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 2rem;
  border: 2px solid #d1d5db;
  border-radius: 0.5rem;
  background: transparent;
  color: #374151;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn--outline:hover {
  border-color: #2563eb;
  color: #2563eb;
}

/* ============================
   Scroll Reveal Animation
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.division-flip.reveal:nth-child(2) { transition-delay: 0.15s; }
.division-flip.reveal:nth-child(3) { transition-delay: 0.3s; }

.product-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.product-card.reveal:nth-child(3) { transition-delay: 0.2s; }
.product-card.reveal:nth-child(4) { transition-delay: 0.3s; }
.product-card.reveal:nth-child(5) { transition-delay: 0.4s; }
.product-card.reveal:nth-child(6) { transition-delay: 0.5s; }

.certification__card.reveal:nth-child(2) { transition-delay: 0.1s; }
.certification__card.reveal:nth-child(3) { transition-delay: 0.2s; }
.certification__card.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ============================
   Quote Page
   ============================ */
.quote-section {
  padding: 4rem 0 5rem;
}

.quote-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 0.75rem;
  margin-bottom: 2.5rem;
}

.quote-info__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #2563eb;
  margin-top: 2px;
}

.quote-info__icon svg {
  width: 24px;
  height: 24px;
}

.quote-info__title {
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 0.25rem;
}

.quote-info__text {
  color: #3b82f6;
  font-size: 0.9rem;
  line-height: 1.6;
}

.quote-form__section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.quote-form__heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e5e7eb;
}

.quote-form__heading svg {
  width: 24px;
  height: 24px;
  color: #2563eb;
  flex-shrink: 0;
}

.quote-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .quote-form__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.quote-product {
  padding: 1.25rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.quote-product__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.quote-product__number {
  font-size: 0.875rem;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
}

.quote-product__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .quote-product__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.quote-product__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #fecaca;
  border-radius: 0.5rem;
  background: #fff;
  color: #ef4444;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.quote-product__remove:hover {
  background: #fef2f2;
  border-color: #f87171;
}

.quote-product__remove svg {
  width: 18px;
  height: 18px;
}

.quote-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.quote-field__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}

.quote-field__required {
  color: #ef4444;
}

.quote-field__input,
.quote-field__select,
.quote-field__textarea {
  padding: 0.7rem 0.875rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  color: #111827;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.quote-field__input:focus,
.quote-field__select:focus,
.quote-field__textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.quote-field__input::placeholder,
.quote-field__textarea::placeholder {
  color: #9ca3af;
}

.quote-field__textarea {
  resize: vertical;
  min-height: 100px;
}

.quote-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border: 2px dashed #d1d5db;
  border-radius: 0.5rem;
  background: transparent;
  color: #6b7280;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  margin-top: 0.5rem;
}

.quote-add-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: #eff6ff;
}

.quote-add-btn svg {
  width: 20px;
  height: 20px;
}

.quote-form__submit {
  text-align: center;
  margin-top: 2rem;
}

.quote-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2.5rem;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.quote-submit-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.quote-submit-btn svg {
  width: 20px;
  height: 20px;
}

.quote-form__notice {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: #9ca3af;
}

.quote-receive {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.25rem;
}

.quote-receive__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9375rem;
  color: #374151;
}

.quote-receive__option input[type="radio"] {
  display: none;
}

.quote-receive__radio {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  position: relative;
  transition: border-color 0.2s;
  flex-shrink: 0;
}

.quote-receive__option input[type="radio"]:checked + .quote-receive__radio {
  border-color: #2563eb;
}

.quote-receive__option input[type="radio"]:checked + .quote-receive__radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: #2563eb;
  border-radius: 50%;
}

.quote-field__hint {
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: #f59e0b;
}

/* ============================
   Quote Tabs
   ============================ */
.quote-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0;
}

.quote-tabs__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border: none;
  background: none;
  font-size: 1rem;
  font-weight: 600;
  color: #9ca3af;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}

.quote-tabs__btn:hover {
  color: #374151;
}

.quote-tabs__btn--active {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

.quote-tabs__btn svg {
  width: 20px;
  height: 20px;
}

/* ============================
   Price Lookup
   ============================ */
.price-lookup__header {
  text-align: center;
  margin-bottom: 2rem;
}

.price-lookup__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.price-lookup__desc {
  color: #6b7280;
  font-size: 0.9375rem;
}

.price-lookup__form {
  max-width: 560px;
  margin: 0 auto 3rem;
}

.price-lookup__fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
  .price-lookup__fields {
    grid-template-columns: 1fr;
  }
}

.price-result__card {
  background: #f0f9ff;
  border: 2px solid #bfdbfe;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.price-result__product,
.price-result__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #dbeafe;
}

.price-result__price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
}

.price-result__label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

.price-result__value {
  font-weight: 600;
  color: #111827;
}

.price-result__price {
  font-size: 1.5rem;
  font-weight: 800;
  color: #2563eb;
}

.price-result__notice {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: #9ca3af;
  text-align: center;
}

/* Price Table */
.price-table-wrap {
  margin-top: 1rem;
}

.price-table__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.price-table th {
  background: #f9fafb;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  border-bottom: 2px solid #e5e7eb;
}

.price-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
  vertical-align: middle;
}

.price-table tr:hover td {
  background: #f9fafb;
}

.price-table__price {
  font-weight: 700;
  color: #111827;
}

.price-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 700;
}

.price-type--a {
  background: #dbeafe;
  color: #2563eb;
}

.price-type--b {
  background: #fef3c7;
  color: #d97706;
}

@media (max-width: 600px) {
  .price-table {
    font-size: 0.8125rem;
  }
  .price-table th,
  .price-table td {
    padding: 0.5rem 0.625rem;
  }
  .quote-tabs__btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
}

