@font-face {
  font-family: "UEFA Euro";
  src: url("./fonts/UEFAEuroPro-Book.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "UEFA Euro";
  src: url("./fonts/UEFAEuroPro-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "UEFA Euro Oversize";
  src: url("./fonts/UEFAEuroPro-Oversize.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --hero-image: url("https://res.cloudinary.com/dhxyxwsgl/image/upload/c_limit,w_2560/f_auto/q_auto:good/v1786111568/Copy_of_hero-image_xqtshi.jpg");
  --blue: #1426c7;
  --pink: #ed2862;
  --pink-dark: #cd174e;
  --green: #66c98b;
  --ink: #16112e;
  --white: #ffffff;
  --danger: #a81636;
  --success: #ecfff6;
  --focus: #ffd900;
  --page-width: 1160px;
  font-synthesis: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
  font-family: "UEFA Euro", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.35;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

.page-shell {
  width: min(calc(100% - 48px), var(--page-width));
  margin-inline: auto;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero {
  position: relative;
  isolation: isolate;
  height: clamp(340px, 27vw, 560px);
  min-height: 340px;
  overflow: hidden;
  background: var(--hero-image) 50% center / cover no-repeat;
  color: var(--white);
}

.hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--hero-image) 50% 80% / auto 145% no-repeat;
  content: "";
  -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 28%, #000 72%, transparent 92%);
  mask-image: linear-gradient(90deg, transparent 8%, #000 28%, #000 72%, transparent 92%);
}

.page-decoration {
  position: absolute;
  z-index: 5;
  top: 0;
  width: clamp(110px, 10.1vw, 150px);
  height: auto;
  pointer-events: none;
}

.page-decoration--left {
  left: 0;
}

.hero__authorisation {
  position: absolute;
  z-index: 3;
  top: clamp(30px, 3vw, 44px);
  left: clamp(104px, 10.4vw, 154px);
  width: auto;
  font-size: clamp(12px, 0.95vw, 14px);
  line-height: 1.18;
}

.hero__authorisation span {
  display: block;
  white-space: nowrap;
}

.hero__header {
  position: absolute;
  z-index: 3;
  top: clamp(30px, 3vw, 44px);
  right: clamp(62px, 7.2vw, 108px);
}

.hero__identity {
  width: clamp(250px, 22vw, 320px);
  height: auto;
}

.hero__content {
  position: absolute;
  z-index: 3;
  bottom: clamp(30px, 3vw, 44px);
  left: clamp(104px, 10.4vw, 154px);
}

.hero h1 {
  margin: 0;
  font-family: "UEFA Euro Oversize", "UEFA Euro", Arial, sans-serif;
  font-size: clamp(50px, 4.55vw, 68px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.8;
  text-transform: uppercase;
  text-shadow: 0 2px 2px rgba(12, 8, 32, 0.22);
}

.lower-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.lower-page__decoration {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: clamp(110px, 10.8vw, 160px);
  height: auto;
  pointer-events: none;
}

.agent-introduction {
  position: relative;
  z-index: 1;
  min-height: 260px;
  padding: 32px 0 36px;
  background: var(--blue);
  color: var(--white);
  text-align: center;
}

.agent-introduction__inner {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.agent-introduction__logo {
  width: 190px;
}

.agent-introduction__logo img {
  width: 100%;
  height: auto;
}

.agent-introduction p {
  max-width: 760px;
  margin: 8px auto 0;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.25;
  text-wrap: balance;
}

.agent-introduction .agent-introduction__lead {
  max-width: 800px;
  margin-top: 28px;
  font-size: clamp(15px, 1.2vw, 17px);
}

.registration {
  position: relative;
  z-index: 1;
  padding: 44px 0 80px;
  background: var(--white);
}

.registration__inner {
  position: relative;
  z-index: 4;
  max-width: 800px;
}

.colour-divider {
  width: 100%;
  height: 8px;
  background: url("./divider.gif") center / 100% 100% no-repeat;
}

.registration h2 {
  margin: 36px 0 34px;
  color: var(--pink);
  font-family: "UEFA Euro Oversize", "UEFA Euro", Arial, sans-serif;
  font-size: clamp(27px, 2.2vw, 34px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.enquiry-form {
  display: flex;
  width: min(100%, 680px);
  margin-inline: auto;
  flex-direction: column;
  gap: 18px;
  padding: 38px;
  border: 2px solid var(--pink);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.97);
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--green);
  border-radius: 7px;
  outline: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 17px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field input {
  height: 50px;
  padding: 0 14px;
  font-weight: 700;
}

.form-field textarea {
  min-height: 170px;
  padding: 14px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #595959;
  opacity: 1;
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: #31a963;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 38, 199, 0.15);
}

.form-field input[aria-invalid="true"] {
  border-color: var(--danger);
}

.form-field input:disabled,
.form-field textarea:disabled {
  background: #f5f5f5;
  opacity: 0.7;
}

.field-error {
  margin-top: 6px;
  color: var(--danger);
  font-size: 14px;
  line-height: 1.2;
}

.field-error:empty {
  display: none;
}

.submit-button {
  display: inline-flex;
  min-width: 160px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: center;
  padding: 13px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--pink);
  color: var(--white);
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 160ms ease, transform 160ms ease;
}

.submit-button:hover:not(:disabled) {
  background: var(--pink-dark);
  transform: translateY(-2px);
}

.submit-button:disabled {
  cursor: default;
  opacity: 0.82;
}

.submit-button--success {
  opacity: 1 !important;
}

.submit-button__tick {
  width: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.submit-button__spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.form-status {
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}

.form-status:empty {
  display: none;
}

.form-status--success,
.form-status--error {
  padding: 14px 16px;
  border-radius: 8px;
}

.form-status--success {
  border: 1px solid var(--green);
  background: var(--success);
  color: #126638;
}

.form-status--error {
  border: 1px solid #e1a1af;
  background: #fff0f4;
  color: var(--danger);
}

.colour-divider--bottom {
  margin-top: 44px;
}

[hidden] {
  display: none !important;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 621px) and (max-width: 1100px) {
  .agent-introduction__inner {
    padding-inline: 120px;
  }
}

@media (max-width: 900px) {
  .hero {
    height: 340px;
    min-height: 340px;
    background-position: 55% bottom;
  }

  .hero__authorisation {
    left: 104px;
  }

  .hero__header {
    right: 44px;
  }

  .hero__identity {
    width: 270px;
  }

  .hero__content {
    left: 104px;
  }

  .lower-page__decoration {
    width: 112px;
  }

  .agent-introduction p {
    max-width: 600px;
  }
}

@media (max-width: 620px) {
  :root {
    --hero-image: url("https://res.cloudinary.com/dhxyxwsgl/image/upload/c_limit,w_1600/f_auto/q_auto:good/v1786111568/Copy_of_hero-image_xqtshi.jpg");
  }

  body {
    font-size: 16px;
  }

  .page-shell {
    width: min(calc(100% - 32px), var(--page-width));
  }

  .hero {
    height: 500px;
    background-position: 62% bottom;
    background-size: auto 100%;
  }

  .hero::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 11, 39, 0.44), transparent 62%);
    content: "";
  }

  .hero::before {
    display: none;
  }

  .page-decoration {
    width: 74px;
  }

  .hero__authorisation {
    top: 22px;
    left: 66px;
    width: 190px;
    font-size: 11px;
  }

  .hero__header {
    top: 142px;
    right: 16px;
  }

  .hero__identity {
    width: min(62vw, 230px);
  }

  .hero__content {
    bottom: 34px;
    left: 22px;
  }

  .hero h1 {
    font-size: clamp(44px, 14vw, 56px);
  }

  .lower-page__decoration {
    width: 58px;
  }

  .agent-introduction {
    min-height: 0;
    padding: 30px 0 38px;
  }

  .agent-introduction__inner {
    padding-inline: 26px;
  }

  .agent-introduction__logo {
    width: 160px;
  }

  .agent-introduction p {
    max-width: 290px;
    font-size: 14px;
  }

  .agent-introduction .agent-introduction__lead {
    max-width: 290px;
    margin-top: 24px;
    font-size: 15px;
  }

  .registration {
    padding: 34px 0 54px;
  }

  .registration__inner {
    width: min(calc(100% - 32px), 800px);
  }

  .colour-divider {
    height: 6px;
  }

  .registration h2 {
    margin: 28px 0 26px;
    font-size: 27px;
  }

  .enquiry-form {
    gap: 16px;
    padding: 20px 16px 24px;
    border-radius: 16px;
  }

  .form-field input,
  .form-field textarea {
    font-size: 17px;
  }

  .form-field textarea {
    min-height: 140px;
  }

  .submit-button {
    width: 100%;
  }

  .colour-divider--bottom {
    margin-top: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.grecaptcha-badge {
  visibility: hidden !important;
}
