/* ================================================================
   EUROLOY T4 - Sandvik Coromant Inspired Industrial Premium Theme
   Minimal, corporate, white-dominant, gold accent
   ================================================================ */

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

:root {
  /* Primary Palette */
  --primary: #C5A572;
  --primary-dark: #A08858;
  --primary-light: #D4BA8A;
  --primary-bg: rgba(197, 165, 114, 0.08);

  /* Neutrals */
  --dark: #1A1A1A;
  --dark-mid: #2A2A2A;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --bg-warm: #F8F7F5;
  --bg-grey: #F2F1EF;
  --border: #E5E3E0;
  --border-light: #EDEBE8;

  /* Accent Colors */
  --blue: #2563A0;
  --blue-dark: #1B4A7A;
  --red: #CD2122;

  /* Typography */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;

  /* Shadows (subtle, corporate) */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);

  /* Spacing & Layout */
  --radius: 4px;
  --radius-sm: 2px;
  --max-width: 1320px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
}

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

img { max-width: 100%; display: block; }
ul { list-style: none; }

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

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

/* ===== TYPOGRAPHY SCALE ===== */
h1 { font-size: 2.8rem; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 2.2rem; font-weight: 600; letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; font-weight: 600; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 13px 32px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.01em;
  text-transform: none;
  position: relative;
  line-height: 1.4;
}

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

.btn:hover svg { transform: translateX(3px); }

/* Solid Dark */
.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.btn-dark:hover {
  background: var(--dark-mid);
  border-color: var(--dark-mid);
}

/* Solid Gold */
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

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

/* Outlined Dark */
.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}

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

/* Outlined Gold */
.btn-outline-primary {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary);
}

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

/* Outlined White (for dark backgrounds) */
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

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

/* Solid White */
.btn-white {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--bg-grey);
  border-color: var(--bg-grey);
}

/* Text/Link Button */
.btn-text {
  background: none;
  border: none;
  padding: 0;
  color: var(--blue);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}

.btn-text:hover { color: var(--blue-dark); }
.btn-text svg { transition: transform var(--transition); }
.btn-text:hover svg { transform: translateX(4px); }


/* ===================================================================
   1. NAVIGATION
   =================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 18px;
  transition: color var(--transition);
  position: relative;
  letter-spacing: 0.01em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.nav-links a:hover { color: var(--dark); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--dark); font-weight: 600; }
.nav-links a.active::after { transform: scaleX(1); }

/* ===== Nav Dropdown ===== */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-trigger { display: inline-flex !important; align-items: center; gap: 5px; cursor: pointer; }
.nav-dropdown-trigger svg { width: 10px; height: 6px; transition: transform 0.3s; flex-shrink: 0; }
.nav-dropdown:hover > .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown:hover > .nav-dropdown-trigger { color: var(--dark); }
.nav-dropdown:hover > .nav-dropdown-trigger::after { transform: scaleX(1); }
.nav-dropdown-menu {
  display: none;
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 230px; background: #fff; border-radius: 10px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.12); padding: 8px 0;
  z-index: 1000; margin-top: 4px;
}
.nav-dropdown:hover > .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu::before { content: ''; position: absolute; top: -4px; left: 0; right: 0; height: 4px; }
.nav-dropdown-menu a {
  display: block !important; position: static !important;
  padding: 10px 20px !important; font-size: 0.85rem !important;
  font-weight: 500 !important; letter-spacing: normal !important;
  color: var(--text) !important;
  transition: background 0.15s, color 0.15s !important;
}
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu a:hover { background: #f5f5f5 !important; color: var(--primary) !important; }
.nav-dropdown-footer { border-top: 1px solid #eee; margin-top: 4px; padding-top: 4px; }
.nav-dropdown-footer a { font-weight: 600 !important; color: var(--primary) !important; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
  letter-spacing: 0.5px;
}

.lang-switch a.active { color: var(--dark); font-weight: 700; }
.lang-switch a:hover { color: var(--blue); }

.lang-flag {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  vertical-align: middle;
  flex-shrink: 0;
}

.lang-divider { color: var(--border); font-size: 12px; }

.nav-cta {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--dark);
  color: var(--white);
  padding: 10px 24px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}

.nav-cta:hover {
  background: var(--dark-mid);
}

/* Mobile Menu Toggle */
.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.nav-mobile-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  transition: all var(--transition);
  position: relative;
}

