/* ================================================================
   MIA Intelligent Technology — Website 3
   Design: Editorial / Corporate Premium
   Fonts: Syne (headings) + DM Sans (body)
   Colors: Orange #F97316, Dark #0F1117, White #FFFFFF
================================================================ */

/* ----------------------------------------------------------------
   VARIABLES
---------------------------------------------------------------- */
:root {
  --orange:      #F97316;
  --orange-d:    #C2410C;
  --orange-l:    #FB923C;
  --orange-pale: #FFF7ED;
  --orange-mid:  #FED7AA;

  --dark:        #0F1117;
  --dark-2:      #161B27;
  --gray-800:    #1F2937;
  --gray-700:    #374151;
  --gray-600:    #4B5563;
  --gray-500:    #6B7280;
  --gray-400:    #9CA3AF;
  --gray-300:    #D1D5DB;
  --gray-200:    #E5E7EB;
  --gray-100:    #F3F4F6;
  --gray-50:     #F9FAFB;
  --white:       #FFFFFF;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.12);
  --shadow-xl: 0 32px 80px rgba(0,0,0,.16);

  --nav-h: 72px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ----------------------------------------------------------------
   TYPOGRAPHY
---------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark);
}

.display-xl {
  font-size: clamp(3.5rem, 7vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
}

.display-lg {
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.display-md {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

/* ----------------------------------------------------------------
   LAYOUT
---------------------------------------------------------------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: clamp(80px, 10vw, 140px) 0;
}

.section-sm {
  padding: clamp(48px, 6vw, 80px) 0;
}

/* ----------------------------------------------------------------
   SECTION LABELS
---------------------------------------------------------------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}

.section-label.light {
  color: var(--orange-l);
}
.section-label.light::before {
  background: var(--orange-l);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--dark);
  line-height: 1.1;
}

.section-title em {
  font-style: italic;
  color: var(--orange);
}

.section-title.light {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 540px;
  line-height: 1.7;
  margin-top: 16px;
}

.section-subtitle.light {
  color: var(--gray-400);
}

/* ----------------------------------------------------------------
   BUTTONS
---------------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--orange-d);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(249,115,22,.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border: 1.5px solid var(--gray-300);
  color: var(--gray-700);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.07);
}

.btn-lg { padding: 16px 36px; font-size: 0.95rem; }

.btn-arrow { transition: transform 0.2s; }
.btn-outline:hover .btn-arrow { transform: translateX(4px); }

/* ----------------------------------------------------------------
   NAVBAR
---------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--dark); background: var(--gray-100); }
.nav-link.active { color: var(--orange); font-weight: 600; }

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

.lang-switcher {
  display: flex;
  gap: 2px;
  background: var(--gray-100);
  padding: 3px;
  border-radius: var(--radius-sm);
}
.lang-btn {
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  border-radius: 4px;
  transition: all 0.2s;
}
.lang-btn.active, .lang-btn:hover {
  background: var(--white);
  color: var(--dark);
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

.btn-nav-cta {
  padding: 9px 22px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-nav-cta:hover { background: var(--orange-d); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------------
   MOBILE DRAWER
---------------------------------------------------------------- */
.mobile-drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  transform: translateY(-110%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}
.mobile-drawer.open { transform: translateY(0); }
.mobile-drawer-inner {
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-links a {
  padding: 12px 16px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}
.mobile-nav-links a:hover { background: var(--gray-100); color: var(--dark); }
.mobile-nav-links a.active { color: var(--orange); font-weight: 600; }
.mobile-cta { align-self: flex-start; }

/* ----------------------------------------------------------------
   BREADCRUMB (inner pages)
---------------------------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--gray-400); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { color: var(--gray-300); }
.breadcrumb .current { color: var(--gray-600); }

/* ----------------------------------------------------------------
   HERO — HOME
---------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--gray-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-200) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
  pointer-events: none;
}
.hero-bg-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,0) 0%, var(--white) 80%);
}

.hero-container {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
  position: relative;
  z-index: 1;
}

.hero-left { max-width: 580px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 24px;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,.4); }
  50% { box-shadow: 0 0 0 6px rgba(249,115,22,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--dark);
  margin-bottom: 28px;
}
.ht-line { display: block; }
.ht-orange { color: var(--orange); font-style: italic; }

.hero-desc {
  font-size: 1.1rem;
  color: var(--gray-500);
  line-height: 1.72;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--gray-500);
  flex-wrap: wrap;
}
.trust-val { font-weight: 700; color: var(--dark); font-family: var(--font-display); }
.trust-sep { color: var(--gray-300); }

/* Hero visual — dashboard concept */
.hero-right { display: flex; justify-content: center; align-items: center; }

.hero-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  width: 100%;
  max-width: 500px;
}

.dash-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.dash-card-main {
  grid-column: 1 / 3;
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, #0F1117 0%, #1F2937 100%);
  color: var(--white);
  border-color: transparent;
}

.dash-main-text { flex: 1; }
.dash-main-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 6px;
}
.dash-main-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}
.dash-main-sub { font-size: 0.8rem; color: var(--gray-400); margin-top: 4px; }

.dash-gauge {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}
.gauge-svg circle:nth-child(2) {
  stroke-dasharray: 201;
  stroke-dashoffset: 30;
  animation: gauge-fill 1.5s ease-out 0.5s both;
}
@keyframes gauge-fill {
  from { stroke-dashoffset: 201; }
  to { stroke-dashoffset: 30; }
}

.dash-small { display: flex; flex-direction: column; gap: 8px; }
.dash-small-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.dash-small-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark);
}
.dash-small-unit { font-size: 0.9rem; font-weight: 400; color: var(--gray-500); }
.dash-small-bar {
  height: 4px;
  background: var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
}
.dash-small-fill {
  height: 100%;
  background: var(--orange);
  border-radius: 2px;
  transform-origin: left;
  animation: bar-fill 1.2s ease-out 0.8s both;
}
@keyframes bar-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.dash-noise-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 32px;
  margin-top: 4px;
}
.dash-noise-wave span {
  display: block;
  width: 3px;
  background: var(--orange);
  border-radius: 2px;
  opacity: 0.6;
  animation: wave-bar 1.4s ease-in-out infinite;
}
.dash-noise-wave span:nth-child(odd) { opacity: 0.3; }
.dash-noise-wave span:nth-child(2) { animation-delay: 0.1s; }
.dash-noise-wave span:nth-child(3) { animation-delay: 0.2s; }
.dash-noise-wave span:nth-child(4) { animation-delay: 0.3s; }
.dash-noise-wave span:nth-child(5) { animation-delay: 0.4s; }
.dash-noise-wave span:nth-child(6) { animation-delay: 0.5s; }
.dash-noise-wave span:nth-child(7) { animation-delay: 0.3s; }
.dash-noise-wave span:nth-child(8) { animation-delay: 0.1s; }
@keyframes wave-bar {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gray-300), transparent);
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.5; }
}
.hero-scroll-hint span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* ----------------------------------------------------------------
   MARQUEE
