/* v23: centered brand, clear map lines, compact single-viewport request page.
   The v22 map/card layout, six approved icons and translations are retained. */

/* Equal side tracks keep the eye and name centered on the page,
   independently of the language switcher and request action. */
.topbar {
  --actions-space: 326px;
  display: grid;
  grid-template-columns: var(--actions-space) minmax(0, 1fr) var(--actions-space);
  column-gap: 14px;
  justify-content: initial;
  align-items: center;
  padding-inline: 3vw;
}
.brand-lockup {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  display: flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  gap: 12px;
  overflow: visible;
}
.brand-mark { width: 56px; height: 54px; flex: 0 0 auto; }
.brand-name {
  min-width: 0;
  max-width: 680px;
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: normal;
}
.top-actions {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  width: auto;
  max-width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.top-cta { flex: 0 0 auto; white-space: nowrap; }
.world-map { opacity: 1; filter: none; }

/* Shorter heading, moderate form width and deliberate control heights.
   Extra text scrolls inside the textarea; the page does not hide content. */
.page-request {
  --request-top: 24px;
  --form-pad: 18px;
  --form-gap: 12px;
  --field-height: 42px;
  --task-height: 78px;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: var(--request-top);
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.request-wrap {
  width: min(940px, calc(100% - 48px));
  margin: 0 auto;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.request-heading { min-width: 0; }
.request-heading .eyebrow { margin: 0 0 6px; font-size: 10.5px; line-height: 1.4; }
.request-wrap h2 {
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.015em;
  margin: 0 0 10px;
}
.request-lead { font-size: 15px; line-height: 1.5; margin: 0; color: #5c6c75; max-width: none; }
.request-wrap form {
  flex: 0 0 auto;
  min-width: 0;
  width: 100%;
  margin: 16px 0 0;
  padding: var(--form-pad);
  gap: var(--form-gap);
  border: 1px solid #819aa8;
  background: #fff;
}
.request-wrap .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.request-wrap label { min-width: 0; gap: 5px; font-size: 13px; line-height: 1.3; font-weight: 500; color: #344e5e; }
.request-wrap input, .request-wrap textarea {
  display: block;
  min-width: 0;
  width: 100%;
  height: var(--field-height);
  min-height: 0;
  padding: 9px 12px;
  border: 1px solid #718f9f;
  border-radius: 3px;
  box-shadow: none;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 400;
}
.request-wrap textarea {
  height: var(--task-height);
  max-height: var(--task-height);
  resize: none;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.request-wrap input::placeholder, .request-wrap textarea::placeholder { color: #6a7981; opacity: 1; }
.request-wrap input:hover, .request-wrap textarea:hover { border-color: #466779; }
.request-wrap input:focus-visible, .request-wrap textarea:focus-visible {
  outline: 2px solid #008e79;
  outline-offset: 2px;
  border-color: #008e79;
}
.request-wrap form button {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
}
#form-note { margin: 0; font-size: 12px; line-height: 1.4; }
#form-note:empty { display: none; }
.page-request footer {
  flex: 0 0 auto;
  margin-top: 18px;
  padding: 12px 4vw;
  gap: 16px;
  align-items: center;
  border-top: 1px solid #c4d0d7;
  font-size: 12px;
  line-height: 1.35;
}
.page-request footer span { font-size: inherit; line-height: inherit; font-weight: 400; }
.page-request footer a { flex: 0 0 auto; white-space: nowrap; }

/* Tablet: two compact action rows, but a truly centered brand. */
@media (min-width: 600px) and (max-width: 1199px) {
  .topbar { --actions-space: 178px; column-gap: 10px; padding-inline: 16px; }
  .brand-lockup { gap: 9px; }
  .brand-mark { width: 48px; height: 46px; }
  .brand-name { font-size: 12.5px; line-height: 1.3; }
  .top-actions { flex-direction: column; align-items: flex-end; gap: 4px; }
  .top-cta { padding: 8px 14px; font-size: 12px; line-height: 1.25; }
  .lang-switcher { padding: 2px; }
  .lang-btn { font-size: 10px; padding: 5px 8px; }
}

@media (max-width: 599px) {
  .topbar {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 104px;
    padding: 8px 14px;
    gap: 6px;
    align-items: center;
  }
  .brand-lockup { width: max-content; max-width: 100%; gap: 9px; }
  .brand-mark { width: 42px; height: 40px; }
  .brand-name { font-size: 12px; line-height: 1.3; max-width: 380px; }
  .top-actions { width: auto; flex-direction: row; align-items: center; justify-content: center; gap: 10px; }
  .top-cta { padding: 8px 14px; font-size: 12px; }
  .lang-switcher { padding: 2px; }
  .lang-btn { font-size: 10px; padding: 6px 8px; }
  .page-request { --request-top: 18px; --form-pad: 14px; --form-gap: 10px; --task-height: 70px; }
  .request-wrap { width: calc(100% - 28px); }
  .request-wrap h2 { font-size: 26px; margin-bottom: 8px; }
  .request-heading .eyebrow { font-size: 9.5px; letter-spacing: .12em; }
  .request-lead { font-size: 14px; line-height: 1.45; }
  .request-wrap .two { grid-template-columns: 1fr; gap: var(--form-gap); }
  .request-wrap form { margin-top: 12px; }
  .page-request footer { margin-top: 14px; padding: 10px 14px; font-size: 10.5px; gap: 12px; }
}

/* Standard laptop / tablet landscape with browser bars visible. */
@media (min-width: 600px) and (max-height: 760px) {
  .page-request { --request-top: 16px; --form-pad: 16px; --form-gap: 10px; --field-height: 38px; --task-height: 64px; }
  .request-wrap h2 { font-size: 28px; margin-bottom: 8px; }
  .request-lead { font-size: 14px; line-height: 1.45; }
  .request-wrap form { margin-top: 12px; }
  .request-wrap form button { min-height: 38px; padding: 9px 16px; }
  .page-request footer { margin-top: 12px; padding-block: 10px; }
}

/* On especially short landscape screens, use the width rather than
   clipping the form or forcing visitors to scroll down to the action. */
@media (orientation: landscape) and (min-width: 700px) and (max-height: 560px) {
  .page-request { --request-top: 12px; --form-pad: 14px; --form-gap: 8px; --field-height: 36px; --task-height: 58px; }
  .request-wrap {
    width: min(1120px, calc(100% - 40px));
    display: grid;
    grid-template-columns: minmax(200px, .8fr) minmax(360px, 1.2fr);
    gap: clamp(20px, 3vw, 40px);
    align-items: center;
  }
  .request-wrap h2 { font-size: 26px; margin: 8px 0 12px; }
  .request-lead { font-size: 13px; line-height: 1.5; }
  .request-wrap form { margin: 0; }
  .request-wrap input, .request-wrap textarea { padding: 7px 10px; font-size: 15px; }
  .request-wrap label { font-size: 12px; gap: 4px; }
  .request-wrap .two { gap: 12px; }
  .request-wrap form button { min-height: 36px; padding: 8px 12px; font-size: 13px; }
  .page-request footer { margin-top: 10px; padding-block: 8px; font-size: 10.5px; }
}
@media (orientation: landscape) and (min-width: 700px) and (max-height: 420px) {
  .page-request { --request-top: 8px; --form-pad: 10px; --form-gap: 6px; --field-height: 32px; --task-height: 46px; }
  .request-wrap { gap: 18px; }
  .request-wrap h2 { font-size: 24px; margin: 6px 0 8px; }
  .request-heading .eyebrow { font-size: 9px; }
  .request-lead { font-size: 12.5px; line-height: 1.4; }
  .request-wrap form button { min-height: 34px; padding: 7px 10px; }
  .request-wrap input, .request-wrap textarea { padding: 5px 8px; }
  .page-request footer { margin-top: 8px; padding-block: 6px; }
}
@media (orientation: portrait) and (max-width: 599px) and (max-height: 720px) {
  .page-request { --request-top: 12px; --form-pad: 12px; --form-gap: 8px; --field-height: 38px; --task-height: 58px; }
  .request-wrap h2 { font-size: 24px; }
  .request-lead { font-size: 13px; line-height: 1.4; }
  .request-wrap form { margin-top: 10px; }
  .request-wrap form button { min-height: 38px; padding: 9px 12px; font-size: 13px; }
  .page-request footer { margin-top: 10px; padding-block: 8px; }
}
