/* ============================================================
   Uma Prime — Inner Pages  (loads after style.css)
   ============================================================ */

/* Page hero */
.page-hero {
  background: var(--navy);
  padding: 116px 0 56px;
  position: relative; overflow: hidden;
}
.page-hero .bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.06) 1px, transparent 1px);
  background-size: 48px 48px; pointer-events: none;
}
.page-hero .bg-glow {
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 6px; margin-bottom: 14px;
}
.breadcrumb a     { font-size: 12px; color: rgba(255,255,255,0.35); transition: color .2s; }
.breadcrumb a:hover{ color: rgba(255,255,255,.65); }
.breadcrumb .sep  { font-size: 12px; color: rgba(255,255,255,0.2); }
.breadcrumb .cur  { font-size: 12px; color: rgba(255,255,255,0.55); }
.page-hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 4vw, 44px); color: white;
  line-height: 1.15; margin-bottom: 12px; letter-spacing: -0.02em;
}
.page-hero p { font-size: 15px; color: rgba(255,255,255,0.5); max-width: 520px; line-height: 1.75; }

/* Inner page body wrapper */
.page-body { padding: 64px 0 80px; background: var(--off-white); }
.page-body.white { background: white; }

/* Section block inside page */
.pg-section { margin-bottom: 60px; }
.pg-section:last-child { margin-bottom: 0; }
.pg-section h2 {
  font-family: var(--font-display); font-size: 22px;
  font-weight: 700; color: var(--navy);
  margin-bottom: 6px;
}
.pg-section .sub {
  font-size: 14px; color: var(--gray-500);
  margin-bottom: 28px; line-height: 1.7;
}

/* Filter tabs */
.filter-bar {
  display: flex; gap: 4px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-btn {
  background: white; border: 1px solid var(--gray-100);
  border-radius: 40px; font-size: 13px; font-weight: 500;
  color: var(--gray-500); padding: 7px 18px;
  cursor: pointer; transition: all .2s;
}
.filter-btn:hover  { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--blue); color: white; border-color: var(--blue); }

