/* =========================================================
   KONTAKT PAGE
========================================================= */

.contact-hero .hero-content {
  max-width: 980px;
}

.contact-hero .lead {
  max-width: 760px;
}

.contact-hero-actions {
  margin-top: 32px;
}

.contact-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.contact-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .065);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
  backdrop-filter: blur(14px);
}

.contact-hero-points span::before {
  content: "✓";
  color: var(--accent2);
  font-weight: 900;
}


/* =========================================================
   QUICK CONTACT STRIP
========================================================= */

.contact-quick-section {
  position: relative;
  z-index: 3;
  margin-top: -42px;
}

.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.quick-contact-card {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  background: rgba(20, 23, 28, .88);
  backdrop-filter: blur(20px);
  transition: .25s ease;
}

a.quick-contact-card:hover {
  background: rgba(255, 255, 255, .075);
}

.quick-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(217, 122, 18, .28), rgba(255, 179, 71, .16));
  border: 1px solid rgba(255, 179, 71, .28);
  color: var(--accent2);
  font-size: 1.2rem;
}

.quick-contact-card small {
  display: block;
  margin-bottom: 5px;
  color: var(--muted2);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
}

.quick-contact-card strong {
  display: block;
  color: var(--text);
  font-size: .98rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}


/* =========================================================
   CONTACT MAIN LAYOUT
========================================================= */

.contact-main-section {
  padding-top: 96px;
}

.contact-layout {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 24px;
  align-items: start;
}

.contact-card,
.form-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .045));
  border: 1px solid var(--line);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px);
}

.contact-card::before,
.form-card::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -130px;
  top: -130px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 179, 71, .14), transparent 68%);
  pointer-events: none;
}

.contact-card > *,
.form-card > * {
  position: relative;
  z-index: 1;
}

.contact-card h2,
.form-card h2 {
  margin-bottom: 16px;
}

.contact-card p,
.form-card p {
  max-width: 680px;
}


/* =========================================================
   CONTACT LIST
========================================================= */

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.contact-list a,
.contact-list span {
  display: grid;
  gap: 6px;
  padding: 17px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid var(--line);
  color: var(--text);
  transition: .25s ease;
}

.contact-list a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .085);
  border-color: rgba(255, 179, 71, .28);
}

.contact-list small {
  color: var(--muted2);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
}

.contact-list strong {
  font-size: 1.02rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.contact-note {
  margin-top: 24px;
  padding: 22px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(217, 122, 18, .16), rgba(255, 255, 255, .045));
  border: 1px solid rgba(255, 179, 71, .22);
}

.contact-note h3 {
  margin-bottom: 10px;
}


/* =========================================================
   FORM
========================================================= */

.form-head {
  margin-bottom: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

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

.field label {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(15, 17, 20, .82);
  color: var(--text);
  padding: 15px 16px;
  font: inherit;
  outline: none;
  transition: .22s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(169, 173, 181, .62);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(255, 179, 71, .55);
  box-shadow: 0 0 0 4px rgba(255, 179, 71, .1);
  background: rgba(15, 17, 20, .94);
}

.field textarea {
  min-height: 165px;
  resize: vertical;
}

.field select {
  cursor: pointer;
}

.form-hint {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line);
}

.form-hint p {
  font-size: .92rem;
}


/* =========================================================
   PREPARATION GRID
========================================================= */

.contact-prep-section {
  position: relative;
}

.prep-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.prep-card,
.after-step {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid var(--line);
  transition: .25s ease;
}

.prep-card:hover,
.after-step:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 179, 71, .22);
}

.prep-card::after,
.after-step::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -70px;
  top: -70px;
  border-radius: 999px;
  background: rgba(255, 179, 71, .12);
  pointer-events: none;
}

.prep-card .num,
.after-step .num {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--accent2);
  font-weight: 900;
  letter-spacing: .08em;
}

.prep-card h3,
.after-step h3 {
  margin-bottom: 12px;
}

.prep-card p,
.after-step p {
  font-size: .95rem;
}


/* =========================================================
   AFTER GRID
========================================================= */

.after-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}


/* =========================================================
   FINAL CTA
========================================================= */

.contact-final-cta {
  align-items: flex-end;
}

.contact-final-cta h2 {
  max-width: 760px;
  margin-bottom: 16px;
}

.contact-final-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1180px) {
  .contact-quick-grid,
  .prep-grid,
  .after-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: .95fr 1.05fr;
  }
}


