/* Gondan Media T1: Contact page. Hero with the direct lines and a short enquiry form; the studio on a
   map panel; four quick answers. Template 1 tokens and the homepage type scale only. */

/* ---------- 1 HERO ---------- */
.ct-hero { position: relative; overflow: hidden; padding: calc(var(--header) + clamp(48px, 6vw, 88px)) 0 clamp(64px, 7vw, 104px); background: radial-gradient(60% 70% at 85% 30%, rgba(79,134,198,.14) 0%, rgba(79,134,198,0) 60%), linear-gradient(180deg, #F7FAFD 0%, #EEF4F9 70%, #fff 100%); }
.ct-hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.ct-hero__title { font-size: clamp(2.6rem, 1.6rem + 2.3vw, 3.6rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 400; color: var(--navy); max-width: 14ch; margin: 18px 0 22px; }
.ct-hero__lede { font-size: 1.075rem; color: var(--muted); max-width: 44ch; }
.ct-status { display: inline-flex; align-items: center; gap: 10px; margin: 30px 0 34px; padding: 8px 14px 8px 12px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font-size: .84rem; color: var(--muted); }
.ct-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--soft); }
.ct-status.is-open i { background: #3CA867; box-shadow: 0 0 0 4px rgba(60,168,103,.16); animation: ct-pulse 2.4s ease-in-out infinite; }
@keyframes ct-pulse { 50% { box-shadow: 0 0 0 7px rgba(60,168,103,.05); } }
.ct-lines { border-top: 1px solid var(--line); max-width: 560px; }
.ct-line { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ct-line__k { font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.ct-line__v { font-size: clamp(1.1rem, .95rem + .45vw, 1.35rem); letter-spacing: -.01em; color: var(--navy); transition: color .3s; }
.ct-line__v:hover { color: var(--glacier-d); }
.ct-line__go { width: 18px; height: 18px; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ct-copy { font: inherit; font-size: .78rem; font-weight: 500; color: var(--glacier-d); background: none; border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.ct-copy:hover, .ct-copy.is-done { background: var(--navy); border-color: var(--navy); color: #fff; }

/* the form card */
.ct-card { position: relative; border-radius: var(--r-lg); padding: clamp(26px, 2.8vw, 40px); background: #fff; box-shadow: 0 0 0 1px rgba(11,26,51,.06), 0 50px 90px -56px rgba(19,41,79,.5); }
.ct-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.ct-card__title { font-size: 1.35rem; font-weight: 500; letter-spacing: -.015em; color: var(--navy); }
.ct-card__title:focus { outline: none; }
.ct-card__sub { font-size: .84rem; color: var(--soft); }
.ct-form { display: grid; gap: 16px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; border: 0; padding: 0; margin: 0; }
.ct-field label, .ct-field legend { font-size: .82rem; font-weight: 500; color: var(--navy); padding: 0; }
.ct-opt { font-weight: 400; color: var(--soft); }
.ct-field input, .ct-field textarea { width: 100%; font: inherit; font-size: .97rem; color: var(--navy); background: var(--paper); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; transition: border-color .25s, background .25s, box-shadow .25s; }
.ct-field textarea { resize: vertical; min-height: 104px; line-height: 1.55; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: #9AA9BC; }
.ct-field input:focus, .ct-field textarea:focus { outline: none; background: #fff; border-color: var(--glacier); box-shadow: 0 0 0 4px rgba(79,134,198,.14); }
.ct-field.is-bad input, .ct-field.is-bad textarea { border-color: #B4423A; background: #fff; }
.ct-err { font-size: .78rem; color: #B4423A; }
.ct-err:empty { display: none; }
.ct-need legend { margin-bottom: 8px; }
.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-chips label { position: relative; cursor: pointer; }
.ct-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ct-chips span { display: inline-block; padding: 8px 14px; border-radius: 99px; font-size: .85rem; color: var(--navy); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, color .25s, box-shadow .25s; }
.ct-chips label:hover span { box-shadow: inset 0 0 0 1px var(--glacier); }
.ct-chips input:checked + span { background: var(--navy); color: #fff; box-shadow: none; }
.ct-chips input:focus-visible + span { outline: 2px solid var(--glacier); outline-offset: 2px; }
.ct-send { justify-content: center; width: 100%; margin-top: 6px; }
.ct-send svg { width: 16px; height: 16px; margin-left: 8px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.ct-send:hover svg { transform: translateX(3px); }
.ct-note { font-size: .78rem; color: var(--soft); text-align: center; }
/* a field only robots fill in */
.ct-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* sending: a spinner inside the button, which can't be pressed twice */
.ct-send.is-busy, .ct-send:disabled { cursor: progress; transform: none; box-shadow: none; background: var(--navy); opacity: .92; }
.ct-send.is-busy { gap: 12px; }
.ct-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.28); border-top-color: #fff; animation: ctSpin .8s linear infinite; }
@keyframes ctSpin { to { transform: rotate(360deg); } }

/* the success / error popup (contact.js), in the site's colours and type */
.ct-pop { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; }
.ct-pop[hidden] { display: none; }
.ct-pop__scrim { position: absolute; inset: 0; background: rgba(11,26,51,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .35s var(--ease); }
.ct-pop__card { position: relative; width: min(440px, 100%); padding: 40px 36px 32px; border-radius: var(--r-lg); background: #fff; text-align: center;
  box-shadow: 0 40px 90px -30px rgba(11,26,51,.55), inset 0 0 0 1px var(--line-2); display: flex; flex-direction: column; align-items: center;
  opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.ct-pop.is-open .ct-pop__scrim { opacity: 1; }
.ct-pop.is-open .ct-pop__card { opacity: 1; transform: none; }
.ct-pop__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #E8F6EE; }
.ct-pop__icon svg { width: 40px; height: 40px; fill: none; stroke: #3CA867; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ct-pop__icon circle { stroke-dasharray: 140; stroke-dashoffset: 140; }
.ct-pop__icon path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.ct-pop.is-open .ct-pop__icon circle { animation: ctDraw .6s var(--ease) .1s forwards; }
.ct-pop.is-open .ct-pop__icon path { animation: ctDraw .45s var(--ease) .5s forwards; }
@keyframes ctDraw { to { stroke-dashoffset: 0; } }
.ct-pop.is-err .ct-pop__icon { background: #FCEDEC; }
.ct-pop.is-err .ct-pop__icon svg { stroke: #C8463D; }
.ct-pop__t { margin-top: 20px; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); font-weight: 500; letter-spacing: -.02em; color: var(--navy); }
.ct-pop__p { margin-top: 10px; color: var(--muted); font-size: .98rem; line-height: 1.6; }
.ct-pop__help { margin-top: 12px; color: var(--soft); font-size: .88rem; }
.ct-pop__help[hidden] { display: none; }
.ct-pop__help a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.ct-pop__btn { margin-top: 26px; min-width: 160px; justify-content: center; }
.ct-pop__x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--soft); transition: background .3s, color .3s; }
.ct-pop__x:hover { background: var(--paper); color: var(--navy); }
.ct-pop__x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
@media (max-width: 520px) { .ct-pop__card { padding: 34px 22px 24px; border-radius: 24px; } .ct-pop__btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .ct-pop__card, .ct-pop__scrim { transition: none; }
  .ct-spin { animation-duration: 1.6s; }
  .ct-pop.is-open .ct-pop__icon circle, .ct-pop.is-open .ct-pop__icon path { animation: none; stroke-dashoffset: 0; }
}
.ct-done { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 8px 0; }
.ct-done[hidden], .ct-form[hidden] { display: none; }
.ct-done__tick svg { width: 48px; height: 48px; fill: none; stroke: #3CA867; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ct-done__p, .ct-done__help { color: var(--muted); font-size: .95rem; }
.ct-done__help a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.ct-done__acts { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 2 VISIT: map panel with a floating address card ---------- */
.ct-visit { padding: clamp(24px, 3vw, 40px) 0 var(--sec); background: #fff; }
.ct-map { position: relative; min-height: clamp(440px, 40vw, 560px); border-radius: var(--r-lg); overflow: hidden; background: var(--ice); box-shadow: 0 0 0 1px rgba(11,26,51,.06), 0 50px 90px -60px rgba(19,41,79,.45); }
.ct-map .map__art, .ct-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.ct-map .map__art svg { width: 100%; height: 100%; display: block; }
.ct-map iframe { border: 0; opacity: 0; transition: opacity .8s var(--ease); }
.ct-map.is-loaded iframe { opacity: 1; }
.m-bg { fill: #EEF4F9; }
.m-blocks rect { fill: #fff; stroke: rgba(11,26,51,.05); }
.m-park rect { fill: rgba(79,134,198,.12); }
.m-road { fill: none; stroke-linecap: round; }
.m-road--minor path { stroke: #DCE7F1; stroke-width: 14; }
.m-road--major path { stroke: #fff; stroke-width: 30; filter: drop-shadow(0 0 1px rgba(11,26,51,.15)); }
.m-label { font-family: inherit; font-size: 12px; font-weight: 500; letter-spacing: .28em; fill: var(--soft); }
.map__pin { position: absolute; width: 0; height: 0; }
.map__pin b { position: absolute; left: -16px; top: -42px; width: 32px; height: 32px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--navy); box-shadow: 0 10px 20px -8px rgba(11,26,51,.6); }
.map__pin b::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #fff; }
.map__pin i { position: absolute; left: -28px; top: -13px; width: 56px; height: 26px; border-radius: 50%; border: 1.5px solid var(--glacier); animation: ct-ring 2.8s var(--ease) infinite; }
@keyframes ct-ring { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.ct-addr { position: absolute; left: clamp(16px, 3vw, 40px); top: 50%; transform: translateY(-50%); z-index: 2; width: min(400px, calc(100% - 32px)); padding: clamp(24px, 2.6vw, 34px); border-radius: 22px; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 30px 60px -30px rgba(19,41,79,.45), inset 0 0 0 1px rgba(255,255,255,.9); }
.ct-addr__title { font-size: clamp(1.5rem, 1.2rem + .8vw, 1.95rem); font-weight: 400; letter-spacing: -.02em; color: var(--navy); margin: 14px 0 12px; }
.ct-addr address { font-style: normal; color: var(--muted); line-height: 1.65; }
.ct-addr__facts { display: grid; gap: 10px; margin: 20px 0 22px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.ct-addr__facts div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; }
.ct-addr__facts dt { font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); padding-top: 3px; }
.ct-addr__facts dd { margin: 0; color: var(--navy); font-size: .93rem; }
.ct-addr__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-map.is-loaded .ct-addr { top: auto; bottom: 16px; transform: none; }

/* ---------- 3 QUICK ANSWERS ---------- */
.ct-faq { padding: var(--sec) 0; background: linear-gradient(180deg, #fff 0%, var(--ice) 100%); }
.ct-faq__head { margin-bottom: clamp(32px, 4vw, 52px); }
.ct-faq__head h2 { color: var(--navy); margin-top: 18px; }
.ct-faq__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.ct-faq__grid > div { padding: 26px clamp(18px, 2vw, 28px) 8px 0; }
.ct-faq__grid > div + div { padding-left: clamp(18px, 2vw, 28px); border-left: 1px solid var(--line); }
.ct-faq__grid dt { display: flex; flex-direction: column; gap: 14px; font-size: 1.05rem; font-weight: 500; line-height: 1.35; color: var(--navy); margin-bottom: 10px; }
.ct-faq__grid dt span { font-size: .75rem; font-weight: 500; letter-spacing: .12em; color: var(--glacier-d); }
.ct-faq__grid dd { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.6; }

.rm .ct-status.is-open i, .rm .map__pin i { animation: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .ct-hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .ct-card { max-width: 640px; }
  .ct-faq__grid { grid-template-columns: 1fr 1fr; }
  .ct-faq__grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .ct-faq__grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .ct-map { min-height: 0; display: flex; flex-direction: column; }
  .ct-map .map__art { position: relative; height: 260px; }
  .ct-map iframe { height: 260px; bottom: auto; }
  .ct-addr { position: relative; left: auto; top: auto; transform: none; width: auto; margin: -40px 14px 14px; }
  .ct-map.is-loaded .ct-addr { bottom: auto; }
}
@media (max-width: 600px) {
  .ct-row { grid-template-columns: 1fr; }
  .ct-line { grid-template-columns: 1fr auto; row-gap: 6px; }
  .ct-line__k { grid-column: 1 / -1; }
  .ct-faq__grid { grid-template-columns: 1fr; }
  .ct-faq__grid > div, .ct-faq__grid > div + div { padding: 22px 0 18px; border-left: 0; }
  .ct-faq__grid > div + div { border-top: 1px solid var(--line); }
}
.ct-visit { padding-bottom: clamp(48px, 5vw, 72px); }
.ct-faq { padding-top: clamp(40px, 4vw, 64px); }
/* errors in the brand palette: no red anywhere in the UI */
.ct-err { color: var(--glacier-d); display: flex; align-items: center; gap: 6px; }
.ct-err::before { content: "!"; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--glacier-d); color: #fff; font-size: .62rem; font-weight: 600; flex: none; }
.ct-err:empty { display: none; }
.ct-field.is-bad input, .ct-field.is-bad textarea { border-color: var(--glacier-d); box-shadow: 0 0 0 3px rgba(47,101,166,.12); }