---------------------------------------------------------------- */
.marquee-strip {
  background: var(--orange);
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid rgba(0,0,0,.05);
}
.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee-run 30s linear infinite;
  will-change: transform;
}
.mq-item {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--white);
  padding: 0 20px;
  white-space: nowrap;
}
.mq-sep {
  color: rgba(255,255,255,.5);
  font-size: 0.8rem;
  line-height: 1;
  align-self: center;
}
@keyframes marquee-run {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ----------------------------------------------------------------
   STATS
---------------------------------------------------------------- */
.stats-section {
  padding: clamp(60px, 8vw, 100px) 0;
  border-bottom: 1px solid var(--gray-200);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid var(--gray-200);
}
.stat-item {
  padding: 0 40px;
  border-right: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: none; }

.stat-num-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 8px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 400;
}

/* ----------------------------------------------------------------
   PRODUCTS OVERVIEW (home)
---------------------------------------------------------------- */
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 32px;
}
.section-heading-group { max-width: 500px; }

.see-all-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--orange);
  white-space: nowrap;
  transition: gap 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  align-self: flex-end;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.see-all-link:hover { border-color: var(--orange); }

/* Editorial product grid */
.products-editorial {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pe-card-img {
  width: calc(100% + 80px);
  margin: -40px -40px 28px;
  height: auto;
  display: block;
  background: var(--gray-100);
}
.pe-card-featured .pe-card-img {
  height: auto;
}

.pe-card {
  background: var(--white);
  padding: 40px;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}
.pe-card:hover { background: var(--gray-50); }

.pe-card-featured {
  grid-column: 1 / 3;
  background: var(--dark);
}
.pe-card-featured:hover { background: var(--dark-2); }

.pe-card-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 16px;
}
.pe-card-featured .pe-card-num { color: var(--orange-l); }

.pe-card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 10px;
}
.pe-card-featured .pe-card-tag { color: var(--gray-500); }

.pe-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.pe-card-featured .pe-card-title {
  font-size: 2.2rem;
  color: var(--white);
}

.pe-card-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 20px;
}
.pe-card-featured .pe-card-desc {
  font-size: 1rem;
  color: var(--gray-400);
  max-width: 440px;
}

.pe-card-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.pe-card-specs li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}
.pe-card-specs li span { color: var(--gray-500); }
.pe-card-specs li strong { color: var(--white); font-weight: 600; }

.pe-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-400);
  transition: color 0.2s, gap 0.2s;
}
.pe-card-link span { transition: transform 0.2s; }
.pe-card:hover .pe-card-link { color: var(--orange); }
.pe-card:hover .pe-card-link span { transform: translateX(4px); }
.pe-card-featured .pe-card-link { color: var(--orange-l); }
.pe-card-featured:hover .pe-card-link { color: var(--orange); }

/* ----------------------------------------------------------------
   TECHNOLOGY HIGHLIGHT (home dark section)
---------------------------------------------------------------- */
.dark-section {
  background: var(--dark);
  color: var(--white);
}
.dark-section .section-title { color: var(--white); }

.tech-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.06);
  margin-top: 56px;
}
.tp-item {
  background: var(--dark);
  padding: 40px 36px;
  transition: background 0.2s;
}
.tp-item:hover { background: var(--dark-2); }

.tp-icon {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(249,115,22,.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: rgba(249,115,22,.05);
}

.tp-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.tp-desc {
  font-size: 0.88rem;
  color: var(--gray-400);
  line-height: 1.68;
  margin-bottom: 20px;
}

.tp-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange);
  transition: opacity 0.2s;
}
.tp-link:hover { opacity: 0.7; }