.nav-mobile-btn span::before,
.nav-mobile-btn span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--dark);
  transition: all var(--transition);
}

.nav-mobile-btn span::before { top: -7px; }
.nav-mobile-btn span::after { top: 7px; }
.nav-mobile-btn.open span { background: transparent; }
.nav-mobile-btn.open span::before { top: 0; transform: rotate(45deg); }
.nav-mobile-btn.open span::after { top: 0; transform: rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 24px 40px;
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  transition: color var(--transition);
}

.mobile-menu a:hover { color: var(--primary); }

.mobile-dropdown { width: 100%; }
.mobile-dropdown-trigger {
  display: flex !important; align-items: center; justify-content: space-between; width: 100%;
}
.mobile-dropdown-trigger svg { transition: transform 0.3s; flex-shrink: 0; }
.mobile-dropdown.open > .mobile-dropdown-trigger svg { transform: rotate(180deg); }
.mobile-dropdown-menu { display: none; padding-left: 16px; }
.mobile-dropdown.open > .mobile-dropdown-menu { display: block; }
.mobile-dropdown-menu a { font-size: 0.9rem !important; font-weight: 400 !important; color: var(--text-secondary) !important; }
.mobile-dropdown-menu a:hover { color: var(--primary) !important; }

.mobile-menu .nav-cta {
  display: inline-block;
  text-align: center;
  margin: 24px 0 0 0;
  padding: 14px 28px;
}


/* ===================================================================
   2. HERO SECTION
   =================================================================== */
.hero {
  margin-top: 72px;
  position: relative;
  overflow: hidden;
  background: var(--bg-warm);
  min-height: 560px;
  display: flex;
  align-items: center;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-bg.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      105deg,
      var(--dark) 0%,
      rgba(26, 26, 26, 0.97) 30%,
      rgba(26, 26, 26, 0.85) 55%,
      rgba(26, 26, 26, 0.55) 80%,
      rgba(26, 26, 26, 0.3) 100%
    );
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 40px;
  width: 100%;
}

.hero-tag {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 24px;
  padding-left: 32px;
  position: relative;
}

.hero-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--primary);
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 600px;
  letter-spacing: -0.02em;
}

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

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


/* ===================================================================
   3. CATEGORY SLIDER
   =================================================================== */
.categories {
  padding: 60px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.categories-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.categories-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: -0.01em;
}

.categories-nav {
  display: flex;
  gap: 8px;
}

.categories-nav button {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.categories-nav button:hover {
  border-color: var(--dark);
  color: var(--dark);
}

.categories-nav button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.categories-nav button svg {
  width: 18px;
  height: 18px;
}

.categories-track-wrapper {
  overflow: hidden;
  margin: 0 -8px;
}

.categories-track {
  display: flex;
  gap: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card {
  flex: 0 0 calc(100% / 6);
  padding: 0 8px;
  cursor: pointer;
  transition: opacity var(--transition);
}

.category-card:hover { opacity: 0.85; }

.category-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-grey);
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.category-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.category-card-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
}


/* ===================================================================
   4. NEWS SECTION
   =================================================================== */
.news {
  padding: 80px 0;
  background: var(--bg);
}

.news-header {
  margin-bottom: 48px;
}

.news-header h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--dark);
}

.news-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.news-header-row .btn-text {
  flex-shrink: 0;
  margin-bottom: 4px;
}

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

.news-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.news-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

.news-card-img {
  height: 220px;
  overflow: hidden;
  background: var(--bg-grey);
  position: relative;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-img img {
  transform: scale(1.03);
}

.news-card-body {
  padding: 28px;
}

.news-card-category {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 10px;
}

.news-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
  color: var(--dark);
  transition: color var(--transition);
}