/* Products grid */
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.prod-card {
  background: white; border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all .22s; display: flex; flex-direction: column;
}
.prod-card:hover { border-color: rgba(37,99,235,.3); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.prod-thumb {
  height: 130px; display: flex; align-items: center; justify-content: center;
}
.prod-thumb svg { width: 50px; height: 50px; transition: transform .22s; }
.prod-card:hover .prod-thumb svg { transform: scale(1.08); }
.prod-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.prod-body h3 { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.prod-body p  { font-size: 13px; color: var(--gray-500); line-height: 1.6; flex: 1; }
.prod-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.prod-tag  { font-size: 10px; font-weight: 500; padding: 3px 9px; border-radius: 4px; }
.prod-link {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 14px; font-size: 12px; font-weight: 500; color: var(--blue);
  transition: gap .2s;
}
.prod-card:hover .prod-link { gap: 8px; }
.prod-link svg { width: 12px; height: 12px; }

/* Industries grid */
.ind-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.ind-card {
  background: white; border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 24px 20px;
  transition: all .22s;
}
.ind-card:hover { border-color: var(--blue); box-shadow: 0 4px 20px rgba(37,99,235,.08); transform: translateY(-3px); }
.ind-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.ind-icon svg { width: 22px; height: 22px; fill: none; stroke-width: 1.8; }
.ind-card h3 { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.ind-card p  { font-size: 13px; color: var(--gray-500); line-height: 1.65; }
.ind-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.ind-tag  { font-size: 10px; padding: 3px 9px; border-radius: 4px; font-weight: 500; }

/* About — story */
.about-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 52px; align-items: center;
}
.about-split.flip { direction: rtl; }
.about-split.flip > * { direction: ltr; }
.about-visual {
  background: var(--navy); border-radius: var(--radius-xl);
  height: 300px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
}
.about-visual svg { width: 56px; height: 56px; stroke: rgba(255,255,255,.2); fill: none; stroke-width: 1.5; }
.about-visual p { font-size: 12px; color: rgba(255,255,255,.25); }
.about-text h2 { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.about-text p  { font-size: 14px; color: var(--gray-500); line-height: 1.8; margin-bottom: 10px; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.pillar {
  background: white; border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 26px 22px; transition: all .22s;
}
.pillar:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pillar-num { font-family: var(--font-display); font-size: 38px; font-weight: 700; color: var(--gray-100); line-height: 1; margin-bottom: 12px; }
.pillar h3  { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.pillar p   { font-size: 13px; color: var(--gray-500); line-height: 1.7; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.team-card { background: white; border: 1px solid var(--gray-100); border-radius: var(--radius-lg); overflow: hidden; text-align: center; transition: all .22s; }
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.team-avatar { height: 100px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 30px; font-weight: 700; color: white; }
.team-card-body { padding: 14px; }
.team-card-body h4 { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.team-card-body p  { font-size: 12px; color: var(--gray-500); }

/* Quality — cert cards */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.cert-card {
  background: white; border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 24px 20px; text-align: center; transition: all .22s;
}
.cert-card:hover { box-shadow: var(--shadow-md); border-color: rgba(37,99,235,.2); }
.cert-icon { width: 52px; height: 52px; border-radius: var(--radius-md); margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; }
.cert-icon svg { width: 26px; height: 26px; fill: none; stroke-width: 1.8; }
.cert-card h3 { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.cert-card p  { font-size: 12px; color: var(--gray-500); line-height: 1.6; }

/* QC steps */
.qc-steps { display: flex; flex-direction: column; gap: 0; }
.qc-step  { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--gray-100); align-items: flex-start; }
.qc-step:last-child { border-bottom: none; }
.qc-num { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--gray-100); width: 48px; flex-shrink: 0; line-height: 1.1; }
.qc-body h3 { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.qc-body p  { font-size: 13px; color: var(--gray-500); line-height: 1.7; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery-item {
  border-radius: var(--radius-lg); overflow: hidden;
  background: white; border: 1px solid var(--gray-100);
  transition: all .22s; cursor: pointer;
}
.gallery-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.gallery-thumb { height: 180px; display: flex; align-items: center; justify-content: center; }
.gallery-thumb svg { width: 48px; height: 48px; }
.gallery-caption { padding: 12px 14px; }
.gallery-caption strong { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.gallery-caption span   { font-size: 11px; color: var(--gray-500); }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.contact-cards  { display: flex; flex-direction: column; gap: 14px; }
.cc {
  background: white; border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); padding: 20px;
  display: flex; gap: 14px; align-items: flex-start;
  transition: all .2s;
}
.cc:hover { border-color: rgba(37,99,235,.2); box-shadow: var(--shadow-sm); }
.cc-icon { width: 40px; height: 40px; background: #EFF6FF; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cc-icon svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 2; }
.cc h4 { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.cc p  { font-size: 13px; color: var(--gray-500); line-height: 1.6; }
.cc a  { color: var(--blue); font-size: 13px; }

.map-box {
  background: var(--off-white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg); height: 200px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  margin-top: 14px;
}
.map-box svg { width: 32px; height: 32px; stroke: var(--gray-300); fill: none; stroke-width: 1.5; }
.map-box p { font-size: 12px; color: var(--gray-300); }
.map-box a { font-size: 12px; color: var(--blue); }

/* Light contact form */
.contact-form-box {
  background: white; border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl); padding: 32px 28px;
}
.contact-form-box h2 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.contact-form-box .sub-text { font-size: 13px; color: var(--gray-500); margin-bottom: 22px; }
.lf label { display: block; font-size: 12px; font-weight: 500; color: var(--gray-500); margin-bottom: 5px; }
.lf input, .lf select, .lf textarea {
  width: 100%; background: var(--off-white);
  border: 1px solid var(--gray-100); border-radius: var(--radius-sm);
  padding: 10px 13px; font-size: 13px; font-family: var(--font-body);
  color: var(--navy); outline: none; transition: border-color .2s;
}
.lf input::placeholder, .lf textarea::placeholder { color: var(--gray-300); }
.lf input:focus, .lf select:focus, .lf textarea:focus { border-color: rgba(37,99,235,.4); background: white; }
.lf select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath stroke='%2394A3B8' stroke-width='1.5' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
  background-color: var(--off-white);
}
.lf select option { background: white; color: var(--navy); }
.lf textarea { resize: vertical; min-height: 100px; }
.lf .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lf .form-group { margin-bottom: 14px; }
.lf-submit {
  width: 100%; background: var(--blue); color: white;
  font-size: 14px; font-weight: 500; padding: 12px;
  border-radius: var(--radius-sm); border: none; cursor: pointer;
  transition: all .22s; display: flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: 4px;
}
.lf-submit:hover { background: var(--blue-light); transform: translateY(-1px); }
.lf-submit svg { width: 15px; height: 15px; }

/* Quote page */
.quote-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 52px; align-items: start; }
.quote-aside h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.quote-aside p  { font-size: 14px; color: var(--gray-500); line-height: 1.8; margin-bottom: 24px; }
.quote-features { display: flex; flex-direction: column; gap: 16px; }
.qf { display: flex; gap: 12px; align-items: flex-start; }
.qf-icon { width: 36px; height: 36px; background: #EFF6FF; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.qf-icon svg { width: 17px; height: 17px; stroke: var(--blue); fill: none; stroke-width: 2; }
.qf strong { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.qf p { font-size: 12px; color: var(--gray-500); line-height: 1.6; }

/* Responsive */
@media (max-width: 1024px) {
  .about-split    { grid-template-columns: 1fr; }
  .about-split .about-visual { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .quote-layout   { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .pillars { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .lf .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .cert-grid    { grid-template-columns: 1fr 1fr; }
}