@media (max-width: 980px) {
  .contact-quick-section {
    margin-top: -34px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .form-card {
    padding: 30px;
  }

  .contact-main-section {
    padding-top: 78px;
  }

  .contact-final-cta {
    display: block;
  }

  .contact-final-actions {
    justify-content: flex-start;
    margin-top: 24px;
  }
}


@media (max-width: 720px) {
  .contact-quick-grid,
  .prep-grid,
  .after-grid {
    grid-template-columns: 1fr;
  }

  .quick-contact-card {
    padding: 18px;
  }

  .contact-hero-points {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-hero-points span {
    width: 100%;
  }
}


@media (max-width: 620px) {
  .contact-quick-section {
    margin-top: -28px;
  }

  .contact-quick-grid {
    border-radius: 24px;
  }

  .quick-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .contact-main-section {
    padding-top: 64px;
  }

  .contact-card,
  .form-card {
    padding: 24px;
    border-radius: 24px;
  }

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

  .contact-list a,
  .contact-list span {
    padding: 15px;
    border-radius: 16px;
  }

  .contact-note {
    padding: 18px;
    border-radius: 18px;
  }

  .prep-card,
  .after-step {
    padding: 20px;
    border-radius: 20px;
  }

  .prep-card .num,
  .after-step .num {
    margin-bottom: 20px;
  }

  .field input,
  .field select,
  .field textarea {
    padding: 14px;
    border-radius: 15px;
  }

  .field textarea {
    min-height: 145px;
  }

  .contact-final-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-final-actions .btn {
    width: 100%;
  }
}


@media (max-width: 420px) {
  .contact-card,
  .form-card {
    padding: 20px;
  }

  .quick-contact-card {
    gap: 13px;
    padding: 16px;
  }

  .quick-contact-card strong {
    font-size: .94rem;
  }

  .contact-list strong {
    font-size: .96rem;
  }

  .form-head {
    margin-bottom: 22px;
  }

  .prep-card,
  .after-step {
    padding: 18px;
  }
}

/* =========================================================
   CONTACT STATUS MESSAGE
========================================================= */

.contact-status-section {
  position: relative;
  z-index: 4;
  margin-top: 34px;
}

.contact-status-section[hidden] {
  display: none;
}

.contact-status-box {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .045));
  box-shadow: 0 22px 70px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px);
}

.contact-status-box::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -130px;
  top: -130px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 179, 71, .16), transparent 68%);
  pointer-events: none;
}

.contact-status-box > * {
  position: relative;
  z-index: 1;
}

.contact-status-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  background: linear-gradient(135deg, rgba(217, 122, 18, .32), rgba(255, 179, 71, .18));
  border: 1px solid rgba(255, 179, 71, .3);
}

.contact-status-content h2 {
  margin: 6px 0 8px;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.contact-status-content p {
  max-width: 760px;
  color: var(--muted);
}

.contact-status-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: .25s ease;
}

.contact-status-close:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 179, 71, .28);
  transform: rotate(90deg);
}

.contact-status-box.is-success {
  border-color: rgba(255, 179, 71, .28);
}

.contact-status-box.is-error {
  border-color: rgba(255, 90, 90, .32);
}

.contact-status-box.is-error::after {
  background: radial-gradient(circle, rgba(255, 90, 90, .16), transparent 68%);
}

.contact-status-box.is-error .contact-status-icon {
  background: linear-gradient(135deg, rgba(255, 90, 90, .26), rgba(255, 255, 255, .08));
  border-color: rgba(255, 90, 90, .28);
}

@media (max-width: 720px) {
  .contact-status-box {
    grid-template-columns: auto 1fr;
    padding: 22px;
  }

  .contact-status-close {
    position: absolute;
    right: 18px;
    top: 18px;
  }

  .contact-status-content {
    padding-right: 46px;
  }
}

@media (max-width: 520px) {
  .contact-status-box {
    grid-template-columns: 1fr;
    gap: 16px;
    border-radius: 24px;
  }

  .contact-status-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
  }

  .contact-status-content {
    padding-right: 0;
  }
}

/* =========================================================
   FORM CONSENT
========================================================= */

.form-consent{
  grid-column:1 / -1;
  width:100%;
  margin-top:20px;
}

.consent-check{
  position:relative;
  display:flex;
  align-items:flex-start;
  gap:14px;
  width:100%;
}

.consent-check input{
  position:absolute;
  opacity:0;
}

.checkmark{
  position:relative;
  flex:0 0 22px;
  width:22px;
  height:22px;
  margin-top:2px;
  border-radius:7px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  transition:.22s ease;
}

