/* ============================================================
   UMIYA MINERALS — Design System
   Light cream theme: warm off-white + charcoal + amber/gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Stack+Sans+Text&display=swap');

:root {
  /* Light cream palette */
  --ink:        #f7f3ee;
  --ink-2:      #efe9e0;
  --ink-3:      #e5ddd2;
  --surface:    #faf7f3;
  --surface-2:  #ffffff;
  --line:       rgba(60,50,35,0.10);
  --line-2:     rgba(60,50,35,0.16);
  --amber:      #b8730a;
  --amber-2:    #d4870c;
  --amber-light:#fde68a;
  --white:      #ffffff;
  --off-white:  #faf7f3;
  --text:       #1a1510;
  --text-2:     #3d3528;
  --muted:      #6b5d4a;
  --muted-2:    #9e8e78;
  --green:      #25d366;
  /* Dark nav */
  --nav-bg:     #f5f0e8;
  --nav-text:   #1a1510;
  --nav-muted:  #6b5d4a;
  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 3px rgba(60,50,35,.12);
  --shadow:     0 4px 24px rgba(60,50,35,.14);
  --shadow-lg:  0 12px 48px rgba(60,50,35,.18);
  --font-sans:  'Inter', system-ui, sans-serif;
  --font-display: 'Stack Sans Text', 'Inter', sans-serif;
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--ink);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 400; }
h4 { font-size: 1.05rem; font-weight: 400; letter-spacing: 0; }
p { color: var(--text-2); }

/* ── Utility ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid var(--amber);
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.text-amber { color: var(--amber); }
.text-muted { color: var(--muted); }
.divider {
  width: 48px; height: 2px;
  background: var(--amber);
  margin: 24px 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--amber-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(184,115,10,.30);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
}
.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(184,115,10,.06);
}
/* Hero sits on a dark image — make the outline button white so it pops when not hovered */
.hero .btn-outline {
  color: #ffffff;
  border-color: rgba(255,255,255,0.55);
}
.hero .btn-outline:hover {
  background: rgba(255,255,255,0.14);
  border-color: #ffffff;
  color: #ffffff;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ══════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #f0ebe1;
  border-bottom: 1px solid rgba(60,50,35,0.10);
  box-shadow: 0 1px 0 rgba(60,50,35,0.08);
  transition: background var(--transition);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(1.1);
}
.nav-brand-text { line-height: 1.2; }
.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-brand-sub {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--text);
}
.nav-link.active {
  position: relative;
}
.nav-link.active::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--amber);
  margin-top: 2px;
}
.nav-cta {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--amber);
  color: var(--ink);
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), box-shadow var(--transition);
  margin-left: 12px;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--amber-2);
  box-shadow: 0 4px 16px rgba(212,147,10,.4);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero headings stay white (dark photo overlay) ── */
.hero h1, .hero h2, .hero h3 { color: #ffffff; }
.hero p { color: rgba(255,255,255,0.85); }
.page-hero h1, .page-hero h2 { color: #ffffff; }

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 68px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/img-AGBBzOZvJRSJ3GvN.jpg');
  background-size: cover;
  background-position: center 30%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15,17,23,0.50) 0%,
    rgba(15,17,23,0.45) 30%,
    rgba(15,17,23,0.62) 60%,
    rgba(15,17,23,0.96) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 0 100px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1.05;
  max-width: 800px;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--white);
  text-shadow:
    0 2px 24px rgba(0,0,0,0.7),
    0 1px 4px rgba(0,0,0,0.9);
}
.hero-lead {
  font-size: 1.1rem;
  max-width: 580px;
  color: rgba(232,234,240,0.8);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 40px;
  flex-wrap: wrap;
}
.hero-stat {
  flex: 1;
  min-width: 130px;
  padding-right: 32px;
  border-right: 1px solid var(--line);
  margin-right: 32px;
}
.hero-stat:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--amber-2);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  right: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.hero-scroll-hint::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--muted-2);
}