.news-card:hover .news-card-title { color: var(--blue); }

.news-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 16px;
}

.news-card-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: 16px;
  transition: gap var(--transition);
}

.news-card-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.news-card:hover .news-card-link svg {
  transform: translateX(4px);
}


/* ===================================================================
   5. FEATURE PROMOTION
   =================================================================== */
.feature-promo {
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.feature-promo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--dark) 0%,
    rgba(26, 26, 26, 0.97) 35%,
    rgba(26, 26, 26, 0.82) 60%,
    rgba(26, 26, 26, 0.5) 100%
  );
}

.feature-promo-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 40px;
  width: 100%;
}

.feature-promo-tag {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.feature-promo-tag::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--primary);
}

.feature-promo h2 {
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 16px;
  max-width: 520px;
  line-height: 1.15;
}

.feature-promo p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 440px;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* Video Play Button */
.feature-promo-play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}

.feature-promo-play:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.08);
}

.feature-promo-play svg {
  width: 24px;
  height: 24px;
  margin-left: 2px;
}


/* ===================================================================
   6. ACCOUNT CTA SECTION
   =================================================================== */
.account-cta {
  padding: 80px 0;
  background: var(--bg-warm);
}

.account-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.account-cta-content {}

.account-cta-tag {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-dark);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.account-cta-tag::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--primary);
}

.account-cta-content h2 {
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.15;
}

.account-cta-content > p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 480px;
}

.account-cta-checklist {
  list-style: none;
  margin-bottom: 36px;
}

.account-cta-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

.account-cta-checklist li + li {
  border-top: 1px solid var(--border-light);
}

.account-cta-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.account-cta-check svg {
  width: 12px;
  height: 12px;
}

.account-cta-img {
  border-radius: var(--radius);
  overflow: hidden;
}

.account-cta-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
}


/* ===================================================================
   7. QUICK LINKS
   =================================================================== */
.quicklinks {
  padding: 80px 0;
  background: var(--bg);
}

.quicklinks-header {
  margin-bottom: 48px;
}

.quicklinks-header h2 {
  font-size: 2.2rem;
  color: var(--dark);
}

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

.quicklink-card {
  background: var(--bg-warm);
  padding: 32px 28px;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
  border: 1px solid transparent;
}

.quicklink-card:hover {
  background: var(--white);
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

.quicklink-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.quicklink-card-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.quicklink-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap var(--transition), color var(--transition);
}

.quicklink-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.quicklink-card:hover .quicklink-card-link svg {
  transform: translateX(4px);
}

.quicklink-card:hover .quicklink-card-link {
  color: var(--blue-dark);
}


/* ===================================================================
   8. PRE-FOOTER CTA BAR
   =================================================================== */
.prefooter-cta {
  padding: 0;
  background: var(--dark);
}

.prefooter-cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.prefooter-cta-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 40px 0;
  color: var(--white);
  transition: opacity var(--transition);
}

.prefooter-cta-item:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-right: 40px;
}

.prefooter-cta-item:last-child {
  padding-left: 40px;
}

.prefooter-cta-item:hover { opacity: 0.85; }

.prefooter-cta-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: rgba(197, 165, 114, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prefooter-cta-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.prefooter-cta-text h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.prefooter-cta-text p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}


/* ===================================================================
   9. FOOTER
   =================================================================== */
.footer {
  background: var(--dark);
  padding: 0;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
}

.footer-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 40px 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand img {
  height: 34px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  max-width: 260px;
  margin-bottom: 8px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--primary);
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

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

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social a:hover svg { color: var(--white); }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}

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

/* Footer App Download */
.footer-app-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-app-download h4 {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin: 0;
}
.footer-app-badges {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-app-badges a {
  display: inline-flex;
  transition: opacity 0.3s;
}
.footer-app-badges a:hover { opacity: 0.8; }
.footer-app-badges img { height: 40px; width: auto; }

/* Footer Bottom / Legal */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}

.footer-legal-links a:hover { color: var(--primary); }

.footer-credit {
  text-align: center;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}

.footer-credit a:hover { color: var(--primary); }

