/* ══ GPDStore Contact page — design port (ct-*) ════════════════════════════
   Source: claude.ai/design project a6d34540 — contact.css / contact-app.jsx.
   Loaded only on the Contact page (see inc/contact.php). gs-* primitives are
   re-declared contact-scoped (like gpd-blog/gpd-kb); the form is the live CF7
   form restyled to the ct-* shells, so CF7 control classes are mapped below.
   Icons are inline <svg> (gpd_contact_icon), so icon rules target svg.
   ========================================================================== */

/* ── Shoptimizer container integration (page, not archive) ─────────────── */
/* The parent theme paints #content / archive wrappers white with an equal-
   specificity rule, so force the dark surface here. */
body.gpd-contact { overflow-x: clip; background: var(--bg-2); }
body.gpd-contact #content,
body.gpd-contact #content.site-content { background: var(--bg-2) !important; }
body.gpd-contact #content > .shoptimizer-archive,
body.gpd-contact .shoptimizer-archive,
body.gpd-contact #content > .col-full,
body.gpd-contact .shoptimizer-archive > .col-full { background: transparent; max-width: none; width: 100%; margin: 0; padding: 0; }
body.gpd-contact #content > .col-full { max-width: none; width: 100%; margin: 0; padding: 0; }
body.gpd-contact #primary,
body.gpd-contact .content-area { float: none; width: 100%; margin: 0; padding: 0; }
body.gpd-contact .site-main,
body.gpd-contact .hentry,
body.gpd-contact .type-page,
body.gpd-contact .entry-content { margin: 0; padding: 0; }
body.gpd-contact .archive-header,
body.gpd-contact h1.entry-title,
body.gpd-contact .page-header,
body.gpd-contact #content .woocommerce-breadcrumb,
body.gpd-contact #content .rankmath.woocommerce-breadcrumb { display: none; }

/* ── Shared gs-* primitives (design theme.css; contact-scoped) ─────────── */
body.gpd-contact .gs-sec { padding: 62px 0; }
body.gpd-contact .gs-wrap { max-width: 1240px; margin: 0 auto; padding: 0 36px; }
body.gpd-contact .gs-sechead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 34px; }
body.gpd-contact .gs-sechead h2 { margin: 0; font-size: 34px; font-weight: 800; line-height: 1.05; letter-spacing: -.8px; color: #fff; }
body.gpd-contact .gs-sechead .sub { margin: 8px 0 0; font-size: 15px; color: var(--fg-secondary); max-width: 760px; }
body.gpd-contact .gs-eyebrow { display: inline-block; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--lime-500); }
body.gpd-contact .ct-sec-tight { padding-top: 8px; }

/* Headings: the parent theme/Elementor set a dark default colour on h2/h3 with
   equal specificity, so force white for every contact-page heading. */
