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

:root {
  --bg: #e3f0fa;
  --bg-light: #f0f7fd;
  --white: #ffffff;
  --black: #111111;
  --dark: #1a2332;
  --primary: #1565c0;
  --primary-dark: #0d47a1;
  --primary-light: #42a5f5;
  --accent: #0288d1;
  --text: #2c3e50;
  --text-light: #5a6a7e;
  --border: #c5dff0;
  --shadow: 0 4px 24px rgba(21, 101, 192, 0.10);
  --shadow-lg: 0 12px 40px rgba(21, 101, 192, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* ── Top Bar ── */
.top-bar {
  background: var(--black);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar-left a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
}

.top-bar-left a:hover {
  color: #fff;
}

.top-divider {
  opacity: 0.3;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-location {
  opacity: 0.7;
}

/* ── Language Switcher (AirKraft style) ── */
.lang-switcher {
  position: relative;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 2px;
  transition: color var(--transition);
}

.lang-toggle:hover {
  color: #fff;
}

.lang-flag {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.25);
  display: block;
}

.lang-option .lang-flag {
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
}

.lang-option {
  text-decoration: none;
}

.lang-code {
  letter-spacing: 0.5px;
}

.lang-arrow {
  opacity: 0.7;
  transition: transform var(--transition);
}

.lang-switcher.open .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--transition);
  z-index: 300;
  overflow: hidden;
  border: 1px solid var(--border);
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text);
  transition: background var(--transition);
  text-align: left;
}

.lang-option:hover {
  background: var(--bg-light);
}

.lang-option.active {
  background: rgba(21,101,192,0.08);
  color: var(--primary);
  font-weight: 600;
}

.lang-option + .lang-option {
  border-top: 1px solid var(--border);
}

/* ── Header ── */
.header {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--dark);
}

.logo span {
  color: var(--primary);
}

.nav {
  display: flex;
  gap: 24px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-light);
  position: relative;
  padding: 4px 0;
}

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

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

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
}

/* ── Hero / Carousel ── */
.hero {
  position: relative;
  padding: 28px 0 0;
}

.carousel-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 48px rgba(13, 71, 161, 0.14);
  border: 1px solid rgba(21, 101, 192, 0.08);
}

.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: clamp(260px, 36vw, 480px);
  background: #fff;
}

.carousel::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(to top, rgba(13, 71, 161, 0.12) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.carousel-track {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.slide-image-only .slide-bg {
  background-color: #fff;
  background-size: contain;
  background-position: center;
}

.slide-image-only .slide-content {
  display: none;
}

.slide-bg-1 {
  background: linear-gradient(135deg, rgba(13,71,161,0.82) 0%, rgba(21,101,192,0.65) 100%),
    url('../images/banners/hero-1.jpg') center/cover no-repeat;
}

.slide-bg-2 {
  background: linear-gradient(135deg, rgba(26,35,50,0.85) 0%, rgba(21,101,192,0.6) 100%),
    url('../images/banners/hero-product.png') center/cover no-repeat;
}

.slide-bg-3 {
  background: linear-gradient(135deg, rgba(2,136,209,0.82) 0%, rgba(13,71,161,0.75) 100%),
    url('../images/banners/about.png') center/cover no-repeat;
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  max-width: 640px;
  padding-top: 40px;
}

.slide-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  width: fit-content;
}

.slide-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.slide-content p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 480px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  width: fit-content;
}

.btn-primary {
  background: #fff;
  color: var(--primary-dark);
}

.btn-primary:hover {
  background: var(--primary-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

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

.btn-dark:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--primary-dark);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(13, 71, 161, 0.18);
}

.carousel-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.05);
}

.carousel-prev { left: 18px; }
.carousel-next { right: 18px; }

.carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 20px rgba(13, 71, 161, 0.12);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(21, 101, 192, 0.28);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.dot.active {
  background: var(--primary);
  width: 26px;
  border-radius: 5px;
}

