/* Contact page — Figma "Desktop - 9". */
.page-contact main { background: #e8e9ed; }
.ct-hero { background: var(--grad); color: #fff; text-align: center; padding-block: clamp(48px, 6vw, 80px) clamp(110px, 10vw, 150px); }
.ct-hero h1 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.4rem); font-weight: 700; }
.ct-hero p { margin-top: 14px; font-size: clamp(1rem, .9rem + .4vw, 1.3rem); line-height: 1.4; }

.ct-desks { position: relative; margin: clamp(-110px, -8vw, -80px) auto 0; max-width: 67.5rem; display: grid; grid-template-columns: repeat(3, 1fr); background: #eef0f4; border-radius: 12px; box-shadow: 4px 8px 16px rgba(0, 0, 0, .2); padding: 30px 10px 26px; }
.ct-desk { position: relative; text-align: center; padding: 0 22px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ct-desk + .ct-desk { border-left: 1.5px solid var(--blue); }
.ct-desk-ico { margin-top: -58px; margin-bottom: 10px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--blue); border: 2px solid var(--blue); }
.ct-desk h2 { font-size: clamp(1.1rem, 1rem + .5vw, 1.45rem); font-weight: 600; color: var(--navy); }
.ct-desk p { color: var(--text); font-size: .95rem; margin-bottom: 14px; max-width: 16.25rem; }
.ct-desk a { color: var(--navy); font-weight: 500; }
.ct-desk a:hover { color: var(--blue); }

/* Connect: logo in the middle of rings, social buttons around it */
.ct-orbit { position: relative; max-width: 61.25rem; margin: 0 auto; min-height: 300px; display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: 1fr 1fr; gap: 40px 60px; align-items: center; }
.ct-rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.ct-rings span { position: absolute; border: 1px solid #9aa3b5; border-radius: 50%; }
.ct-rings span:nth-child(1) { width: 52%; height: 100%; }
.ct-rings span:nth-child(2) { width: 30%; height: 80%; }
.ct-rings span:nth-child(3) { width: 70%; height: 46%; }
.ct-logo { grid-column: 2; grid-row: 1 / 3; position: relative; width: 180px; height: 180px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(31, 0, 117, .35); overflow: hidden; }
.ct-logo img { width: 150px; }
.ct-social { position: relative; display: flex; align-items: center; gap: 14px; background: var(--blue); color: #fff; font-weight: 600; font-size: 1.15rem; border-radius: 10px; padding: 18px 26px; box-shadow: 3px 6px 12px rgba(0, 0, 0, .2); max-width: 16.25rem; width: 100%; transition: transform .2s, background .2s; }
.ct-social:hover { background: var(--blue-deep); transform: translateY(-2px); }
.ct-social .ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: #fff; color: var(--blue); }
.ct-social.s1 { grid-column: 1; grid-row: 1; justify-self: end; }
.ct-social.s2 { grid-column: 1; grid-row: 2; justify-self: end; }
.ct-social.s3 { grid-column: 3; grid-row: 2; }
.ct-social.s4 { grid-column: 3; grid-row: 1; }

/* Offices: blue address card overlapping a map */
.ct-office { position: relative; display: grid; grid-template-columns: 340px 1fr; align-items: center; max-width: 62.5rem; margin: 0 auto 60px; }
.ct-card { position: relative; z-index: 1; background: var(--grad); color: #fff; border-radius: 10px; padding: 28px 26px; box-shadow: 4px 8px 16px rgba(0, 0, 0, .25); margin-right: -60px; }
.ct-card h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 16px; }
.ct-card p { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; line-height: 1.45; }
.ct-card p svg { flex-shrink: 0; margin-top: 3px; }
.ct-card a { color: #fff; }
.ct-map { border-radius: 10px; overflow: hidden; box-shadow: 4px 8px 16px rgba(0, 0, 0, .2); background: #dfe3ea; aspect-ratio: 16 / 9; }
.ct-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.ct-office.is-flip { grid-template-columns: 1fr 340px; }
.ct-office.is-flip .ct-map { order: -1; }
.ct-office.is-flip .ct-card { margin-right: 0; margin-left: -60px; }

@media (max-width: 860px) {
  .ct-desks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ct-desk { padding: 0 12px; }
  .ct-desk a { font-size: .92rem; overflow-wrap: anywhere; }
  .ct-orbit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; gap: 16px; }
  .ct-rings { display: none; }
  .ct-logo { grid-column: 1 / -1; grid-row: 1; justify-self: center; width: 150px; height: 150px; }
  .ct-logo img { width: 124px; }
  .ct-social { grid-row: auto !important; grid-column: auto !important; justify-self: stretch !important; max-width: none; padding: 14px; font-size: 1rem; }
  .ct-office, .ct-office.is-flip { grid-template-columns: 1fr; margin-bottom: 40px; }
  .ct-office.is-flip .ct-map { order: 0; }
  .ct-card, .ct-office.is-flip .ct-card { margin: 0 16px -30px; }
  .ct-map { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .ct-desks { grid-template-columns: 1fr; gap: 50px; padding-top: 40px; margin-top: -80px; }
  .ct-desk + .ct-desk { border-left: 0; border-top: 1.5px solid var(--blue); padding-top: 40px; }
  .ct-desk + .ct-desk .ct-desk-ico { margin-top: -68px; }
}
.ct-desk a, .ct-social, .ct-card a { text-decoration: none; }
.ct-card a:hover { text-decoration: underline; }
@media (max-width: 400px) {
  .ct-social { padding: 12px 10px; gap: 10px; font-size: .92rem; }
  .ct-social .ico { width: 34px; height: 34px; }
}
