/* Contact page. Loaded after homepage.css and product.css. */
.ct-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.ct-info { display: grid; gap: 14px; }
.ct-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid #D0E5D9;
  border-radius: 20px;
  padding: 18px 20px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(7, 83, 61, .06);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s;
}
a.ct-card:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: 0 18px 40px rgba(7, 83, 61, .12); }
.ct-card .ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--mint); }
.ct-card b { display: block; font-size: 1.05rem; }
.ct-card span:not(.ic) { display: block; color: var(--navy); font-weight: 700; }
.ct-card small { display: block; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.ct-card > i { font-style: normal; font-size: 1.5rem; font-weight: 800; color: var(--deep); transition: transform .3s; }
a.ct-card:hover > i { transform: translateX(4px); }

.ct-formcard {
  background: #fff;
  border: 1px solid #D0E5D9;
  border-radius: 24px;
  padding: clamp(22px, 3.5vw, 36px);
  box-shadow: 0 20px 50px rgba(7, 83, 61, .1);
}
.ct-form { display: grid; gap: 16px; }
.ct-form h2 { margin: 0 0 4px; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.ct-form .sub { margin: 0; color: var(--muted); }
.ct-form label { display: grid; gap: 6px; font-weight: 700; font-size: .92rem; }
.ct-form label small { font-weight: 500; color: var(--muted); }
.ct-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct-form input, .ct-form select, .ct-form textarea {
  font: inherit;
  font-weight: 500;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  width: 100%;
}
.ct-form textarea { resize: vertical; min-height: 110px; }
.ct-form input:focus, .ct-form select:focus, .ct-form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(9, 175, 114, .15); }
.ct-form [aria-invalid="true"] { border-color: var(--red); }
.ct-form .err { color: var(--red); font-size: .82rem; font-weight: 600; min-height: 0; }
.ct-note { margin: 0; color: var(--muted); font-size: .86rem; }
.ct-note a { color: var(--deep); font-weight: 700; }
.ct-link { display: inline-block; margin-top: 12px; color: var(--deep); font-weight: 800; text-decoration: none; }
.ct-link:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .ct-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .ct-form .row2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-card, .ct-card > i { transition: none; }
}

.pr-hub-hero .lede { margin-top: 18px; }