.carousel:has(.slide-image-only) .carousel-btn {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--primary-dark);
}

.carousel:has(.slide-image-only) .carousel-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.carousel:has(.slide-image-only) .carousel-dots .dot {
  background: rgba(21, 101, 192, 0.28);
}

.carousel:has(.slide-image-only) .carousel-dots .dot.active {
  background: var(--primary);
}

/* ── Stats ── */
.stats {
  background: var(--white);
  padding: 40px 0;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 5;
  margin-top: -1px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item span {
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ── Section Header ── */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  background: rgba(21,101,192,0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto;
}

/* ── Products ── */
.products {
  padding: 80px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(21, 101, 192, 0.08);
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(21, 101, 192, 0.18);
}

.product-card-img {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f7fbff 0%, #eef4fa 100%);
  border-bottom: 1px solid rgba(21, 101, 192, 0.08);
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform var(--transition);
}

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

.product-card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex: 1;
  text-align: center;
}

.product-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(21, 101, 192, 0.08);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1.2;
}

.product-card-body h3 {
  margin: 0;
  width: 100%;
  font-size: clamp(0.92rem, 2.1vw, 1.02rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.4em * 2);
}

.product-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 3px 10px;
  border-radius: 6px;
  background: #f1f5f9;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,71,161,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-link-text {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.product-body {
  padding: 24px;
}

.product-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.product-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
}

.subcategory-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.subcategory-tags li {
  background: var(--bg);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
}

/* ── Catalog ── */
.catalog {
  padding: 80px 0;
  background: var(--bg-light);
}

.catalog-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.catalog-text h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.catalog-text p {
  color: var(--text-light);
  margin-bottom: 28px;
}

.catalog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px dashed var(--border);
}

.catalog-card svg {
  color: var(--primary);
  margin: 0 auto 16px;
}

