/* AGT Kontakt v1.0 */

.agt-contact-shell {
  --agt-ink: #182433;
  --agt-muted: #677382;
  --agt-line: #dbe0e3;
  --agt-paper: #f6f5f1;
  --agt-white: #ffffff;
  --agt-accent: #d97834;
  --agt-accent-dark: #bd6125;

  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding: 76px 0 90px;
  color: var(--agt-ink);
  font-family: inherit;
}

.agt-contact-shell * {
  box-sizing: border-box;
}

.agt-contact-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.agt-contact-eyebrow {
  margin: 0;
  color: var(--agt-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.agt-contact-head h1 {
  margin: 9px 0 0;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 800;
}

.agt-contact-lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--agt-muted);
  font-size: 18px;
  line-height: 1.55;
}

.agt-contact-message {
  display: grid;
  gap: 4px;
  margin: 0 0 28px;
  padding: 18px 20px;
  border: 1px solid var(--agt-line);
  border-left: 4px solid var(--agt-accent);
  background: var(--agt-paper);
}

.agt-contact-message strong {
  font-size: 16px;
}

.agt-contact-message span {
  color: var(--agt-muted);
  line-height: 1.45;
}

.agt-contact-error {
  border-left-color: #b13b32;
}

.agt-contact-form {
  background: var(--agt-white);
  border-top: 1px solid var(--agt-line);
  padding-top: 32px;
}

.agt-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
}

.agt-field {
  min-width: 0;
}

.agt-field-full {
  grid-column: 1 / -1;
}

.agt-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--agt-ink);
  font-size: 14px;
  font-weight: 750;
}

.agt-field label span,
.agt-consent b {
  color: var(--agt-accent-dark);
}

.agt-field label small {
  color: var(--agt-muted);
  font-size: 12px;
  font-weight: 500;
}

.agt-field input[type="text"],
.agt-field input[type="tel"],
.agt-field input[type="email"],
.agt-field input[type="file"],
.agt-field select,
.agt-field textarea {
  width: 100%;
  border: 1px solid #cbd2d8;
  border-radius: 4px;
  background: #fff;
  color: var(--agt-ink);
  font: inherit;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.agt-field input[type="text"],
.agt-field input[type="tel"],
.agt-field input[type="email"],
.agt-field select {
  min-height: 52px;
  padding: 0 14px;
}

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

.agt-field input[type="file"] {
  padding: 12px 14px;
}

.agt-field input:focus,
.agt-field select:focus,
.agt-field textarea:focus {
  border-color: var(--agt-accent);
  box-shadow: 0 0 0 3px rgba(217,120,52,.12);
}

.agt-field-help {
  margin: 7px 0 0;
  color: var(--agt-muted);
  font-size: 12px;
  line-height: 1.4;
}

.agt-consent {
  padding-top: 2px;
}

.agt-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.agt-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--agt-accent-dark);
}

.agt-consent span {
  color: var(--agt-muted);
  font-size: 13px;
  line-height: 1.5;
}

.agt-form-submit {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--agt-line);
}

.agt-form-submit p {
  margin: 0;
  color: var(--agt-muted);
  font-size: 12px;
}

.agt-contact-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 13px 0 22px;
  border: 0;
  border-radius: 4px;
  background: var(--agt-ink);
  color: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 9px 20px rgba(24,36,51,.12);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.agt-contact-button:hover {
  background: #27384b;
  transform: translateY(-2px);
  box-shadow: 0 13px 24px rgba(24,36,51,.17);
}

.agt-contact-button b {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255,255,255,.54);
  border-radius: 50%;
  color: #f1a06a;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.agt-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 760px) {
  .agt-contact-shell {
    width: min(100% - 32px, 620px);
    padding: 54px 0 68px;
  }

  .agt-form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .agt-field-full {
    grid-column: auto;
  }

  .agt-contact-head h1 {
    font-size: 44px;
  }
}

@media (max-width: 420px) {
  .agt-contact-head h1 {
    font-size: 38px;
  }

  .agt-contact-button {
    width: 100%;
    justify-content: space-between;
  }
}


.agt-redirect-note {
  margin-top: 4px;
  font-size: 13px;
}

.agt-return-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--agt-ink);
  color: #fff !important;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none !important;
  transition: background .18s ease, transform .18s ease;
}

.agt-return-home:hover {
  background: #27384b;
  transform: translateY(-1px);
  color: #fff !important;
}

.agt-return-home b {
  color: #f1a06a;
  font-size: 16px;
  line-height: 1;
}
