/* ==========================================================================
   About us (/about) and Contact & support (/contact) — redesign approved
   1 Oct 2026. White pages with the listing tokens (.lp-page, listing.css);
   About also uses the occasion boards and language cards of the categories
   page (categories-hub.css). Classes: ab-* (About), ct-* (Contact).
   ========================================================================== */
:where(.ab, .ct) :where(h1, h2, h3, p, blockquote) { margin: 0; }
:where(.ab, .ct) a { color: inherit; text-decoration: none; }
:where(.ab, .ct) :focus-visible { outline: 2px solid var(--lp-brand); outline-offset: 2px; border-radius: 6px; }
.ab, .ct { color: var(--lp-ink); padding-bottom: 72px; }

/* shared buttons */
.ab-btn, .ct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px; font: inherit; font-size: 14.5px; font-weight: 800; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.ab-btn--primary, .ct-btn--primary { background: var(--lp-brand); color: #fff; }
.ab-btn--primary:hover, .ct-btn--primary:hover { background: var(--lp-brand-hover); color: #fff; }
.ab-btn--line, .ct-btn--line { border-color: var(--lp-line); background: #fff; color: var(--lp-ink); }
.ab-btn--line:hover, .ct-btn--line:hover { border-color: var(--lp-ink-2); }

/* ================= ABOUT ================= */
.ab-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; padding: 26px 0 8px; }
.ab-hero h1 { font-size: 46px; font-weight: 800; line-height: 1.1; letter-spacing: -.035em; color: var(--lp-ink); }
.ab-hero h1 span { color: var(--lp-brand); }
.ab-hero__sub { max-width: 540px; margin-top: 16px; font-size: 16.5px; line-height: 1.55; color: var(--lp-muted); }
.ab-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ab-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 14px; font-weight: 700; color: var(--lp-ink-2); }
.ab-points span { display: inline-flex; align-items: center; gap: 8px; }
.ab-points svg { flex-shrink: 0; color: var(--lp-brand); }
.ab-art { position: relative; height: 420px; overflow: hidden; border-radius: 28px; background: linear-gradient(160deg, #eef3ff 0%, #f4f2ff 100%); }
.ab-art img { position: absolute; left: 50%; top: 50%; display: block; width: 190px; height: auto; border: 4px solid #fff; border-radius: 16px; box-shadow: 0 24px 44px -20px rgba(15, 23, 42, .45); transform: translate(-50%, -50%); }
.ab-art--2 img:nth-child(1) { transform: translate(-50%, -50%) translateX(-80px) rotate(-6deg); }
.ab-art--2 img:nth-child(2) { transform: translate(-50%, -50%) translateX(80px) rotate(6deg); }
.ab-art--3 img:nth-child(1) { width: 178px; transform: translate(-50%, -50%) translateX(-140px) translateY(18px) rotate(-7deg); }
.ab-art--3 img:nth-child(2) { z-index: 2; width: 210px; }
.ab-art--3 img:nth-child(3) { width: 178px; transform: translate(-50%, -50%) translateX(140px) translateY(18px) rotate(7deg); }

.ab-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 36px; overflow: hidden; border: 1px solid var(--lp-line); border-radius: 18px; background: #fff; }
.ab-stat { padding: 20px 22px; text-align: center; }
.ab-stat + .ab-stat { border-left: 1px solid var(--lp-line-soft); }
.ab-stat b { display: block; font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--lp-brand); }
.ab-stat span { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 700; color: var(--lp-ink-2); }

.ab-sec { margin-top: 64px; }
.ab-sec__hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ab-sec__hd h2, .ab-story h2 { font-size: 26px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--lp-ink); }
.ab-sec__hd p { max-width: 640px; margin-top: 6px; font-size: 15px; color: var(--lp-muted); }
.ab-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--lp-brand); white-space: nowrap; }
.ab-more:hover { color: var(--lp-brand-hover); }