/* ══════════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════════ */
.trust-bar {
  background: #1a1510;
  border-top: none;
  border-bottom: none;
  padding: 20px 0;
}
.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}
.trust-bar-inner::-webkit-scrollbar { display: none; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--amber);
  flex-shrink: 0;
}
.trust-item-text {
  font-size: 0.82rem;
  font-weight: 500;
  color: #c9b99e;
  letter-spacing: 0.02em;
}
.trust-dot {
  background: rgba(255,255,255,0.15) !important;
}
.trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-2);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   PRODUCT FEATURE
══════════════════════════════════════════════ */
.product-feature {
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.product-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}
.product-feature-visual {
  position: relative;
  overflow: hidden;
}
.product-feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}
.product-feature-visual:hover img {
  transform: scale(1.03);
}
.product-feature-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, var(--surface-2) 100%);
  pointer-events: none;
}
.product-feature-content {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 32px 0;
}
.spec-cell {
  background: var(--ink);
  padding: 16px 20px;
  transition: background var(--transition);
}
.spec-cell:hover { background: var(--ink-2); }
.spec-cell-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.spec-cell-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--amber);
  letter-spacing: -0.02em;
}
.spec-cell-unit {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
  font-family: var(--font-sans);
  letter-spacing: 0;
  margin-left: 4px;
}

/* ══════════════════════════════════════════════
   WHY CHOOSE — Split layout
══════════════════════════════════════════════ */
.why-section {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.why-section h2, .why-section h3 { color: var(--text); }
.why-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  align-items: start;
  padding: 100px 0;
}
.why-header { position: sticky; top: 100px; }
.why-header p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 16px;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.why-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.why-item:first-child { border-top: 1px solid var(--line); }
.why-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--amber);
  letter-spacing: 0.08em;
  padding-top: 3px;
}
.why-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.why-item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════
   APPLICATIONS
══════════════════════════════════════════════ */
.applications {
  background: var(--surface-2);
}
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
}
.app-card {
  background: var(--ink);
  padding: 36px 32px;
  position: relative;
  transition: background var(--transition);
}
.app-card:hover { background: var(--ink-2); }
.app-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(212,147,10,0.1);
  border: 1px solid rgba(212,147,10,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.app-card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--amber-2);
}
.app-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.app-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}
.app-card-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ══════════════════════════════════════════════
   FACILITY SECTION — video + text
══════════════════════════════════════════════ */
.facility-section {
  position: relative;
  overflow: hidden;
  background: #1a1510;
}
.facility-content {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}
.facility-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.facility-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
}
.fac-stat {
  background: rgba(26,21,16,0.6);
  padding: 28px 24px;
  backdrop-filter: blur(8px);
}
.fac-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--amber-2);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}
.fac-stat-label {
  font-size: 0.78rem;
  color: #a89880;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ══════════════════════════════════════════════
   YOUTUBE VIDEO EMBED — lazy facade
══════════════════════════════════════════════ */
.facility-video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 16px 60px rgba(0,0,0,0.45);
  cursor: pointer;
  background: #000;
}
.facility-video-wrap .yt-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.facility-video-wrap:hover .yt-thumb {
  transform: scale(1.03);
  opacity: 0.85;
}
.facility-video-wrap .yt-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.facility-video-wrap .yt-play-btn svg {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
  transition: transform 0.25s ease;
}
.facility-video-wrap:hover .yt-play-btn svg {
  transform: scale(1.12);
}
.facility-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.facility-video-wrap .yt-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: 32px 20px 16px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  pointer-events: none;
  z-index: 2;
}

