:root {
  color-scheme: light;
  --primary: #0033a0;
  --primary-dark: #002475;
  --accent: #5bc2e7;
  --neutral: #d9d9d6;
  --input-background: #e3e3e1;
  --text: #111111;
  --error: #b42318;
  --success-background: #eef8fc;
  font-family: system-ui, -apple-system, "Segoe UI", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  overflow-x: clip;
}

body {
  color: var(--text);
  background: #fff;
}

button,
input,
select { font: inherit; }

.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;
}

.landing-page { width: 100%; }

.landing-main {
  display: grid;
  grid-template-columns: minmax(0, 58.3fr) minmax(470px, 41.7fr);
  width: min(1270px, calc(100% - 32px));
  min-height: 680px;
  margin: 10px auto 0;
  overflow: hidden;
  border: 1px solid var(--neutral);
}

.photo-panel {
  min-width: 0;
  min-height: 100%;
  background-color: var(--neutral);
  background-image: url("../assets/images/figas-hero.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.form-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: #fff;
}

.brand-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 16px 24px;
  border-bottom: 1px solid #ededed;
}

.brand-logo {
  display: block;
  width: min(194px, calc(100% - 48px));
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.form-content {
  width: 100%;
  padding: 24px 38px 30px;
}

.form-content h1 {
  max-width: 510px;
  margin: 0 auto 24px;
  color: var(--primary);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.18;
  text-align: center;
}

form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 9px;
}

.field { min-width: 0; }

.field--full,
.form-actions { grid-column: 1 / -1; }

.input-shell {
  display: flex;
  min-width: 0;
  min-height: 42px;
  overflow: hidden;
  background: var(--input-background);
  border: 1px solid transparent;
  border-radius: 2px;
}

.field-icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  min-height: 42px;
  background: var(--primary);
}

.field-icon img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.field-icon img[src$="/assets/icons/company.png"] {
  width: 36px;
  height: 36px;
}

.input-shell input,
.input-shell select {
  width: 100%;
  min-width: 0;
  padding: 0 12px;
  color: #111;
  background: var(--input-background);
  border: 0;
  outline: none;
}

.input-shell select {
  padding-right: 36px;
  cursor: pointer;
}

.input-shell input::placeholder { color: #252525; opacity: 1; }

.input-shell:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgb(0 51 160 / 18%);
}

.field.has-error .input-shell { border-color: var(--error); }

.field-error {
  min-height: 0.88rem;
  margin: 3px 0 0;
  color: var(--error);
  font-size: 0.72rem;
  line-height: 1.15;
}

.field-error:empty { visibility: hidden; }

@media (min-width: 901px) {
  .form-content {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .field-error:empty {
    min-height: 0;
    margin-top: 0;
  }
}

.consent-field { margin-top: 1px; }

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #252525;
  font-size: 0.72rem;
  line-height: 1.35;
  cursor: pointer;
}

.consent-label input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--primary);
}

.consent-label a { color: var(--primary); }
.consent-field.has-error .consent-label { color: var(--error); }

.form-actions {
  display: grid;
  gap: 6px;
  margin-top: 3px;
}

button {
  width: 100%;
  min-height: 42px;
  padding: 8px 20px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  background: var(--primary);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}

button:hover { background: var(--primary-dark); }

button:focus-visible {
  outline: 3px solid rgb(91 194 231 / 65%);
  outline-offset: 3px;
}

button:disabled { cursor: wait; opacity: 0.68; }

.form-status {
  min-height: 1.05rem;
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

.form-status[data-state="error"] { color: var(--error); }

.confirmation-copy {
  margin-top: 10px;
  padding: 12px 15px;
  color: var(--primary-dark);
  background: var(--success-background);
  border-left: 4px solid var(--accent);
}

.confirmation-copy p { margin: 0 0 4px; font-size: 0.84rem; }
.confirmation-copy p:last-child { margin-bottom: 0; }
.confirmation-copy[hidden] { display: none; }

.landing-footer {
  display: grid;
  grid-template-columns: minmax(0, 58.3fr) minmax(470px, 41.7fr);
  align-items: center;
  width: min(1320px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  overflow: hidden;
}

.logo-carousel {
  width: calc(100% - 32px);
  min-width: 0;
  margin-inline: 16px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  animation: logo-scroll 24s linear infinite;
}

.logo-group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 34px;
  min-width: 680px;
  padding-inline: 17px;
}

.logo-group img {
  display: block;
  flex: 0 0 auto;
  width: auto;
  max-width: 150px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
  object-position: center;
}

.logo-group .logo--gilbarco { width: 129px; max-height: 38px; }
.logo-group .logo--parker { width: 98px; max-height: 36px; }
.logo-group .logo--elaflex { width: 107px; max-height: 30px; }
.logo-group .logo--cimtek { width: 99px; max-height: 36px; }
.logo-group .logo--manntek { width: 150px; max-height: 42px; }

.legal-copy {
  align-self: start;
  margin: 0;
  padding: 14px 32px 0 20px;
  color: #0072ce;
  font-size: 0.75rem;
  text-align: right;
  white-space: nowrap;
}

@keyframes logo-scroll {
  to { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .landing-main {
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 0;
    border-right: 0;
    border-left: 0;
  }

  .photo-panel {
    min-height: clamp(300px, 58vw, 500px);
    background-position: center center;
  }

  .form-panel {
    width: min(660px, 100%);
    margin: 0 auto;
  }

  .landing-footer {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 12px;
    padding: 14px 0 20px;
  }

  .logo-carousel {
    width: calc(100% - 32px);
    margin-inline: 16px;
  }

  .legal-copy { padding: 0; text-align: center; }
}

@media (max-width: 580px) {
  .brand-header { min-height: 98px; }
  .brand-logo { width: min(174px, calc(100% - 40px)); }

  .form-content { padding: 22px 18px 28px; }
  .form-content h1 { margin-bottom: 21px; font-size: 1rem; }

  form { grid-template-columns: 1fr; gap: 8px; }
  .field,
  .field--full,
  .form-actions { grid-column: 1; }

  .logo-group {
    gap: 26px;
    min-width: 590px;
    padding-inline: 20px;
  }

  .logo-group img { max-width: 125px; max-height: 36px; }
  .logo-group .logo--gilbarco { width: 112px; }
  .logo-group .logo--parker { width: 85px; }
  .logo-group .logo--elaflex { width: 94px; }
  .logo-group .logo--cimtek { width: 88px; }
  .logo-group .logo--manntek { width: 128px; }

  .legal-copy { font-size: 0.7rem; }
}

@media (max-width: 390px) {
  .photo-panel { min-height: 288px; }
  .form-content { padding-right: 14px; padding-left: 14px; }
  .field-icon { flex-basis: 44px; width: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; transform: none; }
}