/* ----------------------------------------------------------------
   ABOUT TEASER (home)
---------------------------------------------------------------- */
.at-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.at-text {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-top: 20px;
}
.at-text + .at-text { margin-top: 16px; }
.mt-32 { margin-top: 32px; }

.at-visual { display: flex; }
.at-visual-inner {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.at-stat-card {
  display: flex;
  flex-direction: column;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-200);
}
.at-stat-year {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.06em;
  line-height: 1;
}
.at-stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 6px;
}
.at-highlights { display: flex; flex-direction: column; gap: 14px; }
.at-hl {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--gray-700);
  font-weight: 500;
}
.at-hl-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange-pale);
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ----------------------------------------------------------------
   CERTIFICATIONS (home)
---------------------------------------------------------------- */
.certs-section {
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.certs-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.certs-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}
.cert-item {
  padding: 10px 20px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: 0.02em;
  transition: border-color 0.2s, color 0.2s;
}
.cert-item:hover { border-color: var(--orange); color: var(--orange); }

/* ----------------------------------------------------------------
   CTA SECTION (home)
---------------------------------------------------------------- */
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.cta-desc {
  font-size: 1rem;
  color: var(--gray-400);
  margin-top: 12px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ----------------------------------------------------------------
   PAGE HERO (inner pages)
---------------------------------------------------------------- */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(60px, 8vw, 100px));
  padding-bottom: clamp(60px, 8vw, 100px);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 700px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.page-hero-title em { font-style: italic; color: var(--orange); }
.page-hero-desc {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.72;
  max-width: 560px;
}

/* ----------------------------------------------------------------
   PRODUCTS PAGE
---------------------------------------------------------------- */
.products-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  min-height: 60vh;
}

.products-sidebar {
  padding: 40px 32px;
  border-right: 1px solid var(--gray-200);
  position: sticky;
  top: var(--nav-h);
  height: fit-content;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}

.sidebar-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
  width: 100%;
}
.sidebar-nav-item:hover { background: var(--gray-100); color: var(--dark); }
.sidebar-nav-item.active { background: var(--orange-pale); color: var(--orange); font-weight: 600; }
.sidebar-nav-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-400);
  min-width: 20px;
}
.sidebar-nav-item.active .sidebar-nav-num { color: var(--orange-l); }

.sidebar-divider { height: 1px; background: var(--gray-200); margin: 20px 0; }

.filter-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 10px;
}
.filter-options { display: flex; flex-direction: column; gap: 6px; }
.filter-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--gray-600);
  cursor: pointer;
}
.filter-opt input { accent-color: var(--orange); }

/* Products main content */
.products-main { padding: 40px 56px; }

.products-section { margin-bottom: 80px; }
.products-section:last-child { margin-bottom: 0; }

.prod-section-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}
.prod-section-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
  letter-spacing: -0.04em;
  flex-shrink: 0;
  margin-top: -4px;
}
.prod-section-info { flex: 1; }
.prod-section-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}
.prod-section-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.prod-section-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
  max-width: 520px;
}

.prod-section-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
  margin-bottom: 28px;
  background: var(--gray-100);
}

.prod-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.prod-specs-table {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.pst-header {
  padding: 14px 20px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.pst-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.85rem;
}
.pst-row:last-child { border-bottom: none; }
.pst-key { color: var(--gray-500); }
.pst-val { font-weight: 600; color: var(--dark); }

.prod-models-section { margin-top: 0; }
.prod-models-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.prod-models-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.prod-model-tag {
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
}

/* ----------------------------------------------------------------
   TECHNOLOGY PAGE
---------------------------------------------------------------- */
.tech-page-layout { }

.tab-nav-wrap {
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: var(--nav-h);
  background: var(--white);
  z-index: 100;
}
.tab-nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tab-btn {
  padding: 18px 28px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-500);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.tab-btn:hover { color: var(--dark); }
.tab-btn.active { color: var(--orange); border-color: var(--orange); }

.tab-panels { }
.tab-panel { display: none; padding: clamp(60px, 8vw, 100px) 0; }
.tab-panel.active { display: block; }

.tech-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tech-panel-content { }
.tech-panel-visual {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tech-stat-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200);
}
.tech-stat-row:last-child { border-bottom: none; }
.tech-stat-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.04em;
  line-height: 1;
}
.tech-stat-info { flex: 1; }
.tech-stat-label { font-size: 0.88rem; font-weight: 600; color: var(--dark); }
.tech-stat-desc { font-size: 0.8rem; color: var(--gray-500); margin-top: 2px; }

.tech-feature-list { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.tech-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.tech-feature-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}
.tech-feature-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.tech-feature-text p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Process steps */
.process-section {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
}
.process-step {
  background: var(--white);
  padding: 40px 32px;
  position: relative;
}
.process-step-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 16px;
}
.process-step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.process-step-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* Certifications grid */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.cert-card {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cert-card:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 16px rgba(249,115,22,.1);
}
.cert-card-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.cert-card-desc {
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ----------------------------------------------------------------
   ABOUT PAGE
---------------------------------------------------------------- */
.story-section { }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.story-text { }
.story-lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 24px;
}
.story-body {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.75;
}
.story-body + .story-body { margin-top: 16px; }