body.gpd-contact .gs-sechead h2,
body.gpd-contact .ct-card h2,
body.gpd-contact .ct-social-in h2,
body.gpd-contact .ct-addr h3,
body.gpd-contact .ct-qa .q { color: #fff !important; }

/* buttons */
body.gpd-contact .gs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; border-radius: var(--r-md); padding: 13px 22px; line-height: 1; white-space: nowrap; border: 0; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .22s, background .22s, color .22s; }
body.gpd-contact .gs-btn svg { width: 18px; height: 18px; }
body.gpd-contact .gs-btn-primary { background: var(--lime-500); color: #0A0D0F; }
body.gpd-contact .gs-btn-primary:hover { box-shadow: var(--shadow-glow); transform: translateY(-2px); color: #0A0D0F; }
body.gpd-contact .gs-btn-primary:active { background: var(--lime-600); transform: translateY(0); }
body.gpd-contact .gs-btn-secondary { background: rgba(255,255,255,.10); color: #fff; }
body.gpd-contact .gs-btn-secondary:hover { background: rgba(255,255,255,.17); transform: translateY(-2px); color: #fff; }
body.gpd-contact .gs-btn-lg { font-size: 16px; padding: 16px 26px; }

/* hero bloom (lime + teal radial wash on bg-2) */
body.gpd-contact .gs-bloom-lime {
  background:
    radial-gradient(720px 460px at 78% 8%, rgba(211,255,95,.10), transparent 64%),
    radial-gradient(680px 440px at 8% 0%, rgba(35,221,190,.07), transparent 60%),
    var(--bg-2);
}

/* trust feature strip (chrome.jsx FeatureStrip; global classes from blog.css) */
body.gpd-contact .gs-featstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
body.gpd-contact .gs-feat { display: flex; align-items: center; gap: 13px; background: var(--surface-glass); border: 1px solid var(--line-1); border-radius: var(--r-lg); padding: 15px 17px; }
body.gpd-contact .gs-feat .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.06); color: var(--acc); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
body.gpd-contact .gs-feat .ic svg { width: 21px; height: 21px; }
body.gpd-contact .gs-feat .t { font-size: 14px; font-weight: 700; color: #fff; }
body.gpd-contact .gs-feat .s { font-size: 12px; color: var(--fg-secondary); margin-top: 2px; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.ct-hero { padding: 30px 0 40px; }
.ct-crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-tertiary); margin-bottom: 22px; }
.ct-crumb a { color: var(--fg-secondary); text-decoration: none; transition: color var(--dur-normal) var(--ease); }
.ct-crumb a:hover { color: #fff; }
.ct-crumb svg { width: 14px; height: 14px; color: var(--fg-disabled); flex: 0 0 auto; }
.ct-crumb .here { color: var(--fg-1); }
.ct-hero-in { max-width: 760px; }
/* !important + scope: the theme/Elementor set a dark default h1 colour. */
body.gpd-contact .ct-hero h1 { margin: 12px 0 0; font-size: 52px; font-weight: 800; line-height: 1.02; letter-spacing: -1.2px; color: #fff !important; }
.ct-hero .lead { margin: 16px 0 0; font-size: 18px; line-height: 1.55; color: var(--fg-secondary); max-width: 620px; }
.ct-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ct-stat { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: var(--r-full);
  background: var(--surface-glass); border: 1px solid var(--line-1); font-size: 13.5px; font-weight: 600; color: var(--fg-1); }
.ct-stat svg { width: 16px; height: 16px; color: var(--lime-500); }
.ct-stat b { color: #fff; }
.ct-stat-star svg { color: var(--star-500); }

/* ── Main grid: form + sidebar ────────────────────────────────────────── */
.ct-formsec { padding-top: 44px; padding-bottom: 44px; }
.ct-main { display: grid; grid-template-columns: 1.55fr 1fr; gap: 26px; align-items: start; }

/* card shell */
.ct-card { background: var(--surface-elev); border: 1px solid var(--line-1); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); }
.ct-card-pad { padding: 30px; }
.ct-card h2 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.4px; color: #fff; }
.ct-card .desc { margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--fg-secondary); }

/* ── Form (live CF7 restyled to ct-*) ─────────────────────────────────── */
.ct-formcard .wpcf7 { margin-top: 0; }
.ct-formcard .wpcf7 .ct-form { margin-top: 24px; display: flex; flex-direction: column; gap: 18px; }
.ct-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-field { display: flex; flex-direction: column; gap: 8px; }
.ct-field label { font-size: 13px; font-weight: 700; color: var(--fg-1); }
.ct-field label .opt { font-weight: 500; color: var(--fg-tertiary); }

/* scoped + !important: the parent theme/WooCommerce style inputs (white bg)
   with high-specificity selectors, so override them deterministically. */
body.gpd-contact .ct-formcard .ct-input,
body.gpd-contact .ct-formcard .ct-textarea {
  width: 100%; font-family: var(--font-sans); font-size: 15px; color: var(--fg-0) !important;
  background: var(--surface-glass) !important; border: 1px solid var(--line-1) !important; border-radius: var(--r-sm); padding: 13px 14px;
  box-shadow: none;
  transition: border-color var(--dur-normal) var(--ease), box-shadow var(--dur-normal) var(--ease), background var(--dur-normal) var(--ease);
}
body.gpd-contact .ct-formcard .ct-input::placeholder,
body.gpd-contact .ct-formcard .ct-textarea::placeholder { color: var(--fg-tertiary); opacity: 1; }
body.gpd-contact .ct-formcard .ct-input:focus,
body.gpd-contact .ct-formcard .ct-textarea:focus {
  outline: none; border-color: var(--lime-500) !important; box-shadow: 0 0 0 3px rgba(211,255,95,.18) !important; background: rgba(255,255,255,.06) !important;
}
body.gpd-contact .ct-formcard .ct-textarea { min-height: 130px; resize: vertical; line-height: 1.55; }

/* submit — beat theme input[type=submit] / .wpcf7-submit button styling */
body.gpd-contact .ct-formcard input.gs-btn,
body.gpd-contact .ct-formcard input.wpcf7-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700;
  font-size: 16px; line-height: 1; border: 0; border-radius: var(--r-md); padding: 16px 26px 16px 48px; cursor: pointer;
  background-color: var(--lime-500) !important; color: #0A0D0F !important; text-shadow: none; width: auto;
  /* paper-plane (lucide send) baked in — a CF7 <input> can't hold an inline SVG */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230A0D0F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z'/%3E%3Cpath d='m21.854 2.147-10.94 10.939'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 22px center;
  transition: transform .15s, box-shadow .22s, background-color .22s;
}
body.gpd-contact .ct-formcard input.gs-btn:hover { box-shadow: var(--shadow-glow); transform: translateY(-2px); background-color: var(--lime-500) !important; }
body.gpd-contact .ct-formcard input.gs-btn:active { background-color: var(--lime-600) !important; transform: translateY(0); }

/* topic pills — built from the CF7 [radio Question] control */
.ct-topicwrap .ct-flabel { display: block; font-size: 13px; font-weight: 700; color: var(--fg-1); margin: 0 0 10px; letter-spacing: .01em; }
.ct-topicwrap .wpcf7-form-control-wrap { display: block; }
.ct-topicwrap .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 9px; }
.ct-topicwrap .wpcf7-list-item { margin: 0; }
.ct-topicwrap .wpcf7-list-item label {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  padding: 9px 15px; border-radius: var(--r-full);
  background: var(--surface-glass); border: 1px solid var(--line-1);
  font-size: 13.5px; font-weight: 600; color: var(--fg-secondary);
  transition: all var(--dur-normal) var(--ease);
}
.ct-topicwrap .wpcf7-list-item input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.ct-topicwrap .wpcf7-list-item label svg { width: 15px; height: 15px; flex: 0 0 auto; }
.ct-topicwrap .wpcf7-list-item label:hover { color: #fff; border-color: rgba(255,255,255,.22); }
.ct-topicwrap .wpcf7-list-item:has(input:checked) label { background: var(--lime-500); border-color: var(--lime-500); color: #0A0D0F; }

/* footer row: consent + submit */
.ct-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 4px; flex-wrap: wrap; }
.ct-consent { font-size: 12.5px; line-height: 1.5; color: var(--fg-tertiary); max-width: 360px; }
.ct-consent a { color: var(--lime-500); font-weight: 600; }
.ct-formcard .wpcf7-acceptance { display: inline; }
.ct-formcard .wpcf7-list-item.first { margin: 0; }
.ct-formcard .wpcf7-acceptance .wpcf7-list-item-label { color: var(--fg-tertiary); }
.ct-submit svg { width: 18px; height: 18px; }
.ct-formcard .cf7-simple-turnstile,
.ct-formcard .cf7-turnstile { margin-top: 2px; }

/* CF7 validation / response — dark theme */
.ct-formcard .wpcf7-not-valid-tip { color: var(--red-500); font-size: 12px; margin-top: 6px; }
.ct-formcard .wpcf7-form-control.wpcf7-not-valid { border-color: var(--red-500); box-shadow: 0 0 0 3px rgba(255,92,92,.16); }
.ct-formcard .wpcf7-response-output {
  margin: 18px 0 0; padding: 12px 16px; border-radius: var(--r-sm); font-size: 13.5px; line-height: 1.5;
  border: 1px solid var(--line-1); color: var(--fg-1); background: var(--surface-glass);
}
.ct-formcard form.invalid .wpcf7-response-output,
.ct-formcard form.unaccepted .wpcf7-response-output,
.ct-formcard form.spam .wpcf7-response-output { border-color: rgba(255,92,92,.5); color: var(--red-500); }
.ct-formcard form.sent .wpcf7-response-output { border-color: rgba(35,221,190,.5); color: var(--teal-500); }

/* ── Sidebar channel cards ────────────────────────────────────────────── */
.ct-side { display: flex; flex-direction: column; gap: 16px; }
.ct-chan { padding: 20px; }
.ct-chan-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ct-chan-ic { width: 40px; height: 40px; border-radius: var(--r-md); display: grid; place-items: center; flex: 0 0 auto;
  background: rgba(211,255,95,.12); color: var(--lime-500); }
.ct-chan-ic svg { width: 20px; height: 20px; }
.ct-chan-head .t { font-size: 15.5px; font-weight: 700; color: #fff; }
.ct-chan-head .s { font-size: 12.5px; color: var(--fg-tertiary); margin-top: 1px; }
.ct-rows { display: flex; flex-direction: column; gap: 11px; }
.ct-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; font-size: 13.5px; }
.ct-row .k { color: var(--fg-secondary); }
.ct-row .v { color: var(--fg-1); font-weight: 600; text-align: right; white-space: nowrap; }
.ct-row .v:not(.mono) { font-variant-numeric: tabular-nums; }
.ct-row .v.mono { font-family: var(--font-mono); font-size: 12.5px; }
.ct-mailto { color: var(--lime-500); font-weight: 700; text-decoration: none; }
.ct-chan .gs-btn { width: 100%; margin-top: 16px; }
.ct-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--fg-secondary); margin-top: 13px; }
.ct-live .dot { width: 8px; height: 8px; border-radius: 50%; background: #33D17A; box-shadow: 0 0 0 4px rgba(51,209,122,.18); animation: ctPulse 2s var(--ease) infinite; }
@keyframes ctPulse { 0%,100% { box-shadow: 0 0 0 3px rgba(51,209,122,.22); } 50% { box-shadow: 0 0 0 7px rgba(51,209,122,0); } }

.ct-quick { padding: 20px; }
.ct-quick .h { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-tertiary); margin-bottom: 12px; }
.ct-qlinks { display: flex; flex-direction: column; }
.ct-qlink { display: flex; align-items: center; gap: 11px; padding: 11px 0; font-size: 14px; font-weight: 600; color: var(--fg-1);
  white-space: nowrap; border-top: 1px solid var(--line-2); text-decoration: none; transition: color var(--dur-normal) var(--ease); }
.ct-qlink:first-child { border-top: 0; }
.ct-qlink svg:first-child { width: 17px; height: 17px; color: var(--fg-secondary); flex: 0 0 auto; }
.ct-qlink svg:last-child { margin-left: auto; width: 15px; height: 15px; color: var(--fg-tertiary); transition: transform var(--dur-normal) var(--ease); flex: 0 0 auto; }
.ct-qlink:hover { color: #fff; }
.ct-qlink:hover svg:last-child { transform: translateX(3px); color: var(--lime-500); }

/* ── Other ways strip ─────────────────────────────────────────────────── */
.ct-ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ct-way { padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; text-decoration: none;
  transition: transform var(--dur-normal) var(--ease-out), border-color var(--dur-normal) var(--ease), box-shadow var(--dur-normal) var(--ease); }
.ct-way:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.2); }
.ct-way .ic { width: 42px; height: 42px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--surface-glass); border: 1px solid var(--line-1); color: #fff; }
.ct-way .ic svg { width: 20px; height: 20px; }
.ct-way b { font-size: 15.5px; font-weight: 700; color: #fff; }
.ct-way p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--fg-secondary); }
.ct-way .lnk { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 13px; font-weight: 700; color: var(--lime-500); text-decoration: none; }
.ct-way .lnk svg { width: 14px; height: 14px; transition: transform var(--dur-normal) var(--ease); }
.ct-way:hover .lnk svg { transform: translateX(3px); }

