/* CPM 3D — Contact page styles (extends home-pop.css + shop-pop.css page-hero) */

/* ===== Contact hero ===== */
.page-hero[data-screen-label="Contact hero"] {
  width: 100vw;
  max-width: 100vw;
}
.page-hero[data-screen-label="Contact hero"] .page-hero-bg {
  background:
    linear-gradient(90deg, rgba(16, 29, 58, 0.82) 0%, rgba(16, 29, 58, 0.36) 20%, rgba(7, 17, 38, 0.78) 50%, rgba(16, 29, 58, 0.36) 80%, rgba(16, 29, 58, 0.84) 100%),
    linear-gradient(180deg, rgba(16, 29, 58, 0.08) 0%, rgba(16, 29, 58, 0.64) 100%),
    url("brand/contact-message-hero.png") center 48% / cover no-repeat,
    var(--ink);
}
.page-hero[data-screen-label="Contact hero"] h1 {
  max-width: min(980px, calc(100vw - 48px));
  text-wrap: balance;
}
.page-hero[data-screen-label="Contact hero"] .lede {
  max-width: min(620px, calc(100vw - 48px));
}

/* ===== Contact layout ===== */
.contact { padding: 64px 0 110px; }
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: start; }

/* ----- Form card ----- */
.form-card {
  background: var(--paper); border: var(--ow) solid var(--ink);
  border-radius: var(--radius-lg); box-shadow: 7px 7px 0 var(--ink);
  padding: 38px 42px 42px;
}
.form-card h2 { font-size: 34px; margin-bottom: 8px; }
.form-card .form-sub { color: var(--text-soft); font-size: 15px; font-weight: 500; margin-bottom: 28px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; font-weight: 500; color: var(--ink);
  background: var(--bg); border: 2.5px solid var(--ink); border-radius: 14px;
  padding: 13px 16px; outline: none; width: 100%;
  transition: box-shadow 0.15s ease, background 0.15s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  background: var(--paper); box-shadow: 3px 3px 0 var(--teal);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-soft); }
.field select { cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 15px) 50%; background-size: 7px 7px; background-repeat: no-repeat; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form-foot .reply-note { font-size: 13.5px; font-weight: 600; color: var(--text-soft); display: inline-flex; align-items: center; gap: 8px; }
.form-foot .reply-note .rn-ic { display: inline-flex; color: var(--teal); }

.form-success {
  display: none; text-align: center; padding: 60px 30px;
  flex-direction: column; align-items: center; gap: 16px;
}
.form-success .fs-ic {
  width: 86px; height: 86px; border-radius: 50%; background: var(--mint);
  border: var(--ow) solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 40px; color: var(--ink);
}
.form-success h2 { font-size: 36px; }
.form-success p { color: var(--text-soft); font-size: 15.5px; font-weight: 500; max-width: 380px; }
.form-card.sent .contact-form, .form-card.sent > h2, .form-card.sent > .form-sub { display: none; }
.form-card.sent .form-success { display: flex; }

/* ----- Info column ----- */
.contact-side { display: flex; flex-direction: column; gap: 26px; }
.icard {
  background: var(--paper); border: var(--ow) solid var(--ink);
  border-radius: var(--radius-md); box-shadow: 5px 5px 0 var(--ink);
  padding: 24px 26px; display: flex; gap: 18px; align-items: flex-start;
}
.icard .i-ic {
  width: 58px; height: 58px; border-radius: 50%; flex-shrink: 0;
  border: var(--ow) solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.icard:nth-child(1) .i-ic { background: var(--yellow); }
.icard:nth-child(2) .i-ic { background: var(--teal); color: #FFFFFF; }
.icard:nth-child(3) .i-ic { background: var(--mint); }
.icard h3 { font-size: 20px; margin-bottom: 6px; }
.icard p { font-size: 14px; font-weight: 500; color: var(--text-soft); line-height: 1.65; }
.icard p b { color: var(--ink); font-weight: 700; }
.icard a { font-weight: 700; color: var(--teal); }
.icard a:hover { color: var(--red); }
.map-ph {
  height: 240px; border-radius: var(--radius-md);
  border: var(--ow) solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
}

/* ===== FAQ ===== */
.faq { padding: 20px 0 110px; }
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.faq-item {
  background: var(--paper); border: var(--ow) solid var(--ink);
  border-radius: var(--radius-md); box-shadow: 5px 5px 0 var(--ink);
  overflow: hidden; transition: box-shadow 0.15s ease;
}
.faq-item summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-family: var(--font-display); font-size: 20px; color: var(--ink);
  padding: 20px 26px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--yellow); border: 2.5px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 19px; line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}
.faq-item[open] summary .pm { transform: rotate(45deg); background: var(--red); color: #FFFFFF; }
.faq-item[open] { box-shadow: 7px 7px 0 var(--ink); }
.faq-item .faq-body { padding: 0 26px 24px; font-size: 15px; font-weight: 500; color: var(--text-soft); line-height: 1.7; max-width: 720px; }

@media (max-width: 1080px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .page-hero[data-screen-label="Contact hero"] h1 { font-size: 38px; }
  .page-hero[data-screen-label="Contact hero"] .lede {
    max-width: 320px;
    font-size: 14px;
    line-height: 1.42;
  }
}

@media (max-width: 420px) {
  .page-hero[data-screen-label="Contact hero"] h1 { font-size: 34px; }
}