.footer-credit img {
  height: 13px;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.footer-credit a:hover img { opacity: 1; }


/* ===================================================================
   NEWS TITLE (alias for header h2)
   =================================================================== */
.news-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--dark);
}


/* ===================================================================
   SCROLL ANIMATIONS
   =================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

.slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}


/* ===================================================================
   LETTER DROP ANIMATION
   =================================================================== */
.letter-drop {
  display: inline;
}

.letter-drop .letter-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(-40px) rotateX(45deg);
  filter: blur(4px);
  transition:
    opacity 0.4s ease,
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.4s ease;
}

.letter-drop .letter-char.letter-space {
  width: 0.3em;
}

.letter-drop.animated .letter-char {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
  filter: blur(0);
}


/* ===================================================================
   SECTION UTILITIES
   =================================================================== */
.section-divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--primary);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 520px;
  line-height: 1.7;
}


/* ===================================================================
   RESPONSIVE: TABLET (max-width: 1024px)
   =================================================================== */
@media (max-width: 1024px) {
  .container,
  .nav-inner,
  .hero-inner,
  .feature-promo-inner { padding-left: 32px; padding-right: 32px; }

  .footer-main,
  .footer-bottom,
  .footer-app-download,
  .prefooter-cta-inner { padding-left: 32px; padding-right: 32px; }

  h1, .hero-title { font-size: 2.2rem; }
  h2, .section-title { font-size: 1.8rem; }

  .hero { min-height: 480px; }

  .category-card { flex: 0 0 calc(100% / 4); }

  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .account-cta-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .account-cta-img { order: -1; }
  .account-cta-img img { height: 300px; }

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

  .footer-main {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }

  .footer-brand { grid-column: 1 / -1; }
}


/* ===================================================================
   RESPONSIVE: MOBILE (max-width: 768px)
   =================================================================== */
@media (max-width: 768px) {
  .container,
  .nav-inner,
  .hero-inner,
  .feature-promo-inner { padding-left: 24px; padding-right: 24px; }

  .footer-main,
  .footer-bottom,
  .footer-app-download,
  .prefooter-cta-inner { padding-left: 24px; padding-right: 24px; }

  /* Nav */
  .nav-links { display: none; }
  .nav-right .nav-cta { display: none; }
  .nav-inner { height: 64px; }
  .nav-logo img { height: 30px; }
  .nav-mobile-btn { display: flex; }
  .mobile-menu { top: 64px; padding: 24px; }

  .lang-switch { margin-left: auto; gap: 4px; }
  .lang-switch a { font-size: 10px; gap: 3px; }
  .lang-flag { width: 16px; height: 11px; }
  .lang-divider { display: none; }

  /* Hero */
  .hero { margin-top: 64px; min-height: 440px; }
  .hero-inner { padding-top: 60px; padding-bottom: 60px; }
  .hero-title { font-size: 1.8rem; max-width: 100%; }
  .hero-desc { font-size: 0.95rem; }

  /* Categories */
  .categories { padding: 40px 0; }
  .category-card { flex: 0 0 calc(100% / 3); }

  /* News */
  .news { padding: 60px 0; }
  .news-grid { grid-template-columns: 1fr; max-width: 480px; }
  .news-header h2, .news-header-row h2 { font-size: 1.6rem; }

  /* Feature Promo */
  .feature-promo { min-height: 380px; }
  .feature-promo h2 { font-size: 1.6rem; }
  .feature-promo-inner { padding-top: 60px; padding-bottom: 60px; }

  /* Account CTA */
  .account-cta { padding: 60px 0; }
  .account-cta-inner { gap: 32px; }
  .account-cta-content h2 { font-size: 1.6rem; }
  .account-cta-img img { height: 240px; }

  /* Quick Links */
  .quicklinks { padding: 60px 0; }
  .quicklinks-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .quicklinks-header h2 { font-size: 1.6rem; }

  /* Pre-Footer */
  .prefooter-cta-inner { grid-template-columns: 1fr; }
  .prefooter-cta-item:first-child {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 0;
    padding-bottom: 24px;
  }
  .prefooter-cta-item:last-child { padding-left: 0; padding-top: 24px; }

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand { grid-column: 1 / -1; }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-legal-links { flex-wrap: wrap; justify-content: center; gap: 16px; }

  /* Section titles */
  .section-title { font-size: 1.6rem; }
}