.checkmark::after{
  content:"";
  position:absolute;
  left:7px;
  top:3px;
  width:5px;
  height:10px;
  border:solid var(--text);
  border-width:0 2px 2px 0;
  transform:rotate(45deg) scale(.7);
  opacity:0;
  transition:.2s ease;
}

.consent-check input:checked + .checkmark{
  background:
    linear-gradient(
      135deg,
      rgba(217,122,18,.32),
      rgba(255,179,71,.18)
    );

  border-color:rgba(255,179,71,.42);
}

.consent-check input:checked + .checkmark::after{
  opacity:1;
  transform:rotate(45deg) scale(1);
}

.consent-text{
  flex:1;
  display:block;
  width:100%;
  max-width:none;
  color:var(--muted);
  font-size:.92rem;
  line-height:1.7;
  white-space:normal;
}

.consent-text a{
  color:var(--accent2);
  font-weight:600;
}

.consent-text a:hover{
  text-decoration:underline;
}


/* =========================================================
   FILE UPLOAD / ATTACHMENTS
========================================================= */

.upload-field {
  position: relative;
}

.upload-drop {
  position: relative;
  overflow: hidden;
  min-height: 156px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
  border: 1px dashed rgba(255, 179, 71, .34);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 179, 71, .14), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .035));
  cursor: pointer;
  transition:
    border-color .25s ease,
    background .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.upload-drop::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 46%);
  pointer-events: none;
}

.upload-drop:hover,
.upload-drop.is-dragover {
  border-color: rgba(255, 179, 71, .68);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 179, 71, .2), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .095), rgba(255, 255, 255, .05));
  box-shadow: 0 18px 55px rgba(0, 0, 0, .22);
  transform: translateY(-2px);
}

.upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-drop__icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  color: var(--accent2);
  background:
    linear-gradient(135deg, rgba(217, 122, 18, .28), rgba(255, 179, 71, .14));
  border: 1px solid rgba(255, 179, 71, .28);
}

.upload-drop__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  min-width: 0;
}

.upload-drop__content strong {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.25;
}

.upload-drop__content small {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}

.upload-drop__button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--text);
  font-size: .9rem;
  font-weight: 800;
  white-space: nowrap;
  background:
    linear-gradient(135deg, rgba(217, 122, 18, .92), rgba(255, 179, 71, .88));
  box-shadow: 0 12px 30px rgba(217, 122, 18, .22);
}

.upload-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: var(--muted2);
  font-size: .82rem;
  line-height: 1.45;
}

.upload-error {
  display: none;
  margin-top: 12px;
  padding: 13px 15px;
  border-radius: 16px;
  color: #ffd2d2;
  font-size: .9rem;
  line-height: 1.55;
  background: rgba(255, 90, 90, .11);
  border: 1px solid rgba(255, 90, 90, .26);
}

.upload-error.is-visible {
  display: block;
}

.upload-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.upload-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  min-width: 0;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .035));
  box-shadow: 0 16px 42px rgba(0, 0, 0, .18);
}

.upload-card.is-image {
  background: rgba(0, 0, 0, .22);
}

.upload-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



.upload-card__file {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 22px;
  text-align: center;
}

.upload-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 54px;
  padding: 0 14px;
  border-radius: 18px;
  color: var(--accent2);
  font-size: .98rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  background:
    linear-gradient(135deg, rgba(217, 122, 18, .24), rgba(255, 179, 71, .12));
  border: 1px solid rgba(255, 179, 71, .25);
}

.upload-card__name {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 10px 12px;
  border-radius: 15px;
  color: var(--text);
  font-size: .82rem;
  line-height: 1.25;
  background: rgba(10, 11, 13, .78);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upload-card__size {
  display: block;
  margin-top: 4px;
  color: var(--muted2);
  font-size: .74rem;
}

.upload-card__remove {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 4;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(10, 11, 13, .78);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition:
    transform .2s ease,
    background .2s ease,
    border-color .2s ease;
}

.upload-card__remove:hover {
  transform: rotate(90deg) scale(1.04);
  background: rgba(255, 90, 90, .76);
  border-color: rgba(255, 90, 90, .4);
}

@media (max-width: 720px) {
  .upload-drop {
    grid-template-columns: auto 1fr;
  }

  .upload-drop__button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .upload-meta {
    display: grid;
  }
}

@media (max-width: 420px) {
  .upload-preview {
    gap: 10px;
  }

  .upload-card {
    border-radius: 18px;
  }

  .upload-card__name {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 9px 10px;
    border-radius: 13px;
    font-size: .76rem;
  }

  .upload-card__remove {
    right: 8px;
    top: 8px;
    width: 31px;
    height: 31px;
  }
}