.catalog-card p {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.catalog-card span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ── About ── */
.about {
  padding: 80px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.about-content > p {
  color: var(--text-light);
  margin-bottom: 32px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(21,101,192,0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.feature-list strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 2px;
}

.feature-list span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.about-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.about-number {
  display: block;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.about-label {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
}

/* ── Contact ── */
.contact-section {
  padding: 48px 0 80px;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(21, 101, 192, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(13, 71, 161, 0.06), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #fff 45%, var(--bg-light) 100%);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.contact-info-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(21, 101, 192, 0.1);
  border-radius: 16px;
  padding: 20px 18px;
  box-shadow: 0 8px 28px rgba(26, 35, 50, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: contactRise 0.55s ease both;
}

.contact-info-card:nth-child(2) { animation-delay: 0.06s; }
.contact-info-card:nth-child(3) { animation-delay: 0.12s; }
.contact-info-card:nth-child(4) { animation-delay: 0.18s; }

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(26, 35, 50, 0.1);
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(21, 101, 192, 0.12), rgba(66, 165, 245, 0.18));
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon--wa {
  background: linear-gradient(145deg, rgba(37, 211, 102, 0.18), rgba(18, 140, 70, 0.12));
  color: #128c46;
}

.contact-info-card h3 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 0 0 6px;
}

.contact-info-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.45;
  font-weight: 600;
}

.contact-info-card a {
  color: var(--primary);
  font-weight: 700;
}

.contact-info-card a:hover {
  color: var(--primary-dark);
}

.contact-main {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.contact-form-panel,
.contact-map-panel {
  background: #fff;
  border: 1px solid rgba(21, 101, 192, 0.1);
  border-radius: 20px;
  padding: 28px 28px 32px;
  box-shadow: 0 12px 40px rgba(26, 35, 50, 0.07);
  animation: contactRise 0.6s ease 0.1s both;
}

.contact-form-panel h2,
.contact-map-panel h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.contact-form-lead {
  margin: 0 0 22px;
  color: var(--text-light);
  font-size: 0.92rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d7e2ef;
  border-radius: 12px;
  background: #f7fbff;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.92rem;
  color: var(--dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-light);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.12);
}

.contact-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.contact-submit {
  margin-top: 6px;
  background: var(--primary);
  color: #fff;
  border: 0;
  align-self: flex-start;
  padding: 13px 28px;
}

.contact-submit:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.contact-alert {
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-alert--ok {
  background: #e8f7ee;
  color: #146c2e;
  border: 1px solid #b7e4c7;
}

.contact-alert--err {
  background: #fdecec;
  color: #9b1c1c;
  border: 1px solid #f5c2c2;
}

.contact-map-panel .contact-map {
  margin-top: 14px;
  border-radius: 16px;
  overflow: hidden;
  min-height: 380px;
  background:
    linear-gradient(135deg, rgba(21, 101, 192, 0.08), transparent),
    #e8eef5;
  border: 1px solid #e1e8f0;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

@keyframes contactRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact {
  padding: 80px 0;
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
}

/* ── Footer ── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding-top: 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 12px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-links h5,
.footer-contact h5 {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}

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

.footer-contact p {
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.footer-contact a {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
}

.footer-bottom a {
  color: var(--primary-light);
}

/* ── Subcategory Page ── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  padding: 60px 0 80px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--bg);
  border-radius: 40px 40px 0 0;
}

.breadcrumb {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 16px;
}

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

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

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.page-hero p {
  opacity: 0.9;
  max-width: 560px;
}

.custom-page-content {
  padding: 48px 0 72px;
}

.custom-page-body {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text, #334155);
}

.custom-page-body h2,
.custom-page-body h3 {
  margin: 1.5em 0 0.6em;
  color: var(--heading, #0f172a);
}

.custom-page-body p {
  margin-bottom: 1em;
}

.custom-page-body ul,
.custom-page-body ol {
  margin: 0 0 1em 1.25em;
}

.custom-page-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.subcategory-nav {
  padding: 40px 0 20px;
}

.subcategory-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(21,101,192,0.3);
}

.subcategory-content {
  padding: 40px 0 80px;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Product detail (Foures-style) ── */
.pd-page {
  padding: 36px 0 64px;
  background: var(--white);
}

.pd-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.pd-title {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 640px;
}

.pd-search {
  display: flex;
  align-items: center;
  gap: 0;
  width: min(360px, 100%);
  min-width: 0;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 1;
}

.pd-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 12px 18px;
  font: inherit;
  font-size: 0.88rem;
  color: var(--dark);
  outline: none;
}

.pd-search button {
  border: 0;
  background: transparent;
  padding: 10px 16px;
  color: var(--text-light);
  cursor: pointer;
}

.pd-search button:hover {
  color: var(--primary);
}

.pd-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: start;
}

.pd-drawing {
  border: 1px solid #d1d5db;
  background: #fff;
  min-height: 420px;
}

.pd-drawing-label {
  padding: 14px 18px 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.02em;
}

.pd-drawing-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px 28px;
  min-height: 380px;
}

.pd-drawing-frame img {
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.pd-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pd-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pd-badge {
  background: #eceff1;
  border-radius: 10px;
  padding: 14px 16px;
  min-height: 72px;
}

.pd-badge-label {
  display: block;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pd-badge-value {
  display: block;
  color: #111;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.3;
}

.pd-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pd-table-card {
  border: 1px solid #cfd4da;
  background: #fff;
  overflow: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pd-ref-table {
  width: 100%;
  border-collapse: collapse;
}

.pd-ref-table thead tr:first-child th {
  background: #111;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  padding: 10px 12px;
  letter-spacing: 0.02em;
}

.pd-ref-table .pd-ref-subhead th {
  background: #fff;
  color: #111;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  padding: 8px 10px;
  border-bottom: 1px solid #cfd4da;
}

.pd-ref-table tbody td {
  text-align: center;
  padding: 10px 8px;
  font-size: 0.86rem;
  color: #222;
  border-bottom: 1px solid #e5e7eb;
  word-break: break-word;
}

.pd-ref-table tbody tr:nth-child(even) td {
  background: #f8fafc;
}

.pd-ref-table tbody tr:last-child td {
  border-bottom: none;
}

.pd-ref-table .pd-empty {
  color: var(--text-light);
  font-size: 0.82rem;
  padding: 18px 10px;
}

.pd-specs-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.86rem;
  color: var(--text-light);
}

.pd-specs-mini strong {
  color: var(--dark);
}

.pd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.pd-actions .btn-primary {
  background: var(--primary);
  color: #fff;
}

.pd-actions .btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.product-detail-image {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-light);
  background: linear-gradient(160deg, var(--bg-light), var(--white));
}

.product-placeholder svg {
  opacity: 0.4;
}

.product-detail-info h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.product-detail-info > p {
  color: var(--text-light);
  margin-bottom: 28px;
}

.spec-table-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 32px;
}

.spec-table-wrap h3 {
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 14px 24px;
  text-align: left;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
}

.spec-table th {
  background: rgba(21,101,192,0.06);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table tr:hover td {
  background: rgba(21,101,192,0.03);
}

.spec-table td:first-child {
  font-weight: 600;
  color: var(--dark);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.back-link:hover {
  color: var(--primary-dark);
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .nav {
    gap: 14px;
  }

  .nav-link {
    font-size: 0.85rem;
  }
}

@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-inner,
  .about-inner,
  .contact-grid,
  .contact-main,
  .contact-form-row,
  .product-detail-grid,
  .pd-layout,
  .pd-tables,
  .pd-badges {
    grid-template-columns: 1fr;
  }

  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pd-top {
    flex-direction: column;
  }

  .pd-search {
    width: 100%;
    max-width: none;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    z-index: 99;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .menu-toggle {
    display: flex;
  }

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

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

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

  .hero {
    padding: 16px 0 0;
  }

  .carousel-wrap {
    border-radius: 12px;
  }

  .carousel {
    height: clamp(210px, 48vw, 300px);
  }

  .carousel-prev { left: 10px; }
  .carousel-next { right: 10px; }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-dots {
    bottom: 12px;
    padding: 6px 10px;
  }

  .quick-links {
    margin-top: 20px;
    padding-bottom: 36px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .carousel-btn {
    display: none;
  }

  .top-bar-right {
    gap: 8px;
  }

  .top-location {
    display: none;
  }
}

@media (max-width: 480px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .pd-page {
    padding: 24px 0 48px;
  }

  .pd-drawing {
    min-height: auto;
  }

  .pd-drawing-frame {
    min-height: 240px;
    padding: 12px 14px 20px;
  }

  .pd-badge-value {
    font-size: 0.92rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .spec-table th,
  .spec-table td {
    padding: 10px 14px;
    font-size: 0.8rem;
  }
}

/* ── Mega Menu ── */
.nav-item { position: relative; }
.nav-item.has-dropdown > .nav-link { display: flex; align-items: center; gap: 4px; }
.nav-arrow { transition: transform var(--transition); }

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 720px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 200;
  padding: 28px 0;
  border: 1px solid var(--border);
}

.nav-item.has-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-item.has-dropdown:hover .nav-arrow { transform: rotate(180deg); }

.mega-menu-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.mega-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mega-col a {
  font-size: 0.88rem;
  color: var(--text-light);
  padding: 4px 0;
}

.mega-col a:hover { color: var(--primary); }

.mega-title {
  font-weight: 700 !important;
  color: var(--dark) !important;
  font-size: 0.95rem !important;
  margin-bottom: 4px;
  padding-bottom: 8px !important;
  border-bottom: 2px solid var(--primary);
}

.mega-cta {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 20px !important;
}

.mega-cta p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

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

/* ── Category Catalog Cards (Foures style) ── */
.catalog-section { padding: 80px 0; }

.catalog-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.catalog-card-link {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: block;
}

.catalog-card-link:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.catalog-card-img {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--bg-light);
  padding: 24px;
}

.catalog-card-img img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition);
}

.catalog-card-link:hover .catalog-card-img img {
  transform: scale(1.05);
}

.catalog-card-body {
  padding: 24px;
  text-align: center;
}

.catalog-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.catalog-card-body p {
  font-size: 0.85rem;
  color: var(--text-light);
}

.catalog-card-body span {
  display: inline-block;
  margin-top: 12px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
}

/* ── Product Slider (AirKraft style) ── */
.product-section { padding: 60px 0; background: var(--white); }
.product-section.alt { background: var(--bg-light); }

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-title-row h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
}

.section-title-row a {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.product-slider {
  position: relative;
  overflow: hidden;
  padding: 4px 52px;
}

.product-slider::before,
.product-slider::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 1;
  pointer-events: none;
}

.product-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--white) 20%, transparent);
}