/* ── Where we are (map + address) ─────────────────────────────────────── */
.ct-locgrid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; overflow: hidden; }
.ct-map { position: relative; min-height: 340px; background: var(--bg-0); }
.ct-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.25) contrast(1.05); }
.ct-addr { padding: 34px 30px; display: flex; flex-direction: column; justify-content: center; background: var(--surface-elev); }
.ct-addr .gs-eyebrow { margin-bottom: 12px; display: block; }
.ct-addr h3 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.3px; color: #fff; }
.ct-addr .line { margin: 14px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--fg-secondary); }
.ct-addr .meta { margin-top: 20px; display: flex; flex-direction: column; gap: 11px; }
.ct-addr .meta .it { display: flex; align-items: center; gap: 11px; font-size: 13.5px; color: var(--fg-1); }
.ct-addr .meta .it svg { width: 16px; height: 16px; color: var(--fg-tertiary); flex: 0 0 auto; }
.ct-addr .gs-btn { margin-top: 24px; align-self: flex-start; }

/* ── Social band ──────────────────────────────────────────────────────── */
.ct-social-band { background: var(--bg-1); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.ct-social-pad { padding-top: 44px; padding-bottom: 44px; }
.ct-social-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.ct-social-in h2 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.5px; color: #fff; }
.ct-social-in p { margin: 8px 0 0; font-size: 14.5px; color: var(--fg-secondary); max-width: 380px; }
.ct-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-soc { display: inline-flex; align-items: center; gap: 9px; padding: 11px 17px; border-radius: var(--r-full); white-space: nowrap;
  background: var(--surface-glass); border: 1px solid var(--line-1); font-size: 14px; font-weight: 700; color: var(--fg-1); text-decoration: none;
  transition: all var(--dur-normal) var(--ease-out); }
.ct-soc svg { width: 18px; height: 18px; }
.ct-soc:hover { transform: translateY(-2px); color: #fff; border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.07); }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.ct-faq { max-width: 860px; }
.ct-qa { border: 1px solid var(--line-1); border-radius: var(--r-lg); background: var(--surface-elev); margin-bottom: 12px; overflow: hidden; transition: border-color var(--dur-normal) var(--ease); }
.ct-qa.open { border-color: rgba(255,255,255,.2); }
.ct-qa .q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  padding: 18px 22px; font-size: 16px; font-weight: 700; color: #fff; background: none; border: 0; cursor: pointer; font-family: var(--font-sans); }
.ct-qa .q .chev { flex: 0 0 auto; display: grid; place-items: center; }
.ct-qa .q .chev svg { width: 20px; height: 20px; color: var(--fg-tertiary); transition: transform var(--dur-normal) var(--ease); }
.ct-qa.open .q .chev svg { transform: rotate(180deg); color: var(--lime-500); }
.ct-qa .a { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease); }
.ct-qa.open .a { max-height: 320px; }
.ct-qa .a-in { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.65; color: var(--fg-secondary); }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .ct-main { grid-template-columns: 1fr; }
  .ct-ways { grid-template-columns: 1fr 1fr; }
  .ct-locgrid { grid-template-columns: 1fr; }
  .ct-map { min-height: 280px; }
}
@media (max-width: 768px) {
  body.gpd-contact .gs-sec { padding: 40px 0; }
  body.gpd-contact .gs-wrap { padding: 0 18px; }
  body.gpd-contact .gs-sechead h2 { font-size: 26px; }
}
@media (max-width: 620px) {
  .ct-hero h1 { font-size: 38px; }
  .ct-hero .lead { font-size: 16px; }
  .ct-card-pad { padding: 22px; }
  .ct-grid2 { grid-template-columns: 1fr; }
  .ct-ways { grid-template-columns: 1fr; }
  .ct-foot { flex-direction: column; align-items: stretch; }
  .ct-consent { max-width: none; }
  .ct-foot .gs-btn { width: 100%; }
  .ct-social-in h2 { font-size: 22px; }
  body.gpd-contact .gs-featstrip { grid-template-columns: 1fr 1fr; }
}