/* ---------- hero: dark world map with contact nodes ---------- */
.ct-hero { background: #07302D; border-bottom: 0; color: #fff; overflow: hidden; position: relative; padding-block: clamp(40px, 6vw, 80px); }
.ct-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 75% 50%, rgba(9, 175, 114, .22), transparent 60%); pointer-events: none; }
.ct-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.ct-hero-copy { display: grid; gap: 16px; justify-items: start; }
.ct-hero .pr-crumbs { margin-bottom: 4px; color: #9FC9BF; }
.ct-hero .pr-crumbs a { color: #6FE3B6; }
.ct-hero h1 { margin: 0; color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.07; max-width: none; }
.ct-hero h1 .hl { color: #4FE0A5; }
.ct-hero .lede { color: #C5DDD7; margin: 0; max-width: 46ch; }
.ct-hero .eyebrow { background: rgba(255, 255, 255, .1); color: #7DF0BD; border-color: rgba(255, 255, 255, .18); }
.ct-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.ct-ghost { display: inline-flex; align-items: center; padding: 12px 22px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-weight: 700; text-decoration: none; transition: background .25s, border-color .25s; }
.ct-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

.ct-orbit { position: relative; width: 100%; aspect-ratio: 5 / 4; background: url("../images/world-dots.svg") center / 118% auto no-repeat; }
.ct-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ct-lines path { fill: none; stroke: #C9F266; stroke-width: 1.6; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; animation: ct-flow 1.6s linear infinite; opacity: .85; }
@keyframes ct-flow { to { stroke-dashoffset: -22; } }
.ct-node { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 6px; text-decoration: none; animation: ct-float 5s ease-in-out infinite; }
.ct-node:nth-of-type(2) { animation-delay: -1.2s; }
.ct-node:nth-of-type(3) { animation-delay: -2.4s; }
.ct-node:nth-of-type(4) { animation-delay: -3.6s; }
.ct-node b { width: 62px; height: 62px; border-radius: 50%; background: #fff; display: grid; place-items: center; border: 3px solid #F5B82E; box-shadow: 0 10px 26px rgba(0, 0, 0, .3); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.ct-node.wa b { background: #25D366; border-color: #fff; }
.ct-node:hover b { transform: scale(1.12); }
.ct-node:focus-visible { outline: 3px solid #C9F266; outline-offset: 6px; border-radius: 16px; }
.ct-node em { font-style: normal; font-weight: 700; font-size: .8rem; color: #fff; background: rgba(0, 0, 0, .28); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.ct-node.center { animation: none; }
.ct-node.center b { width: 84px; height: 84px; background: #09AF72; border: 4px solid #fff; color: #fff; font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; animation: ct-ping 2.4s ease-out infinite; }
.ct-pill { position: absolute; transform: translate(-50%, -50%); background: #fff; color: #0D163F; font-weight: 800; font-size: .88rem; padding: 8px 14px; border-radius: 12px; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); white-space: nowrap; animation: ct-float 6s ease-in-out infinite reverse; }
@keyframes ct-float { 50% { translate: 0 -7px; } }
@keyframes ct-ping { 0% { box-shadow: 0 0 0 0 rgba(79, 224, 165, .55); } 100% { box-shadow: 0 0 0 26px rgba(79, 224, 165, 0); } }
@media (max-width: 900px) { .ct-hero-grid { grid-template-columns: 1fr; } .ct-orbit { max-width: 560px; margin-inline: auto; } }
@media (max-width: 520px) { .ct-node b { width: 48px; height: 48px; } .ct-node.center b { width: 64px; height: 64px; font-size: 1rem; } .ct-pill { font-size: .72rem; padding: 6px 10px; } .ct-node em { font-size: .7rem; } }
@media (prefers-reduced-motion: reduce) { .ct-lines path, .ct-node, .ct-pill, .ct-node.center b { animation: none; } }

/* beat homepage.css "main>section:not(.hero)" atmosphere rules */
main>section.ct-hero.pr-hero:not(.hero) { background-color: #07302D; background-image: none; border-top: 0; }
main>section.ct-hero.pr-hero:not(.hero)::before { z-index: -1; background: radial-gradient(ellipse at 75% 50%, rgba(9, 175, 114, .25), transparent 60%); opacity: 1; -webkit-mask-image: none; mask-image: none; transform: none; }
.ct-hero-grid { z-index: 1; }

/* partner sign-up page */
.ct-form label.su-check { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; }
.ct-form label.su-check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--green); }
.ct-form label.su-check a { color: var(--deep); }
.su-fb { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.su-fb[disabled] { opacity: .6; cursor: progress; }
.su-ok { background: var(--mint); border: 1px solid #BFE5D2; color: #07533D; border-radius: 12px; padding: 12px 14px; font-weight: 600; margin-bottom: 16px; }

/* ---------- partner sign-up page ---------- */
.su-check { display: flex !important; grid-template-columns: none; align-items: center; gap: 10px !important; font-weight: 500 !important; }
.su-check input { width: 18px; height: 18px; flex: none; accent-color: var(--green); padding: 0; }
.su-check a { color: var(--deep); font-weight: 700; }
.su-fb { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.su-fb[disabled] { opacity: .6; cursor: wait; }
.su-ok { background: var(--mint); border: 1px solid #BFE8D4; color: #07533D; font-weight: 600; border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; }

/* error text from the original signup scripts (they toggle Bootstrap's d-none) */
.ct-form .text-danger { color: var(--red); font-size: .82rem; font-weight: 600; }
.ct-form select { appearance: auto; }

/* Contact Form 7 inside the contact card (form built in Contact > Contact Forms) */
.ct-cf7 .wpcf7 { margin: 0; }
.ct-cf7 .wpcf7-form { display: grid; gap: 16px; }
.ct-cf7 .form_group { display: grid; gap: 6px; }
.ct-cf7 .form_group label { font-weight: 700; font-size: .92rem; color: var(--navy); }
.ct-cf7 .wpcf7-form-control-wrap { display: block; }
.ct-cf7 input.form-control, .ct-cf7 textarea.form-control { width: 100%; }
.ct-cf7 .main-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 100%;
  background: var(--green); color: #fff; border: 0; border-radius: 999px;
  padding: 14px 24px; font: inherit; font-weight: 800; cursor: pointer; transition: background .15s, transform .15s;
}
.ct-cf7 .main-btn:hover { background: var(--deep, #0A8A66); transform: translateY(-1px); }
.ct-cf7 .wpcf7-not-valid-tip { color: var(--red); font-size: .82rem; font-weight: 600; margin-top: 4px; }
.ct-cf7 .wpcf7-not-valid { border-color: var(--red); }
.ct-cf7 .wpcf7 form .wpcf7-response-output { margin: 4px 0 0; padding: 12px 16px; border-radius: 12px; font-size: .92rem; font-weight: 600; }
.ct-cf7 .wpcf7 form.sent .wpcf7-response-output { border-color: var(--green); background: var(--mint); color: #0A6B50; }
.ct-cf7 .wpcf7-spinner { margin: 0 auto; }
.ct-cf7 .form_group label { margin: 0; }
.ct-cf7 .form_group br, .ct-cf7 .wpcf7-form > br { display: none; }
.ct-cf7 .form_group p, .ct-cf7 .wpcf7-form p { margin: 0; }
.ct-cf7 .form_group.text-center { text-align: center; }
.ct-cf7 textarea.form-control { height: 130px; min-height: 110px; }

/* social icons: same look as the footer (plain row of round white buttons) */
.ct-social { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 4px 0 0; }
.ct-social b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ct-soc-row { display: flex; gap: 10px; }
.ct-soc-row a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid #CDE4D6; color: var(--navy); transition: background .2s, color .2s, transform .2s; }
.ct-soc-row a:hover { background: var(--green); border-color: var(--green); color: #fff; transform: translateY(-2px); }
.ct-soc-row a svg { width: 18px; height: 18px; }