/* ══════════════════════════════════════════════
   GALLERY SECTION — inside our facility
══════════════════════════════════════════════ */
.gallery-section {
  background: var(--ink);
  padding: 100px 0;
}
.gallery-head {
  text-align: center;
  margin-bottom: 56px;
}
.gallery-head h2 {
  margin-top: 4px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 300px 300px;
  gap: 6px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-2);
}
/* Rotary kiln — tall left feature, spans 2 rows */
.gallery-item:nth-child(1) {
  grid-column: 1 / 6;
  grid-row: 1 / 3;
}
/* Milling floor — top right stack */
.gallery-item:nth-child(2) {
  grid-column: 6 / 10;
  grid-row: 1 / 2;
}
/* Aerial view — bottom right stack */
.gallery-item:nth-child(3) {
  grid-column: 6 / 10;
  grid-row: 2 / 3;
}
/* Lab test tubes — bottom row wide */
.gallery-item:nth-child(4) {
  grid-column: 10 / 13;
  grid-row: 1 / 2;
}
/* QC filtration — bottom row */
.gallery-item:nth-child(5) {
  grid-column: 10 / 13;
  grid-row: 2 / 3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img {
  transform: scale(1.04);
}
.gallery-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 21, 16, 0.88) 0%,
    rgba(26, 21, 16, 0.4) 45%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 20px 22px;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
}
.gallery-caption span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--off-white);
  letter-spacing: 0.02em;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 6px;
  }
  .gallery-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: auto;
    height: 280px;
  }
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    height: 220px;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item:nth-child(1) {
    grid-column: 1;
    height: 260px;
  }
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5) {
    grid-column: 1;
    height: 220px;
  }
}

/* ══════════════════════════════════════════════
   BLOG CARDS
══════════════════════════════════════════════ */
.blog-section { background: var(--ink-2); }
.blog-section h2 { color: var(--text); }
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.blog-card {
  background: var(--ink-2);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background var(--transition);
}
.blog-card:hover { background: var(--ink-3); }
.blog-card-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}
.blog-card h3 {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-sans);
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.blog-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.blog-card-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber-2);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  transition: gap var(--transition);
}
.blog-card:hover .blog-card-link { gap: 10px; }
.blog-card-link svg { width: 14px; height: 14px; }

/* ══════════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════════ */
.cta-band {
  background: var(--amber);
  padding: 72px 0;
}
.cta-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 {
  color: #ffffff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  max-width: 560px;
}
.cta-band p {
  color: rgba(255,255,255,0.82);
  margin-top: 8px;
  font-size: 1rem;
}
.btn-dark {
  background: var(--text);
  color: var(--white);
  padding: 16px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
}
.btn-dark:hover {
  background: var(--text-2);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  background: #1a1510;
  border-top: none;
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 280px 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-logo {
  width: 48px;
  margin-bottom: 16px;
  filter: brightness(1.2);
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: #f5f0e8;
  margin-bottom: 4px;
}
.footer-brand-sub {
  font-size: 0.75rem;
  color: #7a6e60;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.82rem;
  color: #7a6e60;
  line-height: 1.7;
  opacity: 1;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a89880;
  margin-bottom: 20px;
  font-family: var(--font-sans);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.875rem;
  color: #7a6e60;
  transition: color var(--transition);
}
.footer-links a:hover { color: #f5f0e8; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.82rem;
}
.footer-contact-item svg {
  width: 14px;
  height: 14px;
  color: var(--amber-2);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-item span {
  color: #7a6e60;
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 0.78rem; color: #5a5044; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: 0.78rem;
  color: #5a5044;
  transition: color var(--transition);
}
.footer-legal a:hover { color: #f5f0e8; }

/* ══════════════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding: 160px 0 72px;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,17,23,0.6) 0%, rgba(15,17,23,0.92) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted-2);
  margin-bottom: 20px;
}
.breadcrumb a { transition: color var(--transition); }
.breadcrumb a:hover { color: var(--off-white); }
.breadcrumb-sep { color: var(--muted-2); opacity: 0.4; }
.page-hero h1 { max-width: 640px; margin-bottom: 16px; }
.page-hero-lead {
  font-size: 1.05rem;
  color: rgba(232,234,240,0.75);
  max-width: 560px;
  line-height: 1.75;
}

/* ══════════════════════════════════════════════
   PRODUCT PAGE SPECIFICS
══════════════════════════════════════════════ */
.specs-table-section { background: var(--ink); }
.specs-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 40px;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}
.specs-table thead th {
  background: var(--ink-2);
  padding: 14px 20px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-sans);
  white-space: nowrap;
}
.specs-table tbody tr {
  border-bottom: 1px solid var(--line);
  transition: background var(--transition);
}
.specs-table tbody tr:last-child { border-bottom: none; }
.specs-table tbody tr:hover { background: var(--ink-2); }
.specs-table td {
  padding: 14px 20px;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  vertical-align: middle;
}
.specs-table td:first-child {
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.88rem;
}
.specs-table td:nth-child(2) {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0;
}
.specs-table td:last-child {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* Oil type cards */
.oil-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 32px;
}
.oil-card {
  background: var(--ink);
  padding: 28px 24px;
  transition: background var(--transition);
}
.oil-card:hover { background: var(--ink-2); }
.oil-card-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--text);
}
.oil-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════
   FAQ (quality/blog pages)