.story-visual {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}
.story-visual-card {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 48px;
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.story-visual-card::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(249,115,22,.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}
.story-card-head {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.story-card-year {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.06em;
  line-height: 1;
  margin-bottom: 8px;
}
.story-card-tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 32px;
}
.story-card-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.scs-item { display: flex; justify-content: space-between; align-items: center; }
.scs-label { font-size: 0.85rem; color: var(--gray-400); }
.scs-val { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--white); }

/* Timeline */
.timeline-section {
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}
.timeline {
  position: relative;
  margin-top: 56px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--gray-200);
}

.tl-item {
  display: flex;
  gap: 0;
  align-items: flex-start;
  margin-bottom: 48px;
  position: relative;
}
.tl-item:last-child { margin-bottom: 0; }

.tl-year {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-400);
  width: 120px;
  flex-shrink: 0;
  padding-top: 3px;
}
.tl-item.highlight .tl-year { color: var(--orange); }

.tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
  flex-shrink: 0;
  margin-top: 4px;
  margin-right: 32px;
  position: relative;
  z-index: 1;
}
.tl-item.highlight .tl-dot {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(249,115,22,.15);
}

.tl-content { flex: 1; }
.tl-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.tl-desc {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* Manufacturing section */
.manufacturing-section { }
.manufacturing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.mfg-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mfg-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow);
}
.mfg-icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.mfg-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.mfg-desc {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* Global offices */
.offices-section { background: var(--dark); }
.offices-section .section-title { color: var(--white); }
.offices-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.06);
  margin-top: 48px;
}
.office-card {
  background: var(--dark);
  padding: 36px 28px;
  transition: background 0.2s;
}
.office-card:hover { background: var(--dark-2); }
.office-flag {
  font-size: 2rem;
  margin-bottom: 16px;
}
.office-country {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.office-city {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.office-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.office-detail {
  font-size: 0.8rem;
  color: var(--gray-500);
}
.office-detail strong {
  color: var(--gray-400);
  font-weight: 500;
}

/* ----------------------------------------------------------------
   CONTACT PAGE
---------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-form-section { }
.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.contact-form-subtitle {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin-bottom: 32px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: 0.03em;
}
.form-input, .form-select, .form-textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,.1);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; cursor: pointer; }

.form-submit {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.form-note {
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* Contact offices side */
.contact-offices { }
.contact-offices-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
}
.contact-office-list { display: flex; flex-direction: column; gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.contact-office-item {
  background: var(--white);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
  transition: background 0.2s;
}
.contact-office-item:hover { background: var(--gray-50); }
.co-flag { font-size: 1.5rem; }
.co-info { }
.co-country {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.co-city { font-size: 0.82rem; color: var(--gray-500); }
.co-contact { font-size: 0.8rem; color: var(--orange); margin-top: 4px; }

/* FAQ accordion */
.faq-section { border-top: 1px solid var(--gray-200); }
.faq-list { margin-top: 48px; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 22px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  gap: 16px;
  transition: background 0.2s;
}
.faq-q:hover { background: var(--gray-50); }
.faq-q-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--gray-500);
  transition: all 0.3s;
}
.faq-item.open .faq-q-icon {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s;
}
.faq-a-inner {
  padding: 0 28px 24px;
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 400px; }

/* ----------------------------------------------------------------
   FOOTER
---------------------------------------------------------------- */
.site-footer {
  background: var(--dark);
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 32px;
}

.footer-brand { }
.footer-brand .nav-logo { margin-bottom: 20px; display: inline-flex; }
.footer-brand .nav-logo-img { filter: brightness(0) invert(1); }

.footer-tagline {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 28px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}
.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 0.8rem;
  transition: border-color 0.2s, color 0.2s;
}
.footer-social-link:hover { border-color: var(--orange); color: var(--orange); }

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--gray-500);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-list li {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-copy { font-size: 0.8rem; color: var(--gray-600); }
.footer-dev  { font-size: 0.75rem; color: var(--gray-600); }
.footer-dev a { color: var(--gray-500); text-decoration: none; transition: color 0.2s; }
.footer-dev a:hover { color: var(--orange); }
.footer-legal { font-size: 0.8rem; color: var(--gray-600); }
.footer-legal a { color: var(--gray-600); transition: color 0.2s; }
.footer-legal a:hover { color: var(--gray-400); }

/* ----------------------------------------------------------------
   SCROLL PROGRESS
---------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--orange);
  z-index: 9999;
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
}

/* ----------------------------------------------------------------
   UTILITY
---------------------------------------------------------------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ----------------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------------- */
@media (max-width: 1200px) {
  .container { padding: 0 32px; }
  .products-main { padding: 40px 40px; }
  .tech-pillars { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(3, 1fr); }
  .offices-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .btn-nav-cta { display: none; }
  .lang-switcher { display: flex; }

  .hero-container { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { max-width: 100%; }

  .at-grid { grid-template-columns: 1fr; gap: 48px; }
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .story-visual { position: static; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }

  .products-layout { grid-template-columns: 1fr; }
  .products-sidebar {
    position: static;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding: 24px 32px;
  }
  .sidebar-nav { flex-direction: row; flex-wrap: wrap; }
  .products-main { padding: 40px 32px; }
  .prod-content-grid { grid-template-columns: 1fr; }

  .tech-panel-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

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

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-item { padding: 24px; border-bottom: 1px solid var(--gray-200); }
  .stat-item:nth-child(even) { border-right: none; }
  .stat-item:last-child { border-bottom: none; }
  .stat-item:nth-last-child(2) { border-bottom: none; }

  .products-editorial { grid-template-columns: 1fr; }
  .pe-card-featured { grid-column: auto; }
  .pe-card-img, .pe-card-featured .pe-card-img {
    height: auto;
    background: var(--gray-100);
  }

  .tech-pillars { grid-template-columns: 1fr; }

  .section-header-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .see-all-link { align-self: auto; }

  .cta-inner { flex-direction: column; align-items: flex-start; }

  .timeline::before { left: 80px; }
  .tl-year { width: 80px; font-size: 0.78rem; }
  .tl-dot { margin-right: 20px; }

  .manufacturing-grid { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .mobile-drawer-inner { padding: 24px 20px; }

  .hero-title { font-size: clamp(3rem, 10vw, 4.5rem); }
  .page-hero-title { font-size: clamp(2rem, 7vw, 3rem); }

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

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary, .hero-actions .btn-outline { text-align: center; justify-content: center; }
  .process-grid { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr 1fr; }
  .cta-actions { flex-direction: column; }
}

/* ================================================================
   PRODUCT DETAIL PAGES
================================================================ */
.pd-hero {
  position: relative; overflow: hidden;
  background: var(--dark);
}
.pd-hero-img {
  width: 100%; height: 480px; object-fit: cover; opacity: .85;
  display: block;
}
.pd-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.65) 40%, transparent 80%);
  display: flex; align-items: flex-end; padding: 56px 64px;
}
.pd-hero-content { max-width: 560px; color: white; }
.pd-hero-num { font-size: .7rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.pd-hero-title { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800;
  line-height: 1.1; margin-bottom: 14px; }
.pd-hero-desc { font-size: 1rem; color: rgba(255,255,255,.75); line-height: 1.6; }

/* Stats bar */
.pd-stats-bar {
  background: var(--dark-2); display: flex; gap: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.pd-stat {
  flex: 1; padding: 24px 32px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.pd-stat:last-child { border-right: none; }
.pd-stat-val { font-size: 1.6rem; font-weight: 800; color: var(--orange); line-height: 1; }
.pd-stat-label { font-size: .72rem; color: rgba(255,255,255,.5);
  text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }

/* Sections */
.pd-section { padding: 72px 0; }
.pd-section.bg-gray { background: var(--gray-50); }
.pd-section-head { margin-bottom: 40px; }
.pd-section-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 10px;
}
.pd-section-title { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; color: var(--gray-800); }
.pd-section-sub { font-size: .95rem; color: var(--gray-600); margin-top: 8px; line-height: 1.6; max-width: 600px; }

/* Variants grid */
.pd-variants-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.pd-variant-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: 12px; overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.pd-variant-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-2px); }
.pd-variant-img {
  width: 100%; height: auto;
  background: var(--gray-100); display: block;
}
.pd-variant-body { padding: 20px; }
.pd-variant-tag { font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.pd-variant-name { font-size: 1rem; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.pd-variant-desc { font-size: .82rem; color: var(--gray-600); line-height: 1.5; margin-bottom: 12px; }
.pd-variant-specs { border-top: 1px solid var(--gray-100); padding-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.pd-variant-spec { display: flex; justify-content: space-between; font-size: .78rem; }
.pd-variant-spec span:first-child { color: var(--gray-400); }
.pd-variant-spec strong { color: var(--gray-800); font-weight: 600; }

/* Gallery */
.pd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.pd-gallery-item { border-radius: 8px; overflow: hidden; background: var(--gray-100); }
.pd-gallery-item img { width: 100%; height: auto; display: block;
  transition: transform .4s; }
.pd-gallery-item:hover img { transform: scale(1.03); }
.pd-gallery-item.span2 { grid-column: span 2; }

/* Specs table */
.pd-specs-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--gray-200); border-radius: 12px; overflow: hidden;
}
.pd-spec-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px; border-bottom: 1px solid var(--gray-100);
  background: white;
}
.pd-spec-row:nth-child(odd) { background: var(--gray-50); }
.pd-spec-row:last-child { border-bottom: none; }
.pd-spec-key { font-size: .82rem; color: var(--gray-600); font-weight: 500; }
.pd-spec-val { font-size: .85rem; font-weight: 700; color: var(--gray-800); text-align: right; }

