

/* ══ SECTION ════════════════════════════════ */
.block-aicontact {
  position: relative;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
--glow-intensity: 1;
}

/* Ambient orb — top right */
.block-aicontact::before {
  content: '';
  position: absolute;
  width: 1000px;
  height: 1000px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 220, 255, 0.95) 0%, rgba(120, 200, 255, 0.7) 20%, rgba(120, 200, 255, 0.4) 40%, rgba(120, 200, 255, 0.2) 60%, transparent 80%);
  top: -320px;
  right: -280px;
  pointer-events: none;
  z-index: 0;

  filter: blur(80px); /* ⬅️ เพิ่ม bloom softness */
}

/* Ambient orb — bottom left */
.block-aicontact::after {
  content: '';
  position: absolute;
  width: 850px;
  height: 850px;
  border-radius: 50%;
  background: radial-gradient(ellipse 45% 60% at 50% 50%, rgba(192, 109, 234, 0.55) 0%, rgba(192, 109, 234, 0.3) 30%, rgba(192, 109, 234, 0.12) 50%, transparent 70%), radial-gradient(ellipse 30% 40% at 30% 40%, rgba(192, 109, 234, 0.15) 0%, transparent 60%), radial-gradient(ellipse 30% 40% at 70% 60%, rgba(192, 109, 234, 0.15) 0%, transparent 60%);
  bottom: -260px;
  left: -220px;
  pointer-events: none;
  z-index: 0;

  filter: blur(60px); /* ⬅️ ฟุ้งขึ้นแบบ glow */
}
.block-aicontact::before,
.block-aicontact::after {
  mix-blend-mode: screen; /* ทำให้แสงทับกันแล้วสว่างขึ้น */
}
/* ══ LAYOUT ═════════════════════════════════ */
.block-aicontact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

/* Vertical divider */
.block-aicontact-inner::after {
  content: '';
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(160,130,255,0.25) 20%,
    rgba(160,130,255,0.25) 80%,
    transparent 100%
  );
  pointer-events: none;
}

/* ══ LEFT PANEL ═════════════════════════════ */
.block-aicontact-left {
  padding: 72px 64px 72px 72px;
  display: flex;
  flex-direction: column;
}

/* Section label */
.block-aicontact-eyebrow {
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(160,130,255,0.55);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.block-aicontact-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: rgba(160,130,255,0.4);
}

.block-aicontact-title {
font-family: 'Syne', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: 52px;
}

/* Info blocks */
.contact-block {
  margin-bottom: 32px;
}
.contact-block:last-child { margin-bottom: 0; }

.contact-label {
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(160,130,255,0.5);
  margin-bottom: 8px;
}

.contact-company {
  font-weight: 500;
  margin-bottom: 6px;
}

.contact-address {
  font-weight: 300;
  line-height: 1.75;
}

.contact-link {
  font-weight: 300;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.contact-link::after {
  content: '↗';
  font-size: 0.7rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s, transform .2s;
}
.contact-link:hover {
  color: #c4b5fd;
}
.contact-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* ══ RIGHT PANEL ════════════════════════════ */
.block-aicontact-right {
  padding: 72px 72px 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Large contact items */
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.contact-item:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-item-label {
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(160,130,255,0.5);
}

.contact-item-value {
   font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-decoration: none;
  transition: color .2s;
}
a.contact-item-value:hover {
  color: #fff;
}

/* ── SOCIAL ───────────────────────────────── */
.contact-social-label {
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(160,130,255,0.5);
  margin-bottom: 18px;
}

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

.contact-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  text-decoration: none;
  transition: all .25s cubic-bezier(.22,.6,.36,1);
  position: relative;
  overflow: hidden;
}
.contact-social-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brand, rgba(120,80,255,0.15));
  opacity: 0;
  transition: opacity .25s;
}
.contact-social-btn:hover {
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.contact-social-btn:hover::before {
  opacity: 1;
}
.contact-social-btn svg {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

/* ══ BOTTOM STRIP ═══════════════════════════ */
.block-aicontact-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.contact-copy {
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(170,155,220,0.35);
  letter-spacing: 0.04em;
}

.contact-tagline {
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(180,160,230,0.3);
}

/* ══ RESPONSIVE ═════════════════════════════ */
@media (max-width: 860px) {
  .block-aicontact-inner {
    grid-template-columns: 1fr;
  }
  .block-aicontact-inner::after { display: none; }
  .block-aicontact-left {
    padding: 52px 32px 40px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .block-aicontact-right {
    padding: 40px 32px 52px;
  }
  .block-aicontact-bottom {
    padding: 20px 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}