.ab-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ab-story p { margin-top: 12px; font-size: 15.5px; line-height: 1.65; color: var(--lp-ink-2); }
/* About Us text written in Admin → Website (Quill): headings, lists, links. */
.ab-story__body > :first-child { margin-top: 0; }
.ab-story__body h3 { margin-top: 18px; font-size: 18px; font-weight: 800; color: var(--lp-ink); }
.ab-story__body ul, .ab-story__body ol { margin: 12px 0 0; padding-left: 22px; font-size: 15.5px; line-height: 1.65; color: var(--lp-ink-2); }
.ab-story__body ul { list-style: disc; }
.ab-story__body ol { list-style: decimal; }
.ab-story__body li[data-list="bullet"] { list-style-type: disc; }
.ab-story__body li[data-list="ordered"] { list-style-type: decimal; }
.ab-story__body .ql-ui { display: none; }
.ab-story__body a { font-weight: 700; color: var(--lp-brand); text-decoration: underline; }
.ab-story__body blockquote { margin: 14px 0 0; padding: 10px 16px; border-left: 3px solid var(--lp-brand); border-radius: 0 10px 10px 0; background: var(--lp-soft); }
.ab-steps { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--lp-line); border-radius: 20px; background: var(--lp-soft); }
.ab-step { display: flex; gap: 14px; padding: 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--lp-line-soft); }
.ab-step b { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--lp-brand-soft); color: var(--lp-brand); font-weight: 800; }
.ab-step h3 { font-size: 15px; font-weight: 800; color: var(--lp-ink); }
.ab-step p { margin-top: 2px; font-size: 13.5px; line-height: 1.5; color: var(--lp-muted); }

.ab-values { padding: 44px 40px; border-radius: 28px; background: linear-gradient(160deg, #f5f8ff, #f7f5ff); text-align: center; }
.ab-values blockquote { max-width: 760px; margin: 0 auto; font-size: 28px; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; color: var(--lp-ink); }
.ab-values blockquote::before { content: "“"; }
.ab-values blockquote::after { content: "”"; }
.ab-values__sub { max-width: 640px; margin: 12px auto 0 !important; font-size: 15px; color: var(--lp-muted); }
.ab-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; text-align: left; }
.ab-pillar { padding: 22px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--lp-line-soft), 0 16px 32px -24px rgba(15, 23, 42, .3); }
.ab-pillar i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--lp-brand-soft); color: var(--lp-brand); font-style: normal; }
.ab-pillar h3 { margin-top: 14px; font-size: 17px; font-weight: 800; color: var(--lp-ink); }
.ab-pillar p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--lp-muted); }

.ab-designer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 30px; border: 1px solid var(--lp-line); border-radius: 20px; }
.ab-designer h2 { font-size: 21px; font-weight: 800; color: var(--lp-ink); }
.ab-designer p { max-width: 620px; margin-top: 4px; font-size: 14.5px; color: var(--lp-muted); }