.product-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--white) 20%, transparent);
}

.product-section.alt .product-slider::before {
  background: linear-gradient(to right, var(--bg-light) 20%, transparent);
}

.product-section.alt .product-slider::after {
  background: linear-gradient(to left, var(--bg-light) 20%, transparent);
}

.product-slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  box-shadow: 0 2px 12px rgba(21, 101, 192, 0.12);
}

.slider-prev { left: 0; }
.slider-next { right: 0; }

.slider-btn:hover:not(:disabled) {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(21, 101, 192, 0.25);
}

.slider-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.product-mini-card {
  flex: 0 0 260px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.product-section.alt .product-mini-card { background: var(--white); }

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

.product-mini-img {
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  overflow: hidden;
}

.product-mini-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform var(--transition);
}

.product-mini-card:hover .product-mini-img img {
  transform: scale(1.06);
}

.product-mini-body { padding: 16px; }

.product-mini-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
}

.product-mini-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin: 4px 0;
}

.product-mini-body p {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ── Product Grid (category pages) ── */
.page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

/* ── Modern Search Field (shared) ── */
.search-field,
.search-box {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid rgba(21, 101, 192, 0.14);
  border-radius: 999px;
  box-shadow:
    0 2px 8px rgba(21, 101, 192, 0.06),
    0 8px 24px rgba(21, 101, 192, 0.05);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.search-field:focus-within,
.search-box:focus-within {
  border-color: rgba(66, 165, 245, 0.6);
  box-shadow:
    0 0 0 4px rgba(21, 101, 192, 0.1),
    0 8px 28px rgba(21, 101, 192, 0.12);
}

.search-field-icon,
.search-box > svg:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  opacity: 0.7;
  padding-left: 18px;
}

.search-field-input,
.search-box input[type="search"],
.search-box input[type="text"] {
  flex: 1;
  min-width: 0;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  padding: 13px 12px;
  -webkit-appearance: none;
  appearance: none;
}

.search-field-input::-webkit-search-cancel-button,
.search-box input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.search-field-input::placeholder,
.search-box input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.search-field-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 4px;
  border: none !important;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 3px 10px rgba(21, 101, 192, 0.35);
}

