/* Contact page (board PM-9). Components come from site.css; this file holds the page layout plus the local
   ".sup-" pieces (the hero laptop's "Get in touch" card).
   Desktop tuning for the 1280 px board sits in @media (min-width: 1100px); tablet and mobile keep the system layout.
   Section rhythm comes from site.css: .sec, .faq-split and .cta-band-section pad by --sec-y (white sections sit
   2 x --sec-y apart) and headings sit --sec-head-gap above their content. The trust bar paints edge to edge, so the
   first section under it pads 1.7 x --sec-y (at least 60 px) on top. No section sets a px padding of its own. */

/* ============================================================ hero */
.contact-hero .page-hero-intro { margin-top: 13px; font-size: 18px; line-height: 1.45; }
.contact-hero .page-hero-ticks { margin-top: 26px; gap: 8px 35px; font-size: 16px; }
.contact-hero .page-hero-ticks .icon { width: 19px; height: 19px; }
/* PM-9 laptop: narrower lid set to the right of a long base, a gentler tilt than the system default. */
.contact-hero .device-lid { width: 50em; margin: 0 -.2em 0 auto; }
.contact-hero .device-base { width: 65.9em; margin-left: -4.5em; }
.contact-hero .device-brand { margin-bottom: 2.5em; }
.contact-hero .device-nav li { min-height: 3.45em; font-size: 1.12em; }
.contact-hero .device-nav li.is-active { background: linear-gradient(180deg, #1a4a86, #153f75); }
/* Laptop screen: one white card listing the ways to get in touch (sized in em like the device). */
.contact-hero .device-main { padding: 2.4em 1.3em 1.1em; }
.sup-touch { display: grid; align-content: start; gap: 2.7em; flex: 1; padding: 2.5em 2.2em 2em; border-radius: 1.1em; box-shadow: 0 .2em .8em rgba(16, 36, 77, .08); }
.sup-touch-head { display: flex; align-items: center; gap: 1.2em; }
.sup-touch-icon { display: grid; place-items: center; flex: none; width: 5.2em; height: 5.2em; border-radius: 1em; background: #cdf6e8; color: #0b8a4f; }
.sup-touch-icon .icon { width: 3.4em; height: 3.4em; stroke-width: 1.9; }
.sup-touch-head b { color: var(--ink); font-size: 2.5em; font-weight: var(--fw-title); letter-spacing: -.015em; white-space: nowrap; }
.sup-touch-checks { gap: 2em; padding: 0 0 0 .3em; background: none; box-shadow: none; }
.sup-touch-checks p { font-size: 1.65em; font-weight: 600; }
.sup-touch-checks .icon { width: 1.75em; height: 1.75em; color: #09b562; }

/* ============================================================ message form and contact options */
.contact-main { padding-top: max(60px, calc(var(--sec-y) * 1.7)); }
.contact-main-inner { display: grid; grid-template-columns: minmax(0, 611fr) minmax(0, 563fr); gap: 24px 35px; align-items: start; }
.contact-form {
  display: grid; gap: 0; min-width: 0;
  padding: 26px 28px 20px; border: 1px solid #e3e9f5; border-radius: 19px;
  background: linear-gradient(180deg, #fcfdff 0%, #f9fbfe 100%);
  scroll-margin-top: 16px;
}
.contact-form h2 { padding-left: 5px; font-size: 34.5px; line-height: 1.2; }
.contact-form-sub { margin-top: 10px; padding-left: 5px; color: #323b5a; font-size: 17.5px; font-weight: 500; line-height: 1.4; }
.contact-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 15px; margin-top: 28px; }
.contact-form-wide { grid-column: 1 / -1; }
.contact-form .form-input, .contact-form .form-select { min-height: 45px; padding-block: 9px; border-color: #d9e0ec; border-radius: 11px; font-size: 15.5px; font-weight: 500; }
.contact-form .form-input::placeholder { color: #4c536d; }
.contact-form .form-select:has(option[value='']:checked) { color: #4c536d; }
.contact-form .form-select option { color: var(--ink); }
.contact-form .has-icon .form-input, .contact-form .has-icon .form-select { padding-left: 50px; }
.contact-form .form-icon { left: 15px; }
.contact-form .form-icon .icon { width: 22px; height: 22px; stroke-width: 1.9; }
.contact-form .form-control--area .form-icon { top: 11px; }
.contact-form .form-textarea { min-height: 116px; padding-top: 11px; }
.contact-form-btn { --btn-h: 49px; margin-top: 24px; border-radius: 13px; font-size: 18.5px; font-weight: 700; }
.contact-form-note { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 16px; color: #4d5570; font-size: 14.5px; font-weight: 500; }
.contact-form-note .icon { width: 21px; height: 21px; color: #0dbd5d; stroke-width: 2; }
.contact-form-status { margin-top: 12px; }

.contact-side { display: grid; gap: 22px; min-width: 0; }
.contact-option {
  display: flex; align-items: center; gap: 28px; min-height: 88px; padding: 12px 22px 12px 32px;
  border: 1px solid #e6ecf7; border-radius: 16px; background: linear-gradient(180deg, #f6f8fd 0%, #f1f5fc 100%);
  color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s;
}
.contact-option:hover { border-color: #c9d5ea; box-shadow: var(--shadow-md); }
.contact-option-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; color: #0f376e; }
.contact-option-icon .icon { width: 46px; height: 46px; stroke-width: 1.45; }
.contact-option-copy { display: grid; gap: 2px; flex: 1; min-width: 0; }
.contact-option-copy b { color: var(--ink); font-size: 21px; font-weight: var(--fw-title); line-height: 1.2; }
.contact-option-value { color: #0a3ef5; font-size: 18.5px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.contact-option--phone .contact-option-value { font-size: 21px; font-weight: 800; letter-spacing: .005em; white-space: nowrap; }
.contact-option-arrow { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: #1d335c; box-shadow: 0 1px 4px rgba(16, 36, 77, .12); transition: transform .15s; }
.contact-option-arrow .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.contact-option:hover .contact-option-arrow { transform: translateX(2px); }

/* "Book a call" on the board: navy card with teal and blue corner shapes. It asks for a call back instead. */
.contact-callback {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 252px; margin-top: 9px; padding: 30px 32px 30px;
  border-radius: 19px; background: #072752; color: #fff;
}
.contact-callback::before, .contact-callback::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
/* A tall teal ellipse whose edge shows as a thin crescent at the top right, then a large royal-blue disc rising from the bottom right. */
.contact-callback::before { right: -282px; top: -70px; width: 378px; height: 600px; background: linear-gradient(200deg, #3ef0d3 0%, #2ae0c6 45%, #1cc9b8 100%); }
.contact-callback::after { right: -597px; bottom: -788px; width: 960px; height: 960px; background: radial-gradient(circle at 28% 18%, #0a5cb2 0%, #064c99 22%, #053f86 45%); }
.contact-callback-title { display: flex; align-items: center; gap: 22px; color: #fff; font-size: 30.5px; line-height: 1.15; }
.contact-callback-title .icon { width: 43px; height: 43px; color: #3efedf; stroke-width: 1.7; }
.contact-callback p { position: relative; max-width: 410px; margin-top: 16px; color: #fff; font-size: 19.5px; font-weight: 500; line-height: 1.4; }
.contact-callback-btn { --btn-h: 54px; min-width: 211px; margin-top: 23px; border-radius: 19px; font-size: 18px; font-weight: 700; }

/* ============================================================ office, opening hours and UK coverage */
.contact-info-inner { display: grid; grid-template-columns: minmax(0, 391fr) minmax(0, 217fr) minmax(0, 242fr); gap: 27px; align-items: stretch; }
.contact-card { min-width: 0; padding: 22px 24px; border: 1px solid #e3e9f3; border-radius: 16px; background: #fbfcfe; }
.contact-card-title { display: flex; align-items: center; gap: 18px; color: var(--ink); font-size: 26px; line-height: 1.2; }
.contact-card-title .icon { width: 32px; height: 32px; color: #052856; stroke-width: 1.7; }
.contact-card-title--sm { gap: 13px; font-size: 18px; }
.contact-card-title--sm .icon { width: 29px; height: 29px; }
/* Our office: address on the left, "Also available in" cities on the right */
.contact-office { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 216px); gap: 0 32px; padding: 23px 14px 20px 27px; }
.contact-office::before { content: ''; grid-column: 2; grid-row: 1; align-self: center; width: 1px; height: 115px; margin-top: 28px; background: #dfe5ee; }
.contact-office-main { grid-column: 1; grid-row: 1; }
.contact-office-cities { grid-column: 3; grid-row: 1; }
.contact-address { margin: 16px 0 0 3px; color: #25262c; font-size: 17.5px; font-style: normal; font-weight: 500; line-height: 1.41; }
.contact-cities { display: grid; gap: 8px; margin-top: 16px; list-style: none; padding: 0; }
.contact-cities li { display: flex; align-items: center; gap: 12px; min-height: 34px; padding: 0 14px 0 13px; border: 1px solid #dfe5ef; border-radius: 11px; background: #fff; color: var(--ink); font-size: 16.5px; font-weight: 700; }
.contact-cities .icon { width: 19px; height: 19px; color: #0b2a5a; stroke-width: 2; }
/* Opening hours */
.contact-hours { padding: 21px 14px 20px 21px; background: #f9fafd; }
.contact-hours .contact-card-title { font-size: 21.5px; }
.contact-hours-list { display: grid; gap: 11px; margin: 21px 0 0 9px; }
.contact-hours-list div { display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: center; gap: 6px; min-height: 30px; }
.contact-hours-list dt { color: var(--ink); font-size: 16.5px; font-weight: 700; }
.contact-hours-list dd { justify-self: start; margin: 0 0 0 -5px; padding: 3px 7px 3px 5px; border-radius: 7px; background: rgba(255, 255, 255, .85); color: #25262c; font-size: 14.8px; font-weight: 500; white-space: nowrap; }
.contact-hours-list dd.is-closed { padding: 4px 15px; border-radius: 10px; background: #e7ecf4; color: var(--ink); font-size: 15.5px; font-weight: 700; }
/* UK coverage: the map image carries the card gradient (#ebfaf6 to #dbfaf0 over its height), so the stops sit on its edges. */
.contact-coverage { position: relative; min-height: 207px; padding: 31px 12px 20px 88px; border: 0; background: linear-gradient(180deg, #ebfaf6 27px, #dbfaf0 179px); }
.contact-coverage-map { position: absolute; left: 14px; top: 27px; width: 92px; height: auto; }
.contact-coverage-copy { position: relative; }
.contact-coverage .contact-card-title { font-size: 20px; white-space: nowrap; }
.contact-coverage-list { display: grid; gap: 14px; margin-top: 26px; padding: 0 0 0 36px; list-style: none; }
.contact-coverage-list li { display: flex; align-items: center; gap: 12px; min-height: 20px; color: #384445; font-size: 14.8px; font-weight: 500; line-height: 1.3; white-space: nowrap; }
.contact-coverage-list .icon { width: 19px; height: 19px; color: #00b05f; stroke-width: 2.6; }

/* ============================================================ get in touch about… */
.contact-topics-title { margin-bottom: var(--sec-head-gap); font-size: 34px; text-align: center; }
.contact-topic-grid { gap: 16px; }
.contact-topic-grid .icon-card--enquiry { gap: 12px; min-height: 171px; padding: 22px 66px 22px 28px; border-color: #e8edf7; border-radius: 16px; background: linear-gradient(180deg, #f6f9fe 0%, #f2f6fc 100%); }
.contact-topic-grid .icon-card-icon { width: 42px; height: 42px; }
.contact-topic-grid .icon-card-icon .icon { stroke-width: 1.55; }
/* "Existing clients": the board draws the front person green and the one behind navy. */
.contact-topic-grid li:nth-child(2) .icon > circle, .contact-topic-grid li:nth-child(2) .icon > path:first-of-type { stroke: #0a9f6a; }
.contact-topic-grid .icon-card-title { font-size: 23px; }
.contact-topic-grid .icon-card-text { color: #4e5b77; font-size: 17px; font-weight: 500; line-height: 1.4; }
.contact-topic-grid .icon-card-arrow { right: 24px; width: 41px; height: 41px; margin-top: -2px; }

/* ============================================================ FAQ */
.contact-faq .faq-split-intro h2 { font-size: 33px; line-height: 1.08; }
.contact-faq .faq-split-intro p { margin-top: 13px; color: #47516e; font-size: 17.5px; font-weight: 500; line-height: 1.4; }
.contact-faq .faq-split-intro .btn { --btn-h: 42px; margin-top: 18px; padding: 0 18px 0 24px; border-radius: 20px; background: #e0edfe; color: #0844fc; font-size: 17.5px; font-weight: 800; }
.contact-faq .faq-acc { gap: 12px; }
.contact-faq .faq-item { border-color: #e3e8f2; border-radius: 13px; background: #f8f9fc; }
.contact-faq .faq-q { min-height: 52px; padding: 12px 24px 12px 22px; color: var(--ink); font-size: 17px; font-weight: 700; }
.contact-faq .faq-chev { width: 20px; height: 20px; color: #183770; }
.contact-faq .faq-a { padding: 0 22px 16px; font-size: 15.5px; }

/* ============================================================ desktop: match the 1280 px board */
@media (min-width: 1100px) {
  .contact-hero .page-hero-inner { grid-template-columns: minmax(0, 640px) minmax(0, 1fr); min-height: 365px; padding-block: calc(var(--sec-y) * .2) var(--sec-y); }
  .contact-hero .hero-badge { gap: 10px; min-height: 37px; margin-bottom: 22px; padding: 0 18px 0 14px; font-size: 15px; }
  .contact-hero .hero-badge .uk-flag { width: 28px; height: 17px; }
  .contact-hero .page-hero-title { font-size: 48.5px; line-height: 1.1; }
  .contact-hero .page-hero-intro { margin-top: 12px; font-size: 21.5px; line-height: 1.42; }
  .contact-hero .page-hero-ticks { margin-top: 30px; }
  .contact-hero.page-hero--tilt .hero-stage { transform: translate(-8.9em, .9em) perspective(1400px) rotateY(-10deg) rotateZ(-3deg); }
  /* PM-9 shows the lid leaning back: its left edge narrows towards the top. A taller screen keeps the board's height. */
  .contact-hero .device-lid { transform: perspective(700px) rotateX(9deg); transform-origin: 95% 100%; }
  .contact-hero .device-screen { height: 30.6em; }
  .contact-hero .hero-blob--a { left: 47.5em; top: -3.6em; width: 30em; height: 30em; background: linear-gradient(180deg, #45f2d6 0%, #2fe0c8 55%, #1cc6b6 100%); }
  .contact-hero .hero-blob--b { left: -1.5em; top: 12.5em; }
  .contact-hero .hero-blob--c { left: -.5em; top: 22em; }
  /* The form and the side column end level: the call-back card takes up whatever height the form has left over. */
  .contact-main-inner { align-items: stretch; }
  .contact-form { align-content: start; }
  .contact-side { grid-template-rows: auto auto 1fr; }
  .contact-faq .faq-split-inner { grid-template-columns: 316px minmax(0, 1fr); gap: 0; }
  .contact-faq .faq-split-intro { padding: 2px 0 0 20px; }
  .contact-faq .faq-acc { padding-left: 50px; border-left: 1px solid #cdd3df; }
  .contact-cta .wrap-wide { width: min(100% - 2 * var(--gutter), var(--container-bleed)); }
  .contact-cta .cta-band { min-height: 110px; gap: 24px 104px; padding-left: 84px; border-radius: 42px; }
  .contact-cta .cta-band-copy { text-align: left; }
  .contact-cta .cta-band-copy h2 { font-size: 34px; }
  .contact-cta .cta-band-copy p { font-size: 18.5px; }
  .contact-cta .cta-band-actions .btn-primary { --btn-h: 54px; min-width: 258px; border-radius: 27px; font-size: 19px; }
}

/* ============================================================ 1100-1240 px: the board layout is too tight here */
@media (min-width: 1100px) and (max-width: 1240px) {
  .contact-form .form-input, .contact-form .form-select { font-size: 14px; }
  .contact-form .has-icon .form-input, .contact-form .has-icon .form-select { padding-left: 44px; }
  .contact-form .form-icon { left: 13px; }
  .contact-topic-grid .icon-card--enquiry { padding: 17px 52px 18px 22px; }
  .contact-topic-grid .icon-card-title { font-size: 21px; }
  .contact-topic-grid .icon-card-text { font-size: 15px; }
  .contact-topic-grid .icon-card-text br { display: none; }
  .contact-topic-grid .icon-card-arrow { right: 14px; }
}
/* The office, hours and coverage cards take the tablet arrangement (office across the top) below 1241 px. */
@media (max-width: 1240px) {
  .contact-info-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .contact-office { grid-column: 1 / -1; }
}

/* ============================================================ tablet and mobile */
@media (max-width: 1099px) {
  .contact-main-inner { grid-template-columns: minmax(0, 1fr); }
  .contact-side { gap: 16px; }
  .contact-callback { min-height: 0; margin-top: 0; }
  .contact-callback p br { display: none; }
  .contact-topic-grid .icon-card-text br { display: none; }
  .contact-faq .faq-split-intro h2 br, .contact-faq .faq-split-intro p br { display: none; }
}
@media (max-width: 767px) {
  .contact-hero .page-hero-intro br { display: none; }
  .contact-hero .page-hero-ticks { gap: 8px 22px; font-size: 15px; }
  .contact-form { padding: 24px 18px 18px; }
  .contact-form h2 { font-size: 26px; }
  .contact-form-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 20px; }
  .contact-side { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .contact-option { gap: 18px; min-height: 76px; padding: 12px 16px 12px 20px; }
  .contact-option-icon, .contact-option-icon .icon { width: 38px; height: 38px; }
  .contact-option-copy b { font-size: 17px; }
  .contact-option-value { font-size: 17px; }
  .contact-option--phone .contact-option-value { font-size: 19px; }
  .contact-option-arrow { width: 36px; height: 36px; }
  .contact-callback { padding: 24px 22px; }
  .contact-callback::before { right: -322px; top: -120px; }
  .contact-callback::after { right: -640px; bottom: -860px; }
  .contact-callback-title { gap: 14px; font-size: 26px; }
  .contact-callback-title .icon { width: 36px; height: 36px; }
  .contact-callback p { font-size: 16.5px; }
  .contact-callback-btn { width: 100%; }
  .contact-info-inner { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .contact-office { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .contact-office::before { display: none; }
  .contact-office-cities { grid-column: 1; grid-row: auto; padding-top: 18px; border-top: 1px solid #dfe5ee; }
  .contact-card-title { font-size: 23px; }
  .contact-card-title--sm { font-size: 18px; }
  .contact-address { font-size: 17px; }
  .contact-topics-title { font-size: 27px; }
  .contact-topic-grid .icon-card--enquiry { min-height: 0; padding-left: 22px; }
  .contact-topic-grid .icon-card-title { font-size: 20px; }
  .contact-topic-grid .icon-card-text { font-size: 15.5px; }
  .contact-faq .faq-split-intro h2 { font-size: 27px; }
  .contact-faq .faq-q { font-size: 15.5px; }
}
@media (max-width: 479px) {
  .contact-callback::before { right: -336px; }
  .contact-callback-title { font-size: 24px; }
  .contact-option { gap: 14px; padding-inline: 14px 12px; }
  .contact-option-value { font-size: 15.5px; }
}