.ab-final { padding: 52px 32px; border-radius: 28px; background: linear-gradient(135deg, #1d4ed8, #4f46e5); color: #fff; text-align: center; }
.ab-final__pill { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.ab-final h2 { font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.ab-final p { max-width: 560px; margin: 10px auto 0; font-size: 16px; color: rgba(255, 255, 255, .85); }
.ab-final__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.ab-btn--white { background: #fff; color: var(--lp-ink); }
.ab-btn--white:hover { background: #eef3ff; color: var(--lp-ink); }
.ab-btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.ab-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }
.ab .ad-slot, .ab > .ad-slot-wrap { margin-top: 48px; }

/* ================= CONTACT ================= */
.ct-head { padding: 18px 0 6px; text-align: center; }
.ct-head h1 { font-size: 38px; font-weight: 800; letter-spacing: -.03em; color: var(--lp-ink); }
.ct-head p { max-width: 560px; margin: 10px auto 0; font-size: 16px; color: var(--lp-muted); }
.ct-topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.ct-topics a { display: inline-flex; align-items: center; height: 36px; padding: 0 15px; border: 1px solid var(--lp-line); border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 700; color: var(--lp-ink-2); transition: border-color .15s, color .15s, background .15s; }
.ct-topics a:hover, .ct-topics a.is-on { border-color: var(--lp-brand); background: var(--lp-brand-soft); color: var(--lp-brand); }
.ct-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 32px; }
.ct-ways { display: grid; gap: 12px; }
.ct-way { padding: 18px; border: 1px solid var(--lp-line); border-radius: 18px; background: #fff; }
.ct-way__hd { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ct-way__hd > div { min-width: 0; }
.ct-way__ic { flex-shrink: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--lp-brand-soft); color: var(--lp-brand); }
.ct-way__ic--wa { background: #dcfce7; color: #16a34a; }
.ct-way h2 { font-size: 15.5px; font-weight: 800; color: var(--lp-ink); }
.ct-way small { display: block; overflow: hidden; font-size: 13px; color: var(--lp-muted); text-overflow: ellipsis; white-space: nowrap; }
.ct-way__note { margin-top: 10px !important; font-size: 13px; color: var(--lp-muted); }
.ct-way .ct-btn { width: 100%; height: 40px; margin-top: 14px; font-size: 13.5px; }
.ct-btn--wa { background: #16a34a; color: #fff; }
.ct-btn--wa:hover { background: #15803d; color: #fff; }
.ct-way--note { border-color: transparent; background: var(--lp-soft); font-size: 13.5px; line-height: 1.55; color: var(--lp-ink-2); }
.ct-way--note a { font-weight: 700; color: var(--lp-brand); }

.ct-form { padding: 26px 28px; border: 1px solid var(--lp-line); border-radius: 20px; background: #fff; box-shadow: 0 24px 50px -36px rgba(15, 23, 42, .35); scroll-margin-top: 90px; }
.ct-form h2 { font-size: 21px; font-weight: 800; color: var(--lp-ink); }
.ct-form__sub { margin-top: 4px !important; font-size: 14px; color: var(--lp-muted); }
.ct-alert { margin-top: 14px; padding: 10px 14px; border: 1px solid #fecaca; border-radius: 12px; background: #fef2f2; color: #b91c1c; font-size: 13.5px; }
.ct-alert ul { margin: 0; padding-left: 18px; }
.ct-alert--ok { border-color: #bbf7d0; background: #f0fdf4; color: #15803d; }
.ct-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 16px; margin-top: 18px; }
.ct-field--wide { grid-column: 1 / -1; }
.ct-field > label:not(.ct-drop) { display: block; margin-bottom: 5px; font-size: 13.5px; font-weight: 700; color: var(--lp-ink-2); }
.ct-field > label i { font-style: normal; color: #dc2626; }
.ct-field input, .ct-field select, .ct-field textarea { display: block; width: 100%; height: 44px; margin: 0; padding: 0 14px; border: 1px solid var(--lp-line); border-radius: 12px; background: #fff; box-shadow: none; font: inherit; font-size: 15px; color: var(--lp-ink); outline: 0; transition: border-color .15s, box-shadow .15s; }
.ct-field textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.ct-field select { appearance: auto; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: var(--lp-faint); }
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus { border-color: var(--lp-brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.ct-drop { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px dashed #cfd6e2; border-radius: 14px; background: var(--lp-soft); font-size: 13.5px; color: var(--lp-muted); cursor: pointer; }
.ct-drop:hover { border-color: var(--lp-brand); }
.ct-drop svg { flex-shrink: 0; color: var(--lp-brand); }
.ct-drop b { font-weight: 700; color: var(--lp-ink); }
.ct-drop__file { display: block; margin-top: 2px; font-weight: 700; color: var(--lp-brand); }
.ct-drop__file:empty { display: none; }
.ct-drop input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ct-form__ft { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.ct-form__ft small { font-size: 12.5px; color: var(--lp-faint); }
.ct-form__ft small a { font-weight: 700; color: var(--lp-brand); }

/* ---------- tablet / phone ---------- */
@media (max-width: 1000px) {
  .ab-hero { grid-template-columns: minmax(0, 1fr); }
  .ab-art { height: 340px; }
  .ct-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .ab, .ct { padding-bottom: 40px; }
  .ab-hero h1 { font-size: 32px; }
  .ab-hero__sub { font-size: 15px; }
  .ab-art { height: 280px; }
  .ab-art img { width: 140px; }
  .ab-art--3 img:nth-child(1) { width: 118px; transform: translate(-50%, -50%) translateX(-100px) translateY(14px) rotate(-7deg); }
  .ab-art--3 img:nth-child(2) { width: 148px; }
  .ab-art--3 img:nth-child(3) { width: 118px; transform: translate(-50%, -50%) translateX(100px) translateY(14px) rotate(7deg); }
  .ab-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-stat:nth-child(3) { border-left: 0; }
  .ab-stat:nth-child(n+3) { border-top: 1px solid var(--lp-line-soft); }
  .ab-stat b { font-size: 24px; }
  .ab-sec { margin-top: 44px; }
  .ab-sec__hd { flex-wrap: wrap; align-items: flex-start; }
  .ab-sec__hd h2, .ab-story h2 { font-size: 21px; }
  .ab-story, .ab-pillars { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ab-values { padding: 30px 16px; }
  .ab-values blockquote { font-size: 21px; }
  .ab-designer { flex-direction: column; align-items: flex-start; padding: 20px; }
  .ab-final { padding: 36px 18px; }
  .ab-final h2 { font-size: 24px; }
  .ct-head h1 { font-size: 28px; }
  .ct-head p { font-size: 15px; }
  .ct-grid2 { grid-template-columns: minmax(0, 1fr); }
  .ct-form { padding: 18px 16px; }
  .ct-form__ft { flex-direction: column; align-items: stretch; }
}