/* Features */
.pd-features-list { display: flex; flex-direction: column; gap: 80px; }
.pd-feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.pd-feature-row.reverse { direction: rtl; }
.pd-feature-row.reverse > * { direction: ltr; }
.pd-feature-img { border-radius: 12px; overflow: hidden; background: var(--gray-100); }
.pd-feature-img img { width: 100%; height: auto; display: block; }
.pd-feature-num { font-size: 4rem; font-weight: 800; color: var(--gray-200);
  line-height: 1; margin-bottom: 12px; }
.pd-feature-title { font-size: 1.5rem; font-weight: 800; color: var(--gray-800); margin-bottom: 12px; }
.pd-feature-desc { font-size: .95rem; color: var(--gray-600); line-height: 1.7; }
.pd-feature-points { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.pd-feature-point { display: flex; gap: 10px; font-size: .875rem; color: var(--gray-700); }
.pd-feature-point::before { content: '—'; color: var(--orange); flex-shrink: 0; font-weight: 700; }

/* Model tags */
.pd-models-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pd-model-tag {
  padding: 5px 14px; background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: 20px; font-size: .78rem; font-weight: 600; color: var(--gray-700);
}

/* Responsive */
@media (max-width: 1024px) {
  .pd-hero-img { height: 360px; }
  .pd-hero-overlay { padding: 40px 32px; }
  .pd-stats-bar { flex-wrap: wrap; }
  .pd-stat { flex: 1 1 50%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .pd-gallery-grid { grid-template-columns: 1fr 1fr; }
  .pd-gallery-item.span2 { grid-column: span 1; }
  .pd-feature-row { grid-template-columns: 1fr; gap: 32px; }
  .pd-feature-row.reverse { direction: ltr; }
  .pd-specs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .pd-hero-img { height: 260px; }
  .pd-hero-overlay { padding: 24px 20px; }
  .pd-hero-title { font-size: 1.8rem; }
  .pd-gallery-grid { grid-template-columns: 1fr; }
  .pd-variants-grid { grid-template-columns: 1fr; }
  .pd-stat { flex: 1 1 100%; }
  .pd-section { padding: 48px 0; }
}

/* ----------------------------------------------------------------
   MODEL PAGES
---------------------------------------------------------------- */

/* Feature grid */
.model-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.model-feature-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
}
.model-feature-card img { width: 100%; height: auto; display: block; }
.model-feature-body { padding: 20px 22px 24px; }
.model-feature-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem; font-weight: 700;
  color: var(--gray-900); margin-bottom: 6px;
}
.model-feature-desc { font-size: .85rem; color: var(--gray-500); line-height: 1.65; }

