/* ============================================================
   Custom Polyurethane Solutions / Premium Warm Theme
   Path: assets/css/custom-polyurethane-solutions.css
   ============================================================ */
.custom-pu-page {
  --cpu-brown: #2a160c;
  --cpu-coffee: #4b2a17;
  --cpu-copper: #b86b2d;
  --cpu-gold: #ffc451;
  --cpu-cream: #fff7ed;
  --cpu-soft: #fbf4ea;
  --cpu-ink: #111827;
  --cpu-muted: #64748b;
  --cpu-line: rgba(184, 107, 45, .18);
  --cpu-shadow: 0 18px 54px rgba(42, 22, 12, .10);
  background: #fffaf4;
  color: var(--cpu-ink);
}

.cpu-main { padding-top: 0 !important; overflow: hidden; }
.custom-pu-page a { text-decoration: none; }

.cpu-hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  padding: 104px 0 66px;
  overflow: hidden;
  isolation: isolate;
  background: #140b07;
}
.cpu-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(19,10,6,.92) 0%, rgba(43,22,12,.74) 45%, rgba(77,42,22,.34) 100%),
    radial-gradient(circle at 18% 24%, rgba(255,196,81,.22), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(184,107,45,.28), transparent 34%),
    url("../img/bg/custom-polyurethane-solutions.jpg") center center / cover no-repeat;
  transform: scale(1.02);
}
.cpu-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255,250,244,0), #fffaf4 92%);
}
.cpu-hero__glass {
  max-width: 760px;
  padding: clamp(24px, 3vw, 42px);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.15), rgba(255,255,255,.055)),
    radial-gradient(circle at 8% 0%, rgba(255,196,81,.14), transparent 34%);
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: 0 30px 90px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.18);
  backdrop-filter: blur(5px) saturate(140%);
  -webkit-backdrop-filter: blur(5px) saturate(140%);
}
.cpu-eyebrow,
.cpu-section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: "Vazirmatn", "Vazir", Tahoma, Arial, sans-serif !important;
  font-size: .78rem;
  font-weight: 850;
  line-height: 1.7;
}
.cpu-eyebrow {
  margin-bottom: 12px;
  color: #fff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
}
.cpu-hero h1 {
  margin: 0 0 15px;
  color: #fff;
  font-family: "Vazirmatn", "Vazir", Tahoma, Arial, sans-serif !important;
  font-size: clamp(1.15rem, 1.8vw, 2.35rem) !important;
  font-weight: 950;
  line-height: 1.75;
  letter-spacing: -.55px;
  text-shadow: 0 6px 26px rgba(0,0,0,.34);
}
.cpu-hero p {
  max-width: 700px;
  margin: 0;
  color: rgba(255,255,255,.86);
  font-family: "Vazirmatn", "Vazir", Tahoma, Arial, sans-serif !important;
  font-size: .88rem;
  font-weight: 500;
  line-height: 2.05;
  text-align: right;
}
.cpu-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.cpu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 19px;
  border-radius: 999px;
  font-family: "Vazirmatn", "Vazir", Tahoma, Arial, sans-serif !important;
  font-size: .80rem;
  font-weight: 900;
  line-height: 1.7;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.cpu-btn:hover { transform: translateY(-2px); }
