/* ─── Contact page — orange + blue full background ─── */

body.page-contact-body {
  background: linear-gradient(160deg, #eef3ff 0%, #f8fafc 45%, #fff4eb 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

.page-contact-main {
  position: relative;
  padding-top: 84px;
  padding-bottom: 0;
  min-height: 100vh;
  overflow: hidden;
  background: transparent;
}

.contact-page {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 4px 4.5vw 120px;
}

/* ───────── Background décor ───────── */
.contact-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.contact-bg-soft {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.contact-bg-soft--blue {
  top: -15%;
  left: -10%;
  width: min(70vw, 680px);
  height: min(50vw, 480px);
  background: rgba(59, 111, 255, 0.28);
}

.contact-bg-soft--orange {
  top: -10%;
  right: -12%;
  width: min(65vw, 620px);
  height: min(48vw, 460px);
  background: rgba(254, 115, 20, 0.26);
}

.contact-bg-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: clamp(120px, 18vw, 190px);
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.3;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.85) 10%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.85) 10%, transparent 100%);
}

/* ───────── Hero ───────── */
.contact-hero {
  text-align: center;
  margin: 0 auto 28px;
  max-width: 720px;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 16px 7px;
  border-radius: 999px;
  border: 1.5px solid rgba(254, 115, 20, 0.35);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 22px rgba(254, 115, 20, 0.08);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--orange);
}

.contact-badge-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  transform: translateY(-2px);
}

.contact-badge-3d {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(30, 42, 68, 0.18));
}

.contact-hero-title {
  font-family: "Outfit", var(--font-body), system-ui, sans-serif;
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #1e2a44;
  margin: 0 0 6px;
  text-transform: none;
  animation: none;
}

.contact-hero-accent {
  color: var(--orange);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.contact-hero-lead {
  margin: 0 auto;
  max-width: 560px;
  font-family: "Outfit", var(--font-body), system-ui, sans-serif;
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  line-height: 1.55;
  color: #6b7280;
}

/* ───────── Layout ───────── */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

.contact-right {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 46%);
  gap: 8px;
  align-items: stretch;
  min-height: 0;
  max-height: 100%;
}

/* ───────── Form card ───────── */
.contact-panel--form {
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(30, 42, 68, 0.06);
  box-shadow: 0 18px 48px rgba(30, 42, 68, 0.08);
  padding: 28px 28px 26px;
}

.contact-form-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-form-avatar {
  width: 52px;
  height: 52px;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  flex-shrink: 0;
}

.contact-form-avatar-3d {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(254, 115, 20, 0.28));
}

.contact-form-title {
  font-family: "Outfit", var(--font-body), system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e2a44;
  margin: 0 0 4px;
  text-transform: none;
  letter-spacing: -0.02em;
}

.contact-form-lead {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.9rem;
  color: #8b93a7;
}

.contact-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact-label {
  font-family: "Outfit", var(--font-body), system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  color: #374151;
}

.contact-input-wrap {
  position: relative;
  display: block;
}

.contact-field-ico {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #a0a8b8;
  pointer-events: none;
  z-index: 1;
}

.contact-input-wrap--area .contact-field-ico {
  top: 16px;
  transform: none;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 13px 14px 13px 42px;
  font-size: 0.94rem;
  font-family: inherit;
  border: 1.5px solid #e6ebf2;
  border-radius: 14px;
  background: #f7f8fb;
  color: #1e2a44;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #a0a8b8;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(254, 115, 20, 0.14);
  background: #fff;
}

.contact-field textarea {
  resize: vertical;
  min-height: 72px;
  height: 72px;
  line-height: 1.5;
  padding-bottom: 28px;
}

.contact-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: #f7f8fb;
  padding-right: 40px;
}

.contact-char-count {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 0.75rem;
  color: #a0a8b8;
  pointer-events: none;
}

.contact-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
  padding: 15px 44px;
  font-family: "Outfit", var(--font-body), system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #fe7314 0%, #ff8a2b 100%);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(254, 115, 20, 0.35);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(254, 115, 20, 0.42);
  filter: brightness(1.03);
}

.contact-submit:disabled,
.contact-submit.is-loading {
  opacity: 0.75;
  cursor: wait;
  transform: none;
}

.contact-form-status {
  margin: 4px 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.contact-form-status--pending {
  color: #3b6fff;
}

.contact-form-status--ok {
  color: #059669;
}

.contact-form-status--err {
  color: #dc2626;
}

.contact-submit-plane {
  flex-shrink: 0;
}

.contact-submit-arrow {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.9;
  font-size: 1.1rem;
  margin: 0;
}

/* ───────── Side cards ───────── */
.contact-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  z-index: 2;
  min-height: 0;
  overflow: hidden;
}