/* ===================================================================
   RESPONSIVE: SMALL MOBILE (max-width: 480px)
   =================================================================== */
@media (max-width: 480px) {
  .container,
  .nav-inner,
  .hero-inner,
  .feature-promo-inner { padding-left: 16px; padding-right: 16px; }

  .footer-main,
  .footer-bottom,
  .footer-app-download,
  .prefooter-cta-inner { padding-left: 16px; padding-right: 16px; }

  .footer-app-download { flex-direction: column; gap: 16px; text-align: center; }

  .nav-inner { padding: 0 16px; }

  /* Hero */
  .hero { min-height: 380px; }
  .hero-title { font-size: 1.5rem; }
  .hero-desc { font-size: 0.88rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Categories */
  .category-card { flex: 0 0 calc(100% / 2); }

  /* News */
  .news-grid { max-width: 100%; }
  .news-card-img { height: 180px; }

  /* Feature Promo */
  .feature-promo { min-height: 320px; }
  .feature-promo h2 { font-size: 1.4rem; }

  /* Account CTA */
  .account-cta-img img { height: 200px; }

  /* Quick Links */
  .quicklinks-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Buttons */
  .btn { padding: 12px 24px; font-size: 0.82rem; }
}


/* ===================================================================
   10. PAGE HERO (Sub-pages)
   =================================================================== */
.page-hero {
  position: relative;
  margin-top: 72px;
  padding: 56px 0 48px;
  background: var(--dark);
  background-image: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 50%, #1f2937 100%);
  color: var(--white);
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(197, 165, 114, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: rgba(255, 255, 255, 0.25); }
.breadcrumb-current { color: var(--primary-light); font-weight: 500; }

.page-hero-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.15;
}

.page-hero-desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 520px;
  line-height: 1.65;
  margin: 0;
}


/* ===================================================================
   11. PRODUCTS PAGE
   =================================================================== */
.products-section {
  padding: 80px 0;
  background: var(--bg);
}

.products-header {
  margin-bottom: 48px;
}

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

.product-category-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

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

.product-category-img {
  height: 220px;
  overflow: hidden;
  background: var(--bg-grey);
}

.product-category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-category-body {
  padding: 24px;
}

.product-category-body h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 8px;
}

.product-category-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 0 16px;
}

.product-category-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap var(--transition), color var(--transition);
}

.product-category-link svg {
  transition: transform var(--transition);
}

.product-category-card:hover .product-category-link svg {
  transform: translateX(4px);
}

.product-category-card:hover .product-category-link {
  color: var(--blue-dark);
}


/* ===================================================================
   12. PRODUCT DETAIL PAGE
   =================================================================== */
.product-detail-section {
  padding: 80px 0;
  background: var(--bg);
}

.product-detail-header {
  margin-bottom: 48px;
}

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

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

.product-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

.product-card-img {
  height: 200px;
  overflow: hidden;
  background: var(--bg-grey);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-card-body {
  padding: 20px;
}

.product-card-code {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
  background: var(--primary-bg);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.product-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 8px;
}

.product-card-body p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 0 16px;
}

/* Small Button Variant */
.btn-sm {
  padding: 8px 18px !important;
  font-size: 0.8rem !important;
}

/* Specs Section */
.specs-section {
  padding: 0 0 80px;
  background: var(--bg);
}

.specs-header {
  margin-bottom: 32px;
}

.specs-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.specs-table thead {
  background: var(--dark);
}

.specs-table th {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
  white-space: nowrap;
}

.specs-table td {
  padding: 13px 20px;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
}

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

.specs-table tbody tr:hover {
  background: var(--primary-bg);
}

.specs-table tbody tr:nth-child(even) {
  background: var(--bg-warm);
}