.search-field-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 5px 16px rgba(21, 101, 192, 0.45);
}

.search-field-btn:active {
  transform: scale(0.98);
}

.search-box {
  min-width: 300px;
  padding-right: 4px;
}

.search-box > svg:first-child {
  padding-left: 16px;
  color: var(--text-light);
}

.search-box input {
  padding: 13px 10px;
}

.product-count {
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 500;
}

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

.product-grid-section {
  padding: 36px 0 72px;
}

.results-meta {
  margin: 0 0 22px;
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 600;
}

.product-slider-track .product-card {
  flex: 0 0 260px;
  max-width: 260px;
}

.product-grid .product-mini-card {
  flex: unset;
  width: 100%;
}

.subcategory-nav {
  display: none;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

.sub-nav-link {
  padding: 10px 22px;
  border-radius: 50px;
  background: var(--white);
  border: 2px solid var(--border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
}

.sub-nav-link:hover,
.sub-nav-link.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── Product Detail ── */
.detail-page { padding: 40px 0 80px; }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.detail-main-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow);
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
}

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

.about-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Foures-style category listing page */
.foures-categories {
  padding: 60px 0 80px;
}

.foures-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.foures-category-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all var(--transition);
}

.foures-category-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.foures-category-item .cat-image {
  height: 240px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.foures-category-item .cat-image img {
  max-height: 200px;
  object-fit: contain;
}

.foures-category-item .cat-title {
  padding: 24px 20px 12px;
}

.foures-category-item .cat-title h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.foures-category-item .cat-title span {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
}

.foures-category-item .cat-actions {
  display: flex;
  gap: 10px;
  padding: 0 20px 24px;
  justify-content: center;
}

.foures-category-item .cat-actions .btn {
  flex: 1;
  justify-content: center;
  font-size: 0.82rem;
  padding: 10px 16px;
}

.detail-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-light);
}