/* Related models strip */
.model-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; margin-top: 28px;
}
.model-related-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: var(--white);
  border-radius: 12px;
  border: 1.5px solid var(--gray-200);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.model-related-card:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 20px rgba(0,0,0,.09);
  transform: translateY(-2px);
}
.model-related-img {
  width: 56px; height: 42px; object-fit: cover;
  border-radius: 6px; background: var(--gray-100); flex-shrink: 0;
}
.model-related-name {
  font-size: .88rem; font-weight: 700;
  color: var(--gray-900);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.3;
}
.model-related-sub { font-size: .76rem; color: var(--gray-400); margin-top: 2px; }

/* Specs table for models */
.model-specs-full {
  width: 100%; border-collapse: collapse; margin-top: 24px;
  font-size: .85rem;
}
.model-specs-full th {
  background: var(--gray-800); color: var(--white);
  padding: 10px 14px; text-align: left; font-weight: 600;
  font-family: 'Space Grotesk', sans-serif; font-size: .82rem;
}
.model-specs-full td {
  padding: 9px 14px; border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}
.model-specs-full tr:nth-child(even) td { background: var(--gray-50); }
.model-specs-full tr:last-child td { border-bottom: none; }

/* ============================================================
   MODEL MODAL DRAWER
   ============================================================ */
.mm-backdrop {
  position: fixed; inset: 0;
  background: rgba(10,12,18,.6);
  z-index: 9000;
  display: flex; justify-content: flex-end;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  backdrop-filter: blur(2px);
}
.mm-backdrop.open { opacity: 1; pointer-events: all; }

.mm-drawer {
  width: min(700px, 100vw);
  height: 100vh;
  background: #fff;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
  box-shadow: -8px 0 40px rgba(0,0,0,.18);
}
.mm-backdrop.open .mm-drawer { transform: translateX(0); }

.mm-header {
  display: flex; align-items: flex-start;
  justify-content: space-between;
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0; gap: 16px;
}
.mm-header-text { flex: 1; min-width: 0; }
.mm-tag {
  font-size: .65rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 6px;
}
.mm-title {
  font-size: 1.35rem; font-weight: 800;
  color: var(--gray-800); line-height: 1.2;
}
.mm-subtitle {
  font-size: .82rem; color: var(--gray-500);
  margin-top: 4px; line-height: 1.4;
}
.mm-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gray-100); border: none;
  cursor: pointer; font-size: 1rem;
  color: var(--gray-500); display: flex;
  align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .2s, color .2s;
}
.mm-close:hover { background: var(--gray-200); color: var(--gray-800); }

.mm-tabs {
  display: flex; border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0; overflow-x: auto;
  scrollbar-width: none;
}
.mm-tabs::-webkit-scrollbar { display: none; }
.mm-tab {
  background: none; border: none;
  padding: 13px 20px; font-size: .8rem; font-weight: 600;
  color: var(--gray-400); cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.mm-tab.active { color: var(--orange); border-bottom-color: var(--orange); }
.mm-tab:hover:not(.active) { color: var(--gray-600); }

.mm-body {
  flex: 1; overflow-y: auto; padding: 28px 32px;
  scroll-behavior: smooth;
}
.mm-panel { display: none; }
.mm-panel.active { display: block; }

.mm-footer {
  padding: 18px 32px;
  border-top: 1px solid var(--gray-200);
  display: flex; gap: 10px; flex-shrink: 0;
  background: var(--gray-50);
}

/* ── Stats row inside modal ── */
.mm-stats {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--gray-200);
  border: 1px solid var(--gray-200); border-radius: 10px;
  overflow: hidden; margin-bottom: 24px;
}
.mm-stat {
  background: #fff; padding: 16px 12px; text-align: center;
}
.mm-stat-val {
  font-size: 1.25rem; font-weight: 800;
  color: var(--orange); line-height: 1;
}
.mm-stat-label {
  font-size: .64rem; color: var(--gray-400);
  margin-top: 4px; line-height: 1.3;
}