.cpu-btn--primary {
  color: #1b1008 !important;
  background: linear-gradient(90deg, #b86b2d, #ffc451);
  border: 1px solid rgba(255,196,81,.45);
  box-shadow: 0 14px 34px rgba(184,107,45,.24);
}
.cpu-btn--ghost {
  color: #fff !important;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.20);
}
.cpu-btn--ghost:hover { color: #ffc451 !important; }

.cpu-video-card {
  width: min(100%, 360px);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 26px 76px rgba(0,0,0,.30);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
}
.cpu-video-card__media {
  aspect-ratio: 16 / 10;
  background: #130a06;
  overflow: hidden;
}
.cpu-video-card__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cpu-video-card__caption { padding: 13px 15px 15px; }
.cpu-video-card__caption b {
  display: block;
  color: #ffc451;
  font-family: "Vazirmatn", "Vazir", Tahoma, Arial, sans-serif !important;
  font-size: .82rem;
  font-weight: 950;
  line-height: 1.85;
  margin-bottom: 4px;
}
.cpu-video-card__caption span {
  display: block;
  color: rgba(255,255,255,.82);
  font-size: .73rem;
  line-height: 1.85;
}

.cpu-section { position: relative; padding: 54px 0; overflow: hidden; }
.cpu-section-label {
  margin-bottom: 10px;
  color: var(--cpu-coffee);
  background: rgba(184,107,45,.095);
  border: 1px solid rgba(184,107,45,.18);
}
.cpu-section h2,
.cpu-section-head h2,
.cpu-proof-box h2 {
  margin: 0 0 14px;
  color: #1b1008;
  font-family: "Vazirmatn", "Vazir", Tahoma, Arial, sans-serif !important;
  font-size: clamp(1.12rem, 1.62vw, 1.62rem) !important;
  font-weight: 950;
  line-height: 1.75;
  letter-spacing: -.35px;
}
.cpu-lead,
.cpu-muted,
.cpu-section-head p,
.cpu-proof-box p {
  margin: 0;
  color: #475569;
  font-family: "Vazirmatn", "Vazir", Tahoma, Arial, sans-serif !important;
  font-size: .84rem;
  font-weight: 500;
  line-height: 2.05;
  text-align: right;
}
.cpu-lead { color: #2d2118; font-size: .92rem; font-weight: 650; margin-bottom: 10px; }
.cpu-section-head { max-width: 870px; margin: 0 auto 26px; text-align: center; }
.cpu-section-head .cpu-section-label { margin-inline: auto; }
.cpu-section-head p { text-align: center; max-width: 780px; margin: 0 auto; }

.cpu-position {
  background:
    radial-gradient(circle at 10% 12%, rgba(184,107,45,.075), transparent 30%),
    linear-gradient(180deg, #fffaf4 0%, #ffffff 100%);
}
.cpu-cases {
  background:
    radial-gradient(circle at 84% 8%, rgba(255,196,81,.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
}
.cpu-case-card {
  height: 100%;
  min-height: 228px;
  padding: 20px 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, #ffffff, #fffaf4),
    radial-gradient(circle at 0 0, rgba(255,196,81,.12), transparent 34%);
  border: 1px solid var(--cpu-line);
  box-shadow: var(--cpu-shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.cpu-case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184,107,45,.34);
  box-shadow: 0 24px 64px rgba(42,22,12,.15);
}
.cpu-case-card span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #1b1008;
  background: linear-gradient(90deg, #b86b2d, #ffc451);
  font-size: .78rem;
  font-weight: 950;
}
.cpu-case-card h3 {
  margin: 0 0 10px;
  color: #1b1008;
  font-family: "Vazirmatn", "Vazir", Tahoma, Arial, sans-serif !important;
  font-size: .94rem !important;
  font-weight: 950;
  line-height: 1.75;
}
.cpu-case-card p {
  margin: 0;
  color: #64748b;
  font-size: .88rem;
  line-height: 1.95;
  text-align: right;
}
.cpu-case-card small {
  display: block;
  margin-top: 14px;
  color: #b86b2d;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .2px;
}
.cpu-case-card--dark {
  background:
    linear-gradient(135deg, #25140c, #0f0906),
    radial-gradient(circle at 0 0, rgba(255,196,81,.16), transparent 34%);
  border-color: rgba(255,196,81,.18);
}
.cpu-case-card--dark h3 { color: #ffc451; }
.cpu-case-card--dark p { color: rgba(255,255,255,.78); }
.cpu-case-card--dark small { color: rgba(255,196,81,.78); }

.cpu-process {
  background:
    radial-gradient(circle at 12% 18%, rgba(184,107,45,.075), transparent 30%),
    linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
}
.cpu-process-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: center;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(184,107,45,.16);
  box-shadow: var(--cpu-shadow);
}
.cpu-process-flow div {
  min-height: 110px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #fffaf4);
  border: 1px solid rgba(184,107,45,.14);
}
.cpu-process-flow b {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #2a160c;
  font-size: .72rem;
  margin-bottom: 8px;
}
.cpu-process-flow span {
  color: #2d2118;
  font-size: .78rem;
  font-weight: 850;
  line-height: 1.8;
}
.cpu-process-flow i { display: none; }

.cpu-matrix {
  background: #fff;
}
.cpu-table-wrap {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(184,107,45,.16);
  box-shadow: var(--cpu-shadow);
  background: #fff;
}
.cpu-table { font-family: "Vazirmatn", "Vazir", Tahoma, Arial, sans-serif !important; }
.cpu-table th {
  color: #fff;
  background: linear-gradient(180deg, #2a160c, #4b2a17);
  border-color: rgba(255,255,255,.08) !important;
  font-size: .80rem;
  font-weight: 900;
  padding: 14px 16px;
  line-height: 1.8;
}
.cpu-table td {
  color: #526174;
  border-color: rgba(184,107,45,.10) !important;
  font-size: .77rem;
  font-weight: 500;
  line-height: 1.95;
  padding: 14px 16px;
}
.cpu-table tbody tr:nth-child(even) td { background: #fff7ed; }
.cpu-table strong { color: #1b1008; font-weight: 950; }

.cpu-proof {
  padding: 60px 0;
  background:
	url("../img/bg/custom-pu-solution.png") center center / cover no-repeat; 
    radial-gradient(circle at 14% 20%, rgba(255,196,81,.18), transparent 34%),
    radial-gradient(circle at 88% 80%, rgba(184,107,45,.18), transparent 34%),
   
}
.cpu-proof-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 30px;
  border-radius: 28px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 28px 80px rgba(0,0,0,.26);
  backdrop-filter: blur(5px) saturate(145%);
  -webkit-backdrop-filter: blur(5px) saturate(145%);
}

.cpu-proof-content {
  flex: 1;
}

.cpu-proof-box .cpu-btn {
  flex-shrink: 0;
}
.cpu-proof-box .cpu-section-label {
  color: #fff;
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.20);
}
.cpu-proof-box h2 { color: #fff; }
.cpu-proof-box p { color: rgba(255,255,255,.82); max-width: 760px; }

@media (max-width: 991.98px) {
  .cpu-hero { min-height: auto; padding: 96px 0 54px; }
  .cpu-section { padding: 46px 0; }
  .cpu-video-card { width: min(100%, 330px); }
  .cpu-process-flow { grid-template-columns: 1fr; }
  .cpu-process-flow div { min-height: auto; }
  
  /* اصلاح بخش proof-box در موبایل */
  .cpu-proof-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 24px;
  }
  .cpu-proof-box .cpu-btn {
    width: fit-content;
    align-self: center;
  }
/* ================= TABLET / MOBILE TABLE FIX ================= */

@media (max-width: 991.98px){

  .cpu-table thead{
    display:none;
  }

  .cpu-table,
  .cpu-table tbody,
  .cpu-table tr,
  .cpu-table td{
    display:block;
    width:100%;
  }

  .cpu-table tr{
    margin-bottom:14px;
    border-radius:18px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 10px 24px rgba(42,22,12,.08);
  }

  .cpu-table td{
    position:relative;
    display:grid;
    grid-template-columns:130px minmax(0,1fr);
    gap:14px;
    align-items:start;

    padding:14px 16px;
    border:none;
    border-bottom:1px solid rgba(184,107,45,.10);

    font-size:.78rem;
    line-height:1.95;
  }

  .cpu-table td::before{
    content:attr(data-label);
    position:static;
    width:auto;

    color:#1b1008;
    font-size:.74rem;
    font-weight:950;
    line-height:1.8;
    white-space:normal;
  }
}

@media (max-width:575.98px){

  .cpu-table td{
    grid-template-columns:1fr;
    gap:6px;
    padding:14px;
  }

  .cpu-table td::before{
    padding-bottom:4px;
    border-bottom:1px dashed rgba(184,107,45,.18);
  }
}
*/@media (max-width: 575.98px) {
  .cpu-hero { padding: 86px 0 46px; }
  .cpu-hero__glass { padding: 19px; border-radius: 18px; }
  .cpu-hero h1 { font-size: 1.28rem !important; line-height: 1.9; }
  .cpu-hero p, .cpu-lead, .cpu-muted, .cpu-section-head p, .cpu-proof-box p { font-size: .80rem; line-height: 1.95; }
  .cpu-btn { width: 100%; }
  .cpu-video-card { width: min(100%, 290px); }
  .cpu-video-card__media { aspect-ratio: 16 / 9; }
  .cpu-proof-box { padding: 21px; border-radius: 22px; }
  .cpu-proof-box .cpu-btn { width: 100%; }
}
