/* =============================================
   CODE OF CONDUCT — code-of-conduct.css
   PetroSing Energy — matches site design system
   ============================================= */

/* ── Buttons ── */
.btn-primary {
  padding: 13px 32px;
  background: rgba(0,200,160,0.1);
  border: 1px solid rgba(0,200,160,0.55);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s;
}
.btn-primary:hover { background: rgba(0,200,160,0.22); }
.btn-secondary {
  padding: 13px 32px;
  background: rgba(3, 136, 156, 0.384);
  border: 1px solid rgba(0,200,160,0.55);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  text-decoration: none;
  transition: border-color 0.25s;
}
.btn-secondary:hover { border-color: rgba(160,200,240,0.6); }

/* ── HERO ── */
.coc-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background-image: url("../images/cocBg.webp");
  background-size: cover;
  background-position: center top;
}
.coc-hero-overlay {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 10, 30, 0.72) 0%,      /* left: dark enough for text */
    rgba(0, 10, 30, 0.35) 50%,     /* mid: soft fade */
    rgba(0, 0, 0, 0.0) 100%        /* right: fully transparent — image shines */
  );
  z-index: 0;
}
.coc-hero-center {
  position: relative;
  z-index: 20;
  text-align: center;
  max-width: 600px;
  padding: 0 28px;
}
.coc-eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 3px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0;
  animation: cocFadeUp 0.9s ease-out 0.4s forwards;
}
.coc-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 3vw, 4rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
  opacity: 0;
  animation: cocFadeUp 0.9s ease-out 0.65s forwards;
}
.coc-headline em {
  font-style: italic;
  color: #fff;
}
.coc-divider {
  width: 48px;
  height: 1px;
  background: rgba(0,200,160,0.4);
  margin: 0 auto 26px;
  opacity: 0;
  animation: cocFadeUp 0.9s ease-out 0.78s forwards;
}
.coc-sub {
  font-size: clamp(1.2rem, 1vw, 3rem);
  color: rgba(255,255,255,0.75);
  line-height: 2;
  margin-bottom: 36px;
  opacity: 0;
  animation: cocFadeUp 0.9s ease-out 0.9s forwards;
}
.coc-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: cocFadeUp 0.9s ease-out 1.1s forwards;
}
@keyframes cocFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── PREAMBLE ── */
.coc-preamble-wrap {
  padding: 7rem 4rem;
  background: #fff;
}
.coc-preamble-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 5rem;
  align-items: start;
}
.coc-preamble-img-wrap {
  margin: 1.5rem 0;
  border-radius: 10px;
  overflow: hidden;
}

.coc-preamble-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}
.section-label {
  font-size: 11px;
  text-transform: uppercase;
  color: rgb(31,179,36);
  font-weight: 700;
  letter-spacing: 0.18em;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: #4C89E1;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.15;
  color: var(--deep);
}
.section-title em {
  font-style: italic;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.15;
  /* display: block; */
}

/* Meta block */
.coc-meta-block {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(26,35,50,0.08);
  padding-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.coc-meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.coc-meta-key {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted, #6b7280);
  min-width: 110px;
}
.coc-meta-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--deep, #1a2332);
}
.coc-meta-val--conf {
  color: rgb(31,179,36);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(31,179,36,0.4);
  padding: 2px 8px;
  border-radius: 2px;
}

.coc-preamble-rule {
  width: 2.5rem;
  height: 2px;
  background: rgb(31,179,36);
  margin-bottom: 2rem;
}
.coc-preamble-body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted, #4a5568);
  font-weight: 500;
}
.coc-preamble-stats {
  display: flex;
  gap: 0;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(26,35,50,0.08);
  padding-top: 2rem;
}
.coc-stat {
  flex: 1;
  padding-right: 2rem;
  border-right: 1px solid rgba(26,35,50,0.08);
}
.coc-stat--mid {
  padding: 0 2rem;
  border-right: 1px solid rgba(26,35,50,0.08);
}
.coc-stat:last-child {
  padding-left: 2rem;
  border-right: none;
}
.coc-stat-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.coc-stat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgb(31,179,36);
}

/* ── SECTION DIVIDER ── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 4rem;
  margin: 0;
}
.divider-line {
  flex: 1;
  height: 1px;
  background: var(--deep, #1a2332);
  opacity: 0.12;
}
.divider-icon {
  font-size: 13px;
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgb(31,179,36);
}

/* ── ZERO TOLERANCE BAND ── */
.coc-zero-band {
  background: #1a2332;
  padding: 0;
  overflow: hidden;
}
.coc-zero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: stretch;
  min-height: 220px;
}
.coc-zero-content {
  padding: 2.8rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
}
.coc-zero-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
  flex-shrink: 0;
}
.coc-zero-items {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.coc-zero-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}
.coc-zero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(31,179,36);
  flex-shrink: 0;
}
.coc-zero-img {
  position: relative;
  overflow: hidden;
}
.coc-zero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.85;
}