/* ── Section label inside modal ── */
.mm-section-label {
  font-size: .63rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gray-400); margin: 24px 0 10px;
  display: flex; align-items: center; gap: 10px;
}
.mm-section-label::after {
  content: ''; flex: 1; height: 1px; background: var(--gray-200);
}

/* ── Feature bullets ── */
.mm-features { display: flex; flex-direction: column; gap: 10px; }
.mm-feature {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px;
  background: var(--gray-50); border-radius: 8px;
}
.mm-feature-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange); color: #fff;
  font-size: .62rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.mm-feature-body { flex: 1; }
.mm-feature-title {
  font-size: .85rem; font-weight: 700; color: var(--gray-800);
  margin-bottom: 2px;
}
.mm-feature-desc {
  font-size: .78rem; color: var(--gray-500); line-height: 1.55;
}

/* ── Application guide ── */
.mm-apps { display: flex; flex-direction: column; gap: 8px; }
.mm-app {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 8px;
  border: 1px solid var(--gray-200); background: #fff;
}
.mm-app-icon { font-size: 1.3rem; flex-shrink: 0; width: 28px; text-align: center; }
.mm-app-info { flex: 1; }
.mm-app-label {
  font-size: .82rem; font-weight: 700; color: var(--gray-800);
}
.mm-app-sub {
  font-size: .72rem; color: var(--gray-500); margin-top: 1px;
}
.mm-app-model {
  font-size: .72rem; font-weight: 700; color: var(--orange);
  white-space: nowrap;
}

/* ── Specs table ── */
.mm-table-wrap { overflow-x: auto; margin-top: 4px; }
.mm-table {
  width: 100%; border-collapse: collapse;
  font-size: .76rem; min-width: 520px;
}
.mm-table th {
  background: var(--gray-800); color: #fff;
  padding: 9px 10px; text-align: left;
  font-weight: 600; font-size: .68rem;
  white-space: nowrap;
}
.mm-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}
.mm-table tr:nth-child(even) td { background: var(--gray-50); }
.mm-table tr:hover td { background: rgba(249,115,22,.05); }
.mm-table .td-model { font-weight: 700; color: var(--gray-800); font-size: .73rem; }
.mm-table .td-hi { color: var(--orange); font-weight: 700; }

/* ── Config grid ── */
.mm-config-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-top: 4px;
}
.mm-config-item {
  padding: 14px; border-radius: 8px;
  border: 1px solid var(--gray-200); background: #fff;
}
.mm-config-badge {
  display: inline-block; padding: 2px 8px;
  background: var(--orange); color: #fff;
  font-size: .62rem; font-weight: 800;
  letter-spacing: .08em; border-radius: 4px;
  margin-bottom: 7px;
}
.mm-config-badge.secondary {
  background: var(--gray-700);
}
.mm-config-item-title {
  font-size: .82rem; font-weight: 700;
  color: var(--gray-800); margin-bottom: 3px;
}
.mm-config-item-desc {
  font-size: .74rem; color: var(--gray-500); line-height: 1.5;
}
.mm-note {
  font-size: .73rem; color: var(--gray-400);
  margin-top: 14px; line-height: 1.55;
  padding: 10px 14px; background: var(--gray-50);
  border-radius: 6px; border-left: 3px solid var(--gray-300);
}

/* ── Variant card clickable ── */
.pd-variant-card[data-open-model] {
  cursor: pointer;
  transition: box-shadow .25s, transform .25s;
}
.pd-variant-card[data-open-model]:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.13);
  transform: translateY(-3px);
}
.pd-variant-open-btn {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 14px; font-size: .78rem; font-weight: 700;
  color: var(--orange); background: none; border: none;
  cursor: pointer; padding: 0;
  transition: gap .2s;
}
.pd-variant-open-btn:hover { gap: 8px; }

@media (max-width: 640px) {
  .mm-drawer { width: 100vw; }
  .mm-body { padding: 20px 18px; }
  .mm-header { padding: 20px 18px; }
  .mm-footer { padding: 14px 18px; }
  .mm-stats { grid-template-columns: repeat(2,1fr); }
  .mm-config-grid { grid-template-columns: 1fr; }
  .mm-title { font-size: 1.1rem; }
}

/* ----------------------------------------------------------------
   MIACHINA NAV BUTTON
---------------------------------------------------------------- */
.btn-nav-miachina {
  padding: 9px 22px;
  background: transparent;
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--orange);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.btn-nav-miachina:hover { background: var(--orange); color: var(--white); }
@media (max-width: 1024px) { .btn-nav-miachina { display: none; } }