.specs-table tbody tr:nth-child(even):hover {
  background: var(--primary-bg);
}

/* Related Products */
.related-products {
  padding: 80px 0;
  background: var(--bg-warm);
}

.related-products-header {
  margin-bottom: 36px;
}

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

.related-product-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  text-align: center;
}

.related-product-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.related-product-img {
  height: 180px;
  overflow: hidden;
  background: var(--bg-grey);
}

.related-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.related-product-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  padding: 16px;
  margin: 0;
}


/* ===================================================================
   13. CONTACT PAGE
   =================================================================== */
.contact-info-section {
  padding: 72px 0 0;
  background: var(--bg);
}

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

.contact-info-card {
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.contact-info-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  border: 1px solid rgba(197, 165, 114, 0.15);
  border-radius: var(--radius);
  color: var(--primary-dark);
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-info-card p {
  font-size: 0.925rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}

.contact-info-card a {
  color: var(--text);
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

.contact-card-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Contact Main Grid */
.contact-main-section {
  padding: 72px 0 80px;
  background: var(--bg);
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Forms (shared by contact + RFQ) */
.contact-form,
.rfq-form {
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px;
}

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

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

.form-row .form-group { margin-bottom: 0; }

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-sizing: border-box;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-bg);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

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

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  color: var(--text-light) !important;
  letter-spacing: 0 !important;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.checkbox-label a {
  color: var(--primary-dark);
  text-decoration: underline;
}

.checkbox-label a:hover { color: var(--primary); }

/* Map Placeholder */
.contact-map-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-map-placeholder {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-grey);
  border: 1px solid var(--border-light);
}

.contact-map-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 24px;
}

.contact-map-content svg { color: var(--primary); opacity: 0.7; }

.contact-map-content h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0;
}

.contact-map-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

/* Working Hours */
.contact-hours {
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
}

.contact-hours h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.contact-hours ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-hours li span:last-child {
  font-weight: 600;
  color: var(--text);
}


/* ===================================================================
   14. RFQ PAGE
   =================================================================== */
.rfq-steps-section {
  padding: 64px 0;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border-light);
}

.rfq-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.rfq-step {
  flex: 1;
  text-align: center;
  max-width: 220px;
}

.rfq-step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 auto 14px;
}

.rfq-step h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 6px;
}

.rfq-step p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

.rfq-step-connector {
  flex-shrink: 0;
  width: 60px;
  height: 2px;
  background: var(--border);
  margin-top: 22px;
}

/* RFQ Form Section */
.rfq-form-section {
  padding: 80px 0;
  background: var(--bg);
}

.rfq-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.rfq-form {
  padding: 40px;
}

.rfq-form-block {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
}

.rfq-form-block:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.rfq-form-block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 24px;
}

.rfq-form-block-title svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* File Upload Area */
.file-upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  transition: border-color var(--transition), background var(--transition);
}

.file-upload-area:hover {
  border-color: var(--primary);
  background: var(--primary-bg);
}

.file-upload-icon {
  margin: 0 auto 12px;
  color: var(--text-muted);
}

.file-upload-text {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 4px;
}

.file-upload-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 16px;
}

/* RFQ Form Submit */
.rfq-form-submit {
  padding-top: 24px;
}

.rfq-form-submit .btn-primary {
  margin-top: 8px;
}

/* FAQ Accordion */
.rfq-faq-section {
  padding: 80px 0;
  background: var(--bg-warm);
}

.rfq-faq-header {
  margin-bottom: 40px;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--white);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: var(--border);
}

.faq-item.open {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--primary-dark); }

.faq-question svg {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition), color var(--transition);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}


/* ===================================================================
   15. INDUSTRIES PAGE
   =================================================================== */
.industries-section {
  padding: 80px 0;
  background: var(--bg);
}

.industries-header {
  margin-bottom: 48px;
}

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

.industry-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
}

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

.industry-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  border: 1px solid rgba(197, 165, 114, 0.15);
  border-radius: var(--radius);
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.industry-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 10px;
}

.industry-card > p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0 0 16px;
}