/* ── PRINCIPLES SECTION ── */
.coc-principles-section {
  padding: 6rem 4rem 7rem;
  background: #fff;
}
.coc-principles-intro {
  max-width: 1200px;
  margin: 0 auto 3rem;
}
.coc-principles-sub {
  font-size: 15px;
  color: var(--muted, #6b7280);
  font-weight: 500;
  line-height: 1.7;
  max-width: 780px;
  margin-top: 0.5rem;
}
.coc-principles-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(26,35,50,0.1);
}

/* ── CARD ── */
.coc-card {
  padding: 2.8rem;
  border-right: 1px solid rgba(26,35,50,0.1);
  border-bottom: 1px solid rgba(26,35,50,0.1);
  position: relative;
  transition: background 0.3s;
  cursor: default;
  display: flex;
  flex-direction: column;
}
/* .coc-card:hover { background: var(--text); }
.coc-card:hover .coc-card-title { color: #fff; }
.coc-card:hover .coc-card-body  { color: rgba(255,255,255,0.65); opacity: 1; }
.coc-card:hover .coc-card-num   { color: #fff; opacity: 0.06; }
.coc-card:hover .coc-tag        { background: rgba(31,179,36,0.15); border-color: rgba(31,179,36,0.4); color: rgb(31,179,36); } */
.coc-card:nth-child(3n)         { border-right: none; }

/* Wide card: spans full row */
.coc-card--wide {
  grid-column: 1 / -1;
  border-right: none;
  border-bottom: none;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto 1fr auto;
  column-gap: 2rem;
}
.coc-card--wide .coc-card-num    { grid-row: 1; grid-column: 1; }
.coc-card--wide .coc-card-icon   { grid-row: 2; grid-column: 1; margin-bottom: 0; }
.coc-card--wide .coc-card-title  { grid-row: 1 / 3; grid-column: 2; align-self: end; margin-bottom: 1rem; }
.coc-card--wide .coc-card-body   { grid-row: 3; grid-column: 2; }
.coc-card--wide .coc-card-footer { grid-row: 4; grid-column: 2; }

