/* ============= Nairy Machinery — About Page Styles ============= */

/* ---- Header: solid mode (no hero below) ---- */
.header-solid {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

/* ---- Active nav link ---- */
.nav-active {
  color: var(--primary) !important;
}
.nav-active::after {
  width: 100% !important;
}
.about_container{width: 1400px; margin: 0 auto;}
/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.15em; color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color .25s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: rgba(255,255,255,0.9); }
.breadcrumb svg { opacity: 0.5; }

/* ---- Page Hero ---- */
.page-hero {
  position: relative; min-height: 50vh;
  background: var(--steel-deep); color: #fff;
  display: flex; align-items: center;
}
.page-hero-bg { position: absolute; inset: 0; overflow: hidden; }
.page-hero-img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.45;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(22,25,31,0.9) 40%, rgba(22,25,31,0.5) 100%);
}
.page-hero-content {
  position: relative; z-index: 10;
  padding-top: 120px; padding-bottom: 80px;
}
.page-hero h1 {
  font-size: clamp(40px, 6vw, 100px); font-weight: 700; text-transform: uppercase;
  line-height: 0.95; max-width: 900px; margin-bottom: 24px;
}
.page-hero h1 .accent { color: var(--primary); }
.page-hero > .container > p {
  font-size: 17px; color: rgba(255,255,255,0.72); max-width: 560px; line-height: 1.7; margin-bottom: 48px;
}
.page-hero-stats {
  display: flex; flex-wrap: wrap; gap: 0;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04); backdrop-filter: blur(8px);
  width: fit-content;
}
.ph-stat {
  padding: 20px 40px; display: flex; flex-direction: column; align-items: center;
}
.ph-val {
  font-family: var(--font-display); font-size: 36px; font-weight: 700;
  color: var(--primary); line-height: 1;
}
.ph-label {
  font-family: var(--font-display); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.15em; color: rgba(255,255,255,0.6); margin-top: 6px;
}
.ph-divider { width: 1px; background: rgba(255,255,255,0.12); align-self: stretch; }
@media(max-width:640px){
  .page-hero-stats { flex-direction: column; }
  .ph-divider { width: auto; height: 1px; }
  .ph-stat { padding: 16px 32px; }
}

/* ---- Overview Section ---- */
.about-intro-grid {
  display: grid; grid-template-columns: 1fr; gap: 64px; align-items: center;
}
@media(min-width:1024px){ .about-intro-grid{ grid-template-columns: 1fr 1fr; } }

.about-intro-text h2 {
  font-size: clamp(36px, 4vw, 60px); font-weight: 700; text-transform: uppercase;
  line-height: 0.95; margin-bottom: 28px;
}
.about-intro-text h2 .accent { color: var(--primary); }
.about-intro-text p {
  color: var(--muted-foreground); line-height: 1.75; margin-bottom: 16px; max-width: 520px;
}

.about-values { margin-top: 36px; display: flex; flex-direction: column; gap: 24px; }
.value-item {
  display: flex; gap: 20px; align-items: flex-start;
}
.value-icon {
  width: 48px; height: 48px; background: var(--muted);
  border: 1px solid var(--border); border-left: 3px solid var(--primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.value-icon svg { width: 20px; height: 20px; color: var(--primary); }
.value-item h4 {
  font-family: var(--font-display); font-size: 15px; text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 4px;
}
.value-item p { font-size: 14px; color: var(--muted-foreground); margin: 0; max-width: 100%; }

/* ---- Media blocks ---- */
.about-intro-media {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}

.media-main { position: relative; overflow: hidden; }
.media-main img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.media-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--primary); color: #fff;
  padding: 12px 20px;
  display: flex; flex-direction: column; align-items: center;
}
.badge-num {
  font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1;
}
.badge-label {
  font-family: var(--font-display); font-size: 9px; text-transform: uppercase;
  letter-spacing: 0.2em; margin-top: 4px; opacity: 0.85;
}

.media-sub { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.media-sub img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; flex: 1; min-height: 0; }
.media-sub-caption {
  background: var(--steel-deep); color: #fff;
  padding: 16px 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.12em; color: rgba(255,255,255,0.7);
}
@media(max-width:639px){
  .media-main img, .media-sub img { aspect-ratio: 16/9; }
}

/* ---- Stats Strip ---- */
.stats-strip {
  background: var(--steel-deep); color: #fff;
  padding: 0;
  overflow: hidden;
}
.stats-strip-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1px; background: rgba(255,255,255,0.08);
}
@media(min-width:768px){ .stats-strip-grid{ grid-template-columns: repeat(4,1fr); } }
.ss-item {
  background: var(--steel-deep); padding: 48px 40px;
  text-align: center; transition: background .3s;
}
.ss-item:hover { background: var(--steel); }
.ss-value {
  font-family: var(--font-display); font-size: clamp(44px, 5vw, 60px);
  font-weight: 700; color: var(--primary); line-height: 1;
}
.ss-value span { font-size: 0.5em; vertical-align: top; margin-top: 0.3em; display: inline-block; }
.ss-label {
  margin-top: 12px; font-family: var(--font-display); text-transform: uppercase;
  font-size: 11px; letter-spacing: 0.2em; color: rgba(255,255,255,0.6);
}



/* ---- Advantages ---- */
.advantages-section { background: var(--background);  padding-bottom: 30px;}
.adv-grid {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--border);
}
@media(min-width:768px){ .adv-grid{ grid-template-columns: repeat(2,1fr); } }
@media(min-width:1024px){ .adv-grid{ grid-template-columns: repeat(3,1fr); } }
.adv-card {
  background: var(--background); padding: 40px;
  position: relative; overflow: hidden;
  transition: background .3s;
}
.adv-card:hover { background: var(--steel-deep); }
.adv-icon {
  width: 56px; height: 56px; margin-bottom: 20px;
  color: var(--primary);
}
.adv-icon svg { width: 100%; height: 100%; }
.adv-num {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--font-display); font-size: 64px; font-weight: 700;
  color: var(--border); line-height: 1; transition: color .3s;
  pointer-events: none;
}
.adv-card:hover .adv-num { color: rgba(255,255,255,0.06); }
.adv-card h3 {
  font-family: var(--font-display); font-size: 18px; text-transform: uppercase;
  font-weight: 600; margin-bottom: 12px; transition: color .3s;
}
.adv-card:hover h3 { color: #fff; }
.adv-card p {
  font-size: 14px; color: var(--muted-foreground); line-height: 1.7; transition: color .3s;
}
.adv-card:hover p { color: rgba(255,255,255,0.65); }

/* ---- Partners / Regions ---- */
.partners-section { background: var(--background); }
.regions-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1px;
  background: var(--border);
}
@media(min-width:768px){ .regions-grid{ grid-template-columns: repeat(3,1fr); } }
@media(min-width:1024px){ .regions-grid{ grid-template-columns: repeat(6,1fr); } }
.region-item {
  background: var(--background); padding: 32px 24px; text-align: center;
  transition: background .3s;
}
.region-item:hover { background: var(--muted); }
.region-icon { width: 40px; height: 40px; margin: 0 auto 16px; }
.region-icon svg { width: 100%; height: 100%; }
.region-item h4 {
  font-family: var(--font-display); font-size: 14px; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 8px;
}
.region-item p { font-size: 12px; color: var(--muted-foreground); line-height: 1.5; }
@media(max-width:768px){
     .page-hero{height: 40vh;}
     .page-hero-content{padding: 70px 20px 30px 20px;}
     .about_container{width: 100%;}
}