.detail-image-placeholder small {
  font-weight: 700;
  color: var(--primary);
}

.detail-badge {
  display: inline-block;
  background: rgba(21,101,192,0.1);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.detail-info h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.detail-code {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.detail-desc {
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.7;
}

.detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.detail-specs,
.detail-table-wrap,
.related-products {
  margin-bottom: 48px;
}

.detail-specs h2,
.detail-table-wrap h2,
.related-products h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.spec-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.spec-item span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.spec-item strong {
  font-size: 1rem;
  color: var(--dark);
}

.detail-table-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  padding-bottom: 0;
}

.detail-table-wrap h2 {
  padding: 20px 24px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.detail-table-wrap .spec-table { box-shadow: none; }

/* ── Quick Links (no e-commerce) ── */
.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
  position: relative;
  z-index: 10;
  padding-bottom: 48px;
}

.quick-link-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.quick-link-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.quick-link-card svg {
  color: var(--primary);
  margin-bottom: 12px;
}

.quick-link-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.quick-link-card p {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ── Corporate Page ── */
.content-page { padding: 60px 0 80px; }

.content-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.content-block h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.content-block p {
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.8;
}

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

.value-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.value-card strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.value-card span {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* ── Catalog Page ── */
.catalog-download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.download-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px dashed var(--border);
  transition: all var(--transition);
}

.download-card:hover {
  border-color: var(--primary);
  border-style: solid;
}

.download-card svg { color: var(--primary); margin-bottom: 16px; }

.download-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.download-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.empty-state {
  text-align: center;
  padding: 80px 0;
}

.empty-state svg {
  color: var(--text-light);
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--text-light);
  max-width: 420px;
  margin: 0 auto;
}

/* ── Header Search ── */
.header-search-wrap {
  position: relative;
  flex-shrink: 0;
}

.header-search-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(21, 101, 192, 0.12);
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(21, 101, 192, 0.1);
  transition: all 0.25s ease;
}

.header-search-trigger:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(21, 101, 192, 0.25);
}

.header-search-wrap.open .header-search-trigger {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
  position: absolute;
}

.header-search {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  white-space: nowrap;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  padding-left: 0;
}

.header-search-wrap.open .header-search {
  width: min(320px, 42vw);
  opacity: 1;
  pointer-events: auto;
}

.header-search .search-field-icon {
  padding-left: 14px;
}

.header-search .search-field-input {
  padding: 11px 8px;
  font-size: 0.88rem;
}

.header-search .search-field-btn {
  width: 38px;
  height: 38px;
}

@media (min-width: 1100px) {
  .header-search-trigger {
    display: none;
  }

  .header-search {
    position: static;
    transform: none;
    width: 280px;
    opacity: 1;
    pointer-events: auto;
    overflow: visible;
  }
}

.nav-search-mobile {
  display: none;
}

/* ── Search Page ── */
.search-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #42a5f5 100%);
  padding: 48px 0 56px;
  color: #fff;
}

