.contact {
  background: #fff;
  color: #111;
}

.contact__wrap {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

/* —— Üst blok —— */
.contact-hero {
  padding: 64px 0 28px;
}

.contact-hero__head {
  max-width: 40rem;
  margin: 0 0 36px;
  animation: contactFade 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.contact-hero__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 0 0 22px;
}

.contact-hero__logo {
  width: auto;
  height: 44px;
  max-width: min(220px, 70vw);
  object-fit: contain;
  object-position: left center;
}

.contact-hero__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4.2vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #111;
}

.contact-hero__lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: #777;
  font-weight: 400;
}

.contact-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  animation: contactFade 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
}

.contact-card {
  background: #f6f6f6;
  border-radius: 18px;
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100%;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e8e8e8;
  color: #222;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.contact-pill:hover {
  border-color: #d0d0d0;
  transform: translateY(-1px);
}

.contact-ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}

.contact-ico--lg {
  width: 22px;
  height: 22px;
}

.contact-card__list {
  margin-top: 8px;
}

.contact-card__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid #e6e6e6;
}

.contact-card__item:first-child {
  border-top: 0;
  padding-top: 16px;
}

.contact-card__badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.contact-card__badge svg {
  display: block;
}

.contact-card__badge--wa {
  background: #ffe8d6;
  color: #25d366;
}

.contact-card__badge--mail {
  background: #f5e6ec;
  color: #c45c7a;
}

.contact-card__badge--phone {
  background: #eef2f7;
  color: #3d5a80;
}

.contact-card__badge--pin {
  background: #f3efe8;
  color: #8a6a45;
}

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

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e8e8e8;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-social:hover {
  border-color: #d0d0d0;
  transform: translateY(-1px);
}

.contact-card__item-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #111;
}

.contact-card__item-main {
  margin: 2px 0 0;
  font-size: 15px;
  font-weight: 500;
  color: #222;
}

.contact-card__item-main a {
  color: inherit;
  text-decoration: none;
}

.contact-card__item-main a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-card__item-sub {
  margin: 2px 0 0;
  font-size: 13px;
  color: #888;
}

.contact-card__hours-title {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

.contact-hours {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.contact-hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14.5px;
  color: #333;
}

.contact-hours span:last-child {
  font-weight: 500;
  color: #222;
  white-space: nowrap;
}

.contact-card__note {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.5;
  color: #888;
}

.contact-card__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e8e8e8;
  color: #222;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.contact-action:hover {
  border-color: #d0d0d0;
  transform: translateY(-1px);
}

.contact-action .contact-ico {
  width: 18px;
  height: 18px;
  color: #222;
}

.contact-action .contact-ico--wa {
  width: 20px;
  height: 20px;
  color: #25d366;
}

.contact-card__story {
  margin: auto 0 0;
  padding-top: 4px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #666;
}

.contact-card__story strong {
  color: #111;
  font-weight: 600;
}

/* —— Form —— */
.contact-form-block {
  padding: 56px 0 96px;
  animation: contactFade 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.contact-form-block__head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 40px;
}

.contact-form-block__title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111;
}

.contact-form-block__lead {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: #777;
}

.contact-form {
  max-width: 820px;
  margin: 0 auto;
}

.contact-form__alert {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.contact-form__alert--ok {
  background: #f1f7f1;
  color: #2d4a32;
  border: 1px solid #d5e4d6;
}

.contact-form__alert--err {
  background: #faf3f1;
  color: #6b3830;
  border: 1px solid #ecdad4;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-form__field label {
  font-size: 14px;
  font-weight: 600;
  color: #222;
}

.contact-form__req {
  color: #e11d48;
  font-weight: 600;
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
  border-radius: 0;
  background: transparent;
  color: #111;
  font-family: inherit;
  font-size: 15px;
  padding: 8px 0 12px;
  outline: none;
  transition: border-color 0.2s ease;
}

.contact-form__field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.55;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-bottom-color: #111;
}

.contact-form__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 4px;
  transition: border-color 0.2s ease;
}

.contact-form__phone:focus-within {
  border-bottom-color: #111;
}

.contact-form__cc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  user-select: none;
}

.contact-form__flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.contact-form__phone input {
  border: 0;
  padding: 8px 0 8px;
  flex: 1;
  min-width: 0;
}

.contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 28px 0 22px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #555;
}

.contact-form__consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #111;
}

.contact-form__consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form__consent a:hover {
  color: #111;
}

.contact-form__submit {
  display: block;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 4px;
  background: #111;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-form__submit:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
}

@keyframes contactFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .contact-hero {
    padding: 44px 0 16px;
  }

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

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

  .contact-form-block {
    padding: 40px 0 72px;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