.contact-mini-card {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(30, 42, 68, 0.06);
  box-shadow: 0 8px 22px rgba(30, 42, 68, 0.05);
  flex: 0 0 auto;
}

.contact-mini-card--wa,
.contact-mini-card--faq {
  align-items: flex-start;
}

.contact-ico {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 0;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: none;
}

.contact-ico img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(30, 42, 68, 0.16));
}


.contact-mini-title {
  font-family: "Outfit", var(--font-body), system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e2a44;
  margin: 0 0 3px;
}

.contact-mini-value {
  margin: 0;
  font-size: 0.88rem;
  color: #6b7280;
}

.contact-mini-link {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.contact-mini-link:hover {
  text-decoration: underline;
}

.contact-mini-muted {
  margin: 0 0 6px;
  font-size: 0.8rem;
  color: #8b93a7;
}

.contact-faq-text {
  margin: 0 0 6px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #8b93a7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid currentColor;
  transition: background 0.2s, color 0.2s;
}

.contact-pill--wa {
  color: #128c7e;
  border-color: rgba(37, 211, 102, 0.55);
}

.contact-pill--wa:hover {
  background: rgba(37, 211, 102, 0.1);
}

.contact-pill--faq {
  color: #7c3aed;
  border-color: rgba(124, 58, 237, 0.4);
}

.contact-pill--faq:hover {
  background: rgba(124, 58, 237, 0.08);
}

/* ───────── Agent visual ───────── */
.contact-agent {
  position: relative;
  margin: 0;
  align-self: end;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 420px;
}

.contact-agent-glow {
  position: absolute;
  width: 92%;
  aspect-ratio: 1;
  bottom: 8%;
  left: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 115, 20, 0.45) 0%, rgba(254, 115, 20, 0.12) 48%, transparent 70%);
  z-index: 0;
}

.contact-agent-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 18px 30px rgba(30, 42, 68, 0.18));
  border-radius: 18px;
  mix-blend-mode: multiply;
}

.contact-agent-bubble {
  position: absolute;
  top: 2%;
  left: 42%;
  transform: none;
  z-index: 2;
  max-width: 168px;
  padding: 11px 14px 13px;
  border-radius: 18px;
  background: linear-gradient(160deg, #ffffff 0%, #fff7f0 100%);
  border: 1.5px solid rgba(254, 115, 20, 0.28);
  box-shadow:
    0 12px 28px rgba(254, 115, 20, 0.14),
    0 4px 12px rgba(30, 42, 68, 0.08);
  font-family: "Inter", "Outfit", var(--font-body), system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  text-align: center;
  color: #1e2a44;
}

.contact-agent-bubble::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: #fff7f0;
  border-right: 1.5px solid rgba(254, 115, 20, 0.28);
  border-bottom: 1.5px solid rgba(254, 115, 20, 0.28);
  transform: rotate(45deg);
  border-radius: 2px;
}

/* ───────── Responsive ───────── */
@media (max-width: 1100px) {
  .contact-right {
    grid-template-columns: 1fr minmax(140px, 38%);
  }

  .contact-agent-img {
    max-width: 220px;
  }
}

@media (max-width: 920px) {
  .contact-layout {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }

  .contact-right {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .contact-agent {
    order: -1;
    min-height: 0;
    max-width: 280px;
    margin: 0 auto 8px;
  }

  .contact-agent-img {
    max-width: 240px;
  }

  .contact-agent-bubble {
    left: 0;
    right: auto;
    top: 4%;
    transform: none;
    max-width: 148px;
    width: max-content;
    white-space: normal;
    text-align: left;
    padding: 10px 12px 12px;
    line-height: 1.3;
  }

  .contact-agent-bubble::after {
    left: 18px;
    right: auto;
  }

  .contact-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .contact-mini-card--faq {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .page-contact-main {
    padding-top: 76px;
  }

  .contact-page {
    padding-bottom: 100px;
  }

  .contact-agent-bubble {
    left: 0;
    max-width: 138px;
    font-size: 0.74rem;
  }

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

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

  .contact-panel--form {
    padding: 22px 18px 20px;
  }

  .contact-submit-arrow {
    display: none;
  }

  .contact-bg-skyline {
    height: 90px;
    opacity: 0.4;
  }
}

body.rtl .contact-field-ico {
  left: auto;
  right: 14px;
}

body.rtl .contact-field input,
body.rtl .contact-field select,
body.rtl .contact-field textarea {
  padding-left: 14px;
  padding-right: 42px;
}

body.rtl .contact-field select {
  background-position: left 14px center;
}

body.rtl .contact-char-count {
  right: auto;
  left: 12px;
}

body.rtl .contact-submit-arrow {
  right: auto;
  left: 22px;
}