.search-hero .breadcrumb {
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
}

.search-hero .breadcrumb a {
  color: #fff;
}

.search-hero h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.search-hero > .container > p {
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 560px;
}

.search-hero-form {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 6px 6px 6px 8px;
  max-width: 680px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: box-shadow 0.25s ease;
}

.search-hero-form:focus-within {
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.2),
    0 0 0 4px rgba(255, 255, 255, 0.25);
}

.search-hero-form .search-field-icon,
.search-hero-form > svg {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  opacity: 0.75;
  padding: 0 4px 0 16px;
}

.search-hero-form input {
  flex: 1;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  min-width: 0;
  padding: 14px 12px;
  -webkit-appearance: none;
  appearance: none;
}

.search-hero-form input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.search-hero-form .btn {
  border-radius: 999px;
  padding: 14px 32px;
  white-space: nowrap;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(21, 101, 192, 0.35);
}

.search-results-section {
  padding: 40px 0 80px;
}

.search-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.search-filter {
  padding: 10px 22px;
  border-radius: 50px;
  background: var(--white);
  border: 2px solid var(--border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition);
}

.search-filter:hover,
.search-filter.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.search-hint {
  text-align: center;
  padding: 32px 0;
  color: var(--text-light);
}

.product-mini-code {
  font-size: 0.78rem !important;
  font-weight: 600;
  color: var(--primary) !important;
  font-family: monospace;
}

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

/* Image category backgrounds */
.img-katli-korukler { background: linear-gradient(160deg, #1565c0, #42a5f5); }
.img-kabin-korukleri { background: linear-gradient(160deg, #1a2332, #546e7a); }
.img-amerikan-tipi { background: linear-gradient(160deg, #0288d1, #4fc3f7); }

.faq-page { padding-bottom: 60px; }
.faq-list { display: flex; flex-direction: column; gap: 16px; max-width: 860px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow);
}
.faq-item h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.faq-item p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ── Floating Contact Buttons ── */
.floating-contacts {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: floatIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.floating-contact {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.18),
    0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, width 0.3s ease;
  overflow: visible;
}

.floating-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.floating-contact--wa .floating-contact-icon {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.floating-contact--phone .floating-contact-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.floating-contact--wa::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  animation: waPulse 2.5s ease-out infinite;
  z-index: 0;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.6; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.floating-contact-label {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  background: var(--dark);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-contact-label::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--dark);
}

.floating-contact:hover {
  transform: scale(1.08);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.22),
    0 4px 10px rgba(0, 0, 0, 0.12);
}

.floating-contact:hover .floating-contact-label {
  opacity: 1;
  transform: translateX(0);
}

.floating-contact:active {
  transform: scale(1.02);
}

@media (max-width: 992px) {
  .header-search-wrap {
    display: none;
  }

  .nav-search-mobile {
    display: block;
  }

  .mega-menu {
    position: static;
    transform: none;
    min-width: auto;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 0;
    display: none;
    margin-top: 8px;
  }

  .nav-item.has-dropdown.open .mega-menu { display: block; }

  .mega-menu-inner { grid-template-columns: 1fr 1fr; }

  .catalog-cards,
  .quick-links,
  .catalog-download-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .foures-category-grid {
    grid-template-columns: 1fr;
  }

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

  .product-mini-card,
  .product-slider-track .product-card {
    flex: 0 0 220px;
    max-width: 220px;
  }

  .product-slider {
    padding: 4px 40px;
  }

  .slider-btn {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 768px) {
  .search-hero-form {
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 16px;
  }

  .search-hero-form .btn {
    width: 100%;
  }

  .mega-menu-inner { grid-template-columns: 1fr; }
  .page-toolbar { flex-direction: column; align-items: stretch; }
  .search-box { min-width: auto; }

  .floating-contacts {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }

  .floating-contact {
    width: 52px;
    height: 52px;
  }

  .floating-contact-label {
    display: none;
  }
}