══════════════════════════════════════════════ */
.faq-list {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 40px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  transition: background var(--transition);
}
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--amber);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item[open] { background: var(--ink); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ══════════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 64px;
  align-items: start;
}
.contact-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}
.contact-detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.contact-detail svg {
  width: 16px;
  height: 16px;
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 3px;
}
.contact-detail-text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}
.contact-detail-text strong {
  color: var(--text);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}
.form-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: sticky;
  top: 84px;
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.form-card > p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 28px;
  opacity: 1;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.875rem;
  color: var(--text);
  font-family: var(--font-sans);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted-2); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--amber);
  background: var(--surface-2);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-select option { background: var(--ink); }
.form-submit {
  width: 100%;
  background: var(--amber);
  color: var(--ink);
  padding: 14px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background var(--transition), box-shadow var(--transition);
}
.form-submit:hover {
  background: var(--amber-2);
  box-shadow: 0 4px 20px rgba(212,147,10,.35);
}
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 16px;
}
.map-wrap iframe {
  display: block;
}

/* ══════════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════════ */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.about-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.about-img-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(15,17,23,0.9));
  padding: 32px 20px 16px;
  font-size: 0.8rem;
  color: var(--muted);
}
.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 20px;
  opacity: 1;
}
.about-text p strong { color: var(--text); }
.milestones {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  padding-left: 28px;
  gap: 24px;
  margin-top: 32px;
}
.milestone { position: relative; }
.milestone::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  border: 2px solid var(--ink-2);
}
.milestone-year {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.milestone-text { font-size: 0.9rem; color: var(--muted); }

/* ══════════════════════════════════════════════
   BLOG PAGES
══════════════════════════════════════════════ */
.blog-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
}
.article-content { max-width: 720px; margin: 0 auto; }
.article-content h2 { font-size: 1.6rem; margin: 48px 0 16px; }
.article-content h3 { font-size: 1.2rem; margin: 32px 0 12px; }
.article-content p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 20px;
  opacity: 1;
}
.article-content ul, .article-content ol {
  margin: 16px 0 20px 24px;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 8px;
  line-height: 1.7;
}
.article-content strong { color: var(--text); }
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  font-size: 0.8rem;
  color: var(--muted-2);
}
.article-cta {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 48px 0;
}
.article-cta p { color: var(--muted); margin: 0 0 16px; font-size: 0.9rem; opacity: 1; }
.faq-section-article { margin-top: 48px; }
.faq-section-article h2 { margin-bottom: 24px; }

/* ══════════════════════════════════════════════
   QUALITY PAGE SPECIFICS
══════════════════════════════════════════════ */
.quality-params {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 40px;
}
.quality-param-card {
  background: var(--surface-2);
  padding: 36px 32px;
  transition: background var(--transition);
}
.quality-param-card:hover { background: var(--ink-2); }
.quality-param-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--amber);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.quality-param-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--text);
}
.quality-param-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
}
.whatsapp-float svg { width: 26px; height: 26px; color: white; }