.coc-card-num {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  color: var(--deep, #1a2332);
  opacity: 0.05;
  line-height: 1;
  margin-bottom: -0.5rem;
  display: block;
  transition: color 0.3s, opacity 0.3s;
  font-weight: 700;
}
.coc-card-icon { margin-bottom: 1.2rem; margin-top: 0.5rem; }
.coc-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.9rem;
  transition: color 0.3s;
  line-height: 1.3;
}
.coc-card-body {
  font-size: 15px;
  line-height: 1.78;
  color: var(--deep, #1a2332);
  opacity: 0.6;
  transition: color 0.3s, opacity 0.3s;
  flex: 1;
}
.coc-card-footer {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.coc-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 9px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: var(--text);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

/* ── KYC TIERS SECTION ── */
.coc-kyc-section {
  padding: 6rem 4rem 7rem;
  background: #fff;
}
.coc-kyc-header {
  max-width: 1200px;
  margin: 0 auto 4rem;
}
.coc-kyc-intro-body {
  font-size: 15px;
  color: var(--muted, #6b7280);
  font-weight: 500;
  line-height: 1.7;
  max-width: 680px;
  margin-top: 0.8rem;
}
.coc-tiers-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(26,35,50,0.1);
}
.coc-tier {
  padding: 3rem;
  border-right: 1px solid rgba(26,35,50,0.1);
  display: flex;
  flex-direction: column;
}
.coc-tier:last-child { border-right: none; }
.coc-tier--featured {
  background: rgba(31,179,36,0.03);
  border-top: 3px solid rgb(31,179,36);
  margin-top: -1px;
}
.coc-tier-badge {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--deep, #1a2332);
  opacity: 0.08;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.coc-tier--featured .coc-tier-badge { opacity: 0.18; color: rgb(31,179,36); }
.coc-tier-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--deep, #1a2332);
  margin-bottom: 0.3rem;
}
.coc-tier-sub {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(31,179,36);
}
.coc-tier-divider {
  width: 2rem;
  height: 1px;
  background: rgba(26,35,50,0.15);
  margin: 1.4rem 0;
}
.coc-tier-applies {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted, #6b7280);
  margin-bottom: 0.8rem;
}
.coc-tier-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.coc-tier-list li {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  padding-left: 1rem;
  position: relative;
}
.coc-tier-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgb(31,179,36);
}
.coc-tier-req {
  font-size: 12.5px;
  color: var(--muted, #6b7280);
  font-style: italic;
  margin-top: auto;
  padding-top: 1rem;
}

/* ── COMMITMENT SECTION ── */
.coc-commitment-section { background: #fff; }
.coc-commitment-row {
  display: grid;
  border-bottom: 1px solid rgba(26,35,50,0.07);
}
.coc-commitment-row--num-left  { grid-template-columns: 220px 1fr; }
.coc-commitment-row--num-right { grid-template-columns: 1fr 220px; }
.coc-num-col {
  padding: 4rem 3rem;
  border-right: 1px solid rgba(26,35,50,0.07);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: rgba(250,251,252,0.6);
}
.coc-num-col--accent { background: #fff; }
.coc-commitment-row--num-right .coc-num-col {
  border-right: none;
  border-left: 1px solid rgba(26,35,50,0.07);
}
.coc-num {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--deep, #1a2332);
  opacity: 0.07;
}
.coc-num-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(31,179,36);
  margin-top: 0.75rem;
}
.coc-content-col { padding: 4rem; }
.coc-content-col--accent { background: rgba(31,179,36,0.02); }
.about-section-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(31,179,36);
  margin-bottom: 1.2rem;
}
.about-section-label-rule {
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: #4C89E1;
}
.coc-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  font-weight: 600;
  color: var(--deep, #1a2332);
  line-height: 1.25;
  margin-bottom: 1.4rem;
}
.coc-heading--accent { color: rgb(31,179,36); }
.coc-body {
  font-size: 15px;
  line-height: 1.82;
  color: var(--muted);
  max-width: 640px;
}
.coc-tags {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.coc-tag2 {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: var(--text);
  /* background: rgba(31,179,36,0.05); */
}
.coc-pillars {
  display: flex;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(26,35,50,0.08);
  padding-top: 1.8rem;
}
.coc-pillar            { flex: 1; padding-right: 2rem; border-right: 1px solid rgba(26,35,50,0.08); }
.coc-pillar--mid       { padding: 0 2rem; border-right: 1px solid rgba(26,35,50,0.08); }
.coc-pillar--last      { padding-left: 2rem; }
.coc-pillar-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--deep, #1a2332);
  font-weight: 600;
}
.coc-pillar-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(31,179,36);
  margin-top: 0.4rem;
}
.coc-blockquote {
  font-family: var(--font-heading);
  margin-top: 2.2rem;
  border-left: 2px solid rgb(31,179,36);
  padding-left: 1.5rem;
  font-style: italic;
  font-size: 1.05rem;
  color: rgb(31,179,36);
  font-weight: 600;
  line-height: 1.65;
  max-width: 560px;
}

/* ────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────── */
@media (max-width: 1020px) {
  .coc-principles-grid { grid-template-columns: repeat(2, 1fr); }
  .coc-card:nth-child(3n) { border-right: 1px solid rgba(26,35,50,0.1); }
  .coc-card:nth-child(2n) { border-right: none; }
  .coc-card--wide { grid-column: 1 / -1; }
  .coc-preamble-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .coc-tiers-grid { grid-template-columns: 1fr; }
  .coc-tier { border-right: none; border-bottom: 1px solid rgba(26,35,50,0.1); }
  .coc-tier:last-child { border-bottom: none; }
}

@media (max-width: 780px) {
  .coc-hero { min-height: 90vh; padding: 100px 0 60px; }
  .coc-headline { font-size: 2.5rem; }

  .coc-preamble-wrap { padding: 4rem 1.5rem; }
  .coc-preamble-stats { flex-direction: column; gap: 1.5rem; }
  .coc-stat, .coc-stat--mid {
    padding: 0 0 1.5rem 0;
    border-right: none;
    border-bottom: 1px solid rgba(26,35,50,0.08);
  }
  .coc-stat:last-child { border-bottom: none; padding-left: 0;}

  .section-divider { padding: 0 1.25rem; }

  .coc-zero-inner { grid-template-columns: 1fr; }
  .coc-zero-content { padding: 2rem 1.5rem; }
  .coc-zero-img { display: none; }
  .coc-zero-items { gap: 1rem; }

  .coc-principles-section { padding: 4rem 1.25rem; }
  .coc-principles-grid { grid-template-columns: 1fr; }
  .coc-card { border-right: none !important; }
  .coc-card--wide { display: flex; flex-direction: column; }

  .coc-kyc-section { padding: 4rem 1.25rem; }

  .coc-commitment-row--num-left,
  .coc-commitment-row--num-right { grid-template-columns: 1fr; }
  .coc-num-col { display: none; }
  .coc-content-col { padding: 2.5rem 1.5rem; }
  .coc-pillars { flex-direction: column; gap: 1.25rem; }
  .coc-pillar, .coc-pillar--mid, .coc-pillar--last {
    padding: 0 0 1.25rem 0;
    border-right: none;
    border-bottom: 1px solid rgba(26,35,50,0.08);
  }
  .coc-pillar--last { border-bottom: none; padding-bottom: 0; }
}

@media (max-width: 480px) {
  .coc-headline { font-size: 2rem; }
  .coc-card { padding: 2rem 1.25rem; }
  .coc-content-col { padding: 2rem 1.25rem; }
  .coc-heading { font-size: 1.3rem; }
  .coc-body { font-size: 13.5px; }
  .coc-tier { padding: 2rem 1.25rem; }
}