/* ----------------------------------------------------------------
   INLINE LEAD FORM SECTION
---------------------------------------------------------------- */
.inline-lead-section {
  background: var(--dark);
  padding: 64px 0;
}
.inline-lead-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.inline-lead-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.inline-lead-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
}
.inline-lead-sub {
  font-size: .95rem;
  color: var(--gray-400);
  line-height: 1.65;
}
.inline-form-fields {
  display: grid;
  gap: 12px;
}
.inline-form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-700);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  background: var(--gray-800);
  color: var(--white);
  transition: border-color .2s;
  box-sizing: border-box;
  font-family: var(--font-body);
}
.inline-form-input::placeholder { color: var(--gray-500); }
.inline-form-input:focus { outline: none; border-color: var(--orange); }
.inline-form-btn { width: 100%; justify-content: center; }
.inline-form-success {
  display: none;
  margin-top: 14px;
  padding: 14px 18px;
  background: rgba(249,115,22,.1);
  border: 1px solid rgba(249,115,22,.3);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--orange-l);
  font-weight: 500;
}
@media (max-width: 900px) {
  .inline-lead-inner { grid-template-columns: 1fr; gap: 32px; }
  .inline-lead-title { font-size: 1.5rem; }
}

/* ----------------------------------------------------------------
   INTL-TEL-INPUT OVERRIDES (phone field with country code)
---------------------------------------------------------------- */
.iti { width: 100%; }
.iti__selected-dial-code { font-size: .85rem; }
.iti--separate-dial-code .iti__selected-flag {
  background: var(--gray-700);
  border-right: 1px solid var(--gray-600);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.iti--separate-dial-code .iti__selected-flag:hover { background: var(--gray-600); }
.iti__country-list {
  background: var(--gray-800);
  border: 1px solid var(--gray-600);
  color: var(--white);
  border-radius: var(--radius-sm);
  z-index: 9999;
}
.iti__country.iti__highlight,
.iti__country:hover { background: var(--gray-700); }
.iti__dial-code { color: var(--gray-400); }
.iti__search-input {
  background: var(--gray-700);
  color: var(--white);
  border: 1px solid var(--gray-600);
  border-radius: 4px;
  padding: 6px 10px;
  font-size: .85rem;
  width: 100%;
  box-sizing: border-box;
}

/* ================================================================
   BLOG — listing page + article pages
================================================================ */

/* ── Blog grid ──────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* ── Blog card ──────────────────────────────────────────────── */
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.blog-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
  transform: translateY(-3px);
}
.blog-card-img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--gray-100);
}
.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: .75rem;
  color: var(--gray-400);
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.blog-card-cat {
  background: var(--orange-light, #FFF3E0);
  color: var(--orange);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: .72rem;
  letter-spacing: .3px;
}
.blog-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 10px;
  color: var(--gray-900);
}
.blog-card-title a {
  color: inherit;
  text-decoration: none;
}
.blog-card-title a:hover { color: var(--orange); }
.blog-card-excerpt {
  font-size: .88rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}
.blog-card-link {
  font-size: .83rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  letter-spacing: .2px;
}
.blog-card-link:hover { text-decoration: underline; }

/* ── Article hero ───────────────────────────────────────────── */
.article-hero {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: calc(var(--nav-h) + 48px) 0 48px;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(249,115,22,.07) 0%, transparent 70%);
  pointer-events: none;
}
.article-hero-img {
  display: none;
}
.article-hero-overlay {
  position: relative;
  max-width: 820px;
}
.article-hero-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.article-cat {
  background: var(--orange);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.article-date, .article-read {
  font-size: .8rem;
  color: var(--gray-400);
}
.article-hero-title {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -.02em;
}
.article-hero-lead {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 640px;
  margin: 0;
}
@media (max-width: 600px) {
  .article-hero { padding-top: calc(var(--nav-h) + 32px); }
}

/* ── Article layout (two-column) ────────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Blog card: fix color vars that don't exist in this project ── */
.blog-card-title { color: var(--dark) !important; }
.blog-card-excerpt { color: var(--gray-500) !important; }
.blog-card-meta { color: var(--gray-400) !important; }
.article-sidebar-box { background: var(--gray-50) !important; border: 1px solid var(--gray-200); border-radius: 12px; padding: 20px; }

/* ── Article body ───────────────────────────────────────────── */
.article-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-700);
}
.article-body h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 40px 0 16px;
  padding-top: 8px;
  border-top: 2px solid var(--gray-100);
}
.article-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 28px 0 10px;
}
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol {
  padding-left: 24px;
  margin: 0 0 18px;
}
.article-body li { margin-bottom: 6px; }
.article-body strong { color: var(--gray-900); }
.article-body code {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: .9em;
  font-family: 'Courier New', monospace;
}
.article-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gray-700);
  line-height: 1.7;
  border-left: 3px solid var(--orange);
  padding-left: 20px;
  margin: 0 0 32px;
}
.article-highlight {
  background: linear-gradient(135deg, var(--gray-50) 0%, #FFF3E0 100%);
  border: 1px solid var(--orange-light, #FFD9A8);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: .95rem;
  line-height: 1.7;
  margin: 32px 0;
}
.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: .9rem;
}
.article-table th {
  background: var(--gray-800);
  color: var(--white);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}
.article-table td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}
.article-table tr:nth-child(even) td { background: var(--gray-50); }

/* ── Article sidebar ────────────────────────────────────────── */
.article-sidebar {
  position: sticky;
  top: 100px;
}
.article-sidebar-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.article-sidebar-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--gray-400);
  margin-bottom: 4px;
}
.article-sidebar-box ul { list-style: none; padding: 0; margin: 0; }
.article-sidebar-box li + li { border-top: 1px solid var(--gray-200); padding-top: 8px; margin-top: 4px; }