/* ══════════════════════════════════════════════
   FORM SUCCESS STATE
══════════════════════════════════════════════ */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 24px;
}
.form-success svg {
  width: 48px;
  height: 48px;
  color: var(--amber-2);
  margin: 0 auto 16px;
}
.form-success h3 { margin-bottom: 8px; font-size: 1.2rem; }
.form-success p { color: var(--muted); font-size: 0.9rem; opacity: 1; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .product-feature-grid { grid-template-columns: 1fr; }
  .product-feature-visual { height: 340px; }
  .product-feature-visual::after { display: none; }
  .product-feature-content { padding: 48px 40px; }

  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-header { position: static; }

  .facility-inner { grid-template-columns: 1fr; gap: 40px; }

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

  .contact-layout { grid-template-columns: 1fr; }
  .form-card { position: static; }

  .about-story { grid-template-columns: 1fr; gap: 40px; }
  .about-img img { height: 340px; }

  .quality-params { grid-template-columns: 1fr 1fr; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #f0ebe1;
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 20px;
    gap: 2px;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(60,50,35,0.12);
  }
  .nav-menu-open .nav-links .nav-link { padding: 10px 12px; font-size: 0.9rem; }
  .nav-menu-open .nav-cta {
    display: block;
    margin: 8px 12px 4px;
    text-align: center;
    padding: 12px;
  }

  /* Sections */
  .section { padding: 56px 0; }
  .section-sm { padding: 44px 0; }

  /* Hero */
  .hero h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .hero-lead { font-size: 0.95rem; }
  .hero-stats { flex-wrap: wrap; gap: 0; }
  .hero-stat { min-width: 50%; flex: 0 0 50%; padding: 16px 0; margin-right: 0; border-right: none; border-bottom: 1px solid var(--line); }
  .hero-stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .hero-stat:nth-last-child(-n+2) { border-bottom: none; }
  .hero-stat-num { font-size: 1.8rem; }
  .hero-actions { gap: 12px; margin-bottom: 40px; }

  /* Product feature */
  .product-feature-content { padding: 36px 24px; }
  .spec-grid { grid-template-columns: 1fr 1fr; }

  /* Why section */
  .why-grid { padding: 56px 0; gap: 32px; }
  .why-item { gap: 16px; }

  /* Applications */
  .apps-grid { grid-template-columns: 1fr; }
  .app-card { padding: 28px 24px; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 6px;
  }
  .gallery-item:nth-child(1) { grid-column: 1 / 3; grid-row: auto; height: 260px; }
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5) { grid-column: auto; grid-row: auto; height: 200px; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }
  .blog-listing-grid { grid-template-columns: 1fr; }
  .blog-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .blog-card { padding: 24px; }

  /* CTA band */
  .cta-band-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cta-band { padding: 48px 0; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding: 48px 0 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Trust bar */
  .trust-bar-inner { gap: 20px; padding: 0 16px; }
  .trust-dot { display: none; }

  /* Facility video */
  .facility-video-wrap .yt-play-btn svg { width: 54px; height: 54px; }

  /* Contact */
  .contact-card { padding: 24px; }
  .form-card { padding: 28px 24px; }

  /* Specs table */
  .specs-table-wrap { border-radius: var(--radius); }
  .specs-table td, .specs-table thead th { padding: 12px 14px; }

  /* Quality params */
  .quality-params { grid-template-columns: 1fr; }
  .quality-param-card { padding: 28px 24px; }

  /* About */
  .milestones { padding-left: 20px; }

  /* Map */
  .map-wrap iframe { height: 240px; }

  /* Breadcrumb */
  .breadcrumb { font-size: 0.72rem; }
}

/* ── Small mobile (≤480px) ── */
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(1.65rem, 8.5vw, 2.1rem); }
  .hero-stat { min-width: 50%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .spec-grid { grid-template-columns: 1fr; }
  .oil-grid { grid-template-columns: 1fr; }

  .gallery-item:nth-child(1) { grid-column: 1 / 3; height: 220px; }
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5) { height: 180px; }

  .page-hero { padding: 130px 0 52px; }
  .page-hero h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }

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

  .product-feature-content { padding: 28px 16px; }
  .why-grid { padding: 44px 0; }

  .cta-band { padding: 40px 0; }
  .btn-dark { width: 100%; justify-content: center; }

  .article-content { padding: 0 4px; }
  .article-cta { padding: 20px; }

  /* Facility section on mobile */
  .facility-content { padding: 60px 0; }
  .facility-stats { grid-template-columns: 1fr 1fr; }
}