.industry-card-features {
  margin: 0 0 20px;
  padding: 0;
}

.industry-card-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text);
  padding: 5px 0;
}

.industry-card-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* Stats Section */
.industries-stats {
  padding: 64px 0;
  background: var(--dark);
}

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

.stat-item {
  padding: 24px 16px;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* ===================================================================
   16. CTA BANNER (Shared)
   =================================================================== */
.cta-banner {
  padding: 0 0 80px;
  background: var(--bg);
}

.cta-banner-inner {
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-banner-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 8px;
}

.cta-banner-content p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
  max-width: 460px;
}

.cta-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}


/* ===================================================================
   SUB-PAGE RESPONSIVE: TABLET (max-width: 1024px)
   =================================================================== */
@media (max-width: 1024px) {
  .page-hero-inner { padding-left: 32px; padding-right: 32px; }
  .page-hero-title { font-size: 2rem; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .related-products-grid { grid-template-columns: repeat(3, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }

  .contact-main-grid { gap: 40px; }

  .cta-banner-inner { flex-direction: column; text-align: center; align-items: center; }
  .cta-banner-content p { max-width: 100%; }
}

/* ===================================================================
   SUB-PAGE RESPONSIVE: MOBILE (max-width: 768px)
   =================================================================== */
@media (max-width: 768px) {
  .page-hero { margin-top: 64px; padding: 48px 0 40px; }
  .page-hero-inner { padding-left: 24px; padding-right: 24px; }
  .page-hero-title { font-size: 1.6rem; }
  .page-hero-desc { font-size: 0.95rem; }

  .products-section,
  .product-detail-section,
  .industries-section,
  .related-products,
  .rfq-faq-section { padding: 60px 0; }

  .products-grid { grid-template-columns: 1fr; max-width: 480px; }
  .product-grid { grid-template-columns: 1fr; max-width: 480px; }
  .related-products-grid { grid-template-columns: 1fr; max-width: 400px; }
  .industries-grid { grid-template-columns: 1fr; max-width: 480px; }

  .contact-info-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-main-section { padding: 60px 0; }
  .contact-main-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form, .rfq-form { padding: 24px 18px; }
  .contact-map-placeholder { height: 240px; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .form-group { margin-bottom: 20px; }

  .rfq-steps { flex-direction: column; align-items: center; gap: 0; }
  .rfq-step { max-width: 100%; }
  .rfq-step-connector { width: 2px; height: 32px; }
  .rfq-steps-section { padding: 48px 0; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-number { font-size: 1.8rem; }

  .cta-banner { padding: 0 0 60px; }
  .cta-banner-inner { padding: 32px 24px; }
  .cta-banner-actions { flex-direction: column; width: 100%; }
  .cta-banner-actions .btn { width: 100%; justify-content: center; }

  .faq-question { padding: 16px 18px; font-size: 0.88rem; }
  .faq-answer p { padding: 0 18px 18px; }
}

/* ===================================================================
   SUB-PAGE RESPONSIVE: SMALL MOBILE (max-width: 480px)
   =================================================================== */
@media (max-width: 480px) {
  .page-hero-inner { padding-left: 16px; padding-right: 16px; }
  .page-hero-title { font-size: 1.4rem; }

  .products-grid,
  .product-grid,
  .related-products-grid,
  .industries-grid { max-width: 100%; }

  .product-category-img { height: 180px; }
  .product-card-img { height: 160px; }
  .related-product-img { height: 140px; }

  .rfq-form { padding: 20px 16px; }
  .rfq-form-block-title { font-size: 0.95rem; }
  .file-upload-area { padding: 28px 16px; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 1.6rem; }

  .industry-card { padding: 24px 20px; }
}


/* ===================================================================
   PRINT STYLES
   =================================================================== */
@media print {
  .nav, .mobile-menu, .prefooter-cta { display: none; }
  .hero { margin-top: 0; min-height: auto; }
  body { background: white; color: black; }
  .fade-up, .slide-in-left, .slide-in-right {
    opacity: 1 !important;
    transform: none !important;
  }
}
