/* =========================================================================
   Pearl Island — Corporate Events widgets
   One shared stylesheet for: Events Intro, Capabilities Checklist, Capacity
   Stats, Reasons Grid, Process Steps and Enquiry Form. Classes prefixed
   .pce- and scoped under .pi-widget. Colors reuse the brand tokens from
   pearl-island-fonts.css (with safe fallbacks).
   ========================================================================= */
.pi-widget {
  --pce-muted: var(--hx-body, #5a6372);
  --pce-apricot: #F5B276;
  --pce-sm: 0 4px 14px rgba(30, 36, 48, .06);
  --pce-md: 0 16px 44px rgba(59, 95, 95, .13);
  --pce-lg: 0 30px 70px rgba(59, 95, 95, .20);
}

/* ============================== INTRO ================================= */
.pce-intro { padding: 92px 0 30px; text-align: center; }
.pce-intro .pi-sechead { max-width: 740px; }
.pce-intro .pi-subtitle { font-size: 1.1rem; }
@media (max-width: 700px) { .pce-intro { padding: 64px 0 20px; } }

/* ============================ SECTION SHELL ========================== */
.pce-sec { padding: 88px 0; }
@media (max-width: 700px) { .pce-sec { padding: 60px 0; } }

/* ========================= REASONS / FEATURE CARDS =================== */
.pce-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 820px) { .pce-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pce-cards { grid-template-columns: 1fr; } }
.pce-card {
  background: #fff;
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: var(--pce-sm);
  border: 1px solid rgba(59, 95, 95, .06);
  transition: transform .3s, box-shadow .3s;
}
.pce-card:hover { transform: translateY(-6px); box-shadow: var(--pce-md); }
.pce-card .pce-ic {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: rgba(119, 195, 219, .16);
  margin-bottom: 14px;
}
.pce-card b {
  display: block;
  font-family: var(--hx-serif, serif);
  font-size: 1.18rem;
  color: var(--smaragd, #3B5F5F);
  margin-bottom: 5px;
}
.pce-card span { font-size: .92rem; color: var(--pce-muted); }

/* ========================= CAPABILITIES CHECKLIST =================== */
.pce-checkwrap {
  background: linear-gradient(180deg, #f2f6f7, #e9f1f1);
  padding: 84px 0;
  border-radius: 24px;
}
@media (max-width: 700px) { .pce-checkwrap { padding: 56px 0; } }
.pce-check2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 40px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}
@media (max-width: 640px) { .pce-check2 { grid-template-columns: 1fr; gap: 10px; } }
.pce-check2 li {
  list-style: none;
  position: relative;
  padding: 9px 0 9px 34px;
  font-weight: 600;
  color: #33404a;
  border-bottom: 1px solid rgba(59, 95, 95, .08);
}
.pce-check2 li svg { position: absolute; left: 0; top: 10px; width: 20px; height: 20px; }

/* ============================ CAPACITY STATS ======================== */
.pce-cap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 760px) { .pce-cap { grid-template-columns: 1fr 1fr; } }
.pce-cc {
  text-align: center;
  background: #fff;
  border: 1px solid rgba(59, 95, 95, .08);
  border-radius: 16px;
  padding: 26px 18px;
  box-shadow: var(--pce-sm);
}
.pce-cc .pce-big {
  font-family: var(--hx-serif, serif);
  font-size: 2rem;
  color: var(--smaragd, #3B5F5F);
  line-height: 1;
}
.pce-cc b { display: block; font-weight: 800; font-size: .92rem; color: var(--ink, #1e2430); margin: 8px 0 3px; }
.pce-cc span { font-size: .84rem; color: var(--pce-muted); }

/* ============================ PROCESS STEPS ========================= */
.pce-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 820px) { .pce-steps { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .pce-steps { grid-template-columns: 1fr; } }
.pce-step .pce-n {
  font-family: var(--hx-serif, serif);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--tuerkis, #77C3DB);
  line-height: 1;
  margin-bottom: 10px;
}
.pce-step b {
  display: block;
  font-family: var(--hx-serif, serif);
  font-size: 1.2rem;
  color: var(--smaragd, #3B5F5F);
  margin-bottom: 6px;
}
.pce-step span { font-size: .92rem; color: var(--pce-muted); }

/* ============================== ENQUIRY ============================= */
.pce-enquire {
  position: relative;
  color: #fff;
  overflow: hidden;
  padding: 92px 0;
  border-radius: 24px;
}
.pce-enquire-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(70% 90% at 85% 10%, rgba(97, 154, 173, .4), transparent 55%),
    linear-gradient(160deg, #3B5F5F 0%, #2c4a4a 55%, #1f3a42 100%);
}
.pce-enq-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .pce-enq-grid { grid-template-columns: 1fr; gap: 36px; } }
.pce-enq-copy .script { color: #fff; font-size: 2rem; display: block; line-height: 1; margin-bottom: 6px; }
.pce-enq-copy h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); }
.pce-enq-copy p { margin-top: 16px; color: rgba(255, 255, 255, .85); max-width: 42ch; }
.pce-contacts { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.pce-contacts a { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: .95rem; color: #fff; }
.pce-contacts a .pce-c-ic { font-size: 1.05rem; line-height: 1; }
.pce-contacts a:hover { color: var(--sand, #FFF7B2); }

.pce-formcard {
  background: var(--paper, #FDFCF8);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--pce-lg);
}
.pce-fc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .pce-fc-row { grid-template-columns: 1fr; } }
.pce-fld { margin-bottom: 14px; }
.pce-fld label {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--smaragd, #3B5F5F);
  margin-bottom: 6px;
}
.pce-formcard input,
.pce-formcard select,
.pce-formcard textarea {
  width: 100%;
  font-family: var(--hx-sans, sans-serif);
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink, #1e2430);
  padding: 12px 14px;
  border: 1.5px solid rgba(59, 95, 95, .2);
  border-radius: 12px;
  background: #fff;
}
.pce-formcard input:focus,
.pce-formcard select:focus,
.pce-formcard textarea:focus { outline: none; border-color: var(--petrol, #609AAD); }
.pce-formcard textarea { resize: vertical; min-height: 92px; }
.pce-formcard .pce-note { font-size: .78rem; color: var(--pce-muted); text-align: center; margin-top: 12px; }
.pce-ok { display: none; text-align: center; padding: 30px 10px; }
.pce-ok.show { display: block; }
.pce-ok .pce-big { font-family: var(--hx-serif, serif); font-size: 1.5rem; color: var(--smaragd, #3B5F5F); margin-bottom: 8px; }
.pce-ok p { color: var(--pce-muted); }


/* Keep checklist grids centered inside the full-width tinted band. */
.pce-checkwrap .pce-check2 { width: min(900px, calc(100% - 48px)); margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .pce-checkwrap .pce-check2 { width: calc(100% - 32px); } }
