/* ============================================================
   CONTACT US PAGE — contact.css
   PART 1: Contact Hero only.
   Reuses global.css tokens/utilities (variables, .btn, .section-eyebrow,
   .reveal-fade/.reveal-right). Page-specific classes prefixed "contact-".
   Full width — no max-width containers, per page brief.
   ============================================================ */

.contact-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  width: 100%;
  padding: calc(var(--nav-h) + 60px) clamp(40px, 6vw, 120px) 80px;
  overflow: hidden;
}

/* ---- background ---- */
.contact-hero__bg { position: absolute; inset: 0; z-index: -1; }
.contact-hero__glow {
  position: absolute;
  top: -22%;
  right: -8%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--c-copper) 0%, transparent 70%);
  filter: blur(120px);
  opacity: 0.36;
  animation: auroraFloat 18s ease-in-out infinite;
  will-change: transform;
}
.contact-hero__radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 25% 55%, rgba(227,172,130,0.08), transparent 60%);
}
.contact-hero__noise {
  position: absolute; inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-repeat: repeat;
}

/* ---- layout (full width, no container cap) ---- */
.contact-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

/* ---- left copy ---- */
.contact-hero__heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.18;
  letter-spacing: 0.2px;
  color: var(--c-text-1);
  margin-top: 18px;
}

.contact-hero__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--c-rose-gold);
  margin-top: 18px;
}

.contact-hero__desc {
  margin-top: 20px;
  max-width: 480px;
  color: var(--c-text-2);
  font-size: 1rem;
  line-height: 1.75;
}

.contact-hero__actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- right: pure CSS/HTML contact composition ---- */
.contact-hero__visual { display: flex; align-items: center; justify-content: center; }

.contact-hero__composition {
  position: relative;
  width: min(400px, 92%);
  aspect-ratio: 1/1;
}

.contact-hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(217,155,110,0.3);
}
.contact-hero__ring--1 { inset: 12%; animation: contactRingSpin 26s linear infinite; }
.contact-hero__ring--2 {
  inset: -2%;
  border-style: dashed;
  border-color: rgba(227,172,130,0.2);
  animation: contactRingSpin 36s linear infinite reverse;
}
@keyframes contactRingSpin { to { transform: rotate(360deg); } }

.contact-hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.contact-hero__connector {
  stroke: rgba(217,155,110,0.4);
  stroke-width: 1;
  stroke-dasharray: 5 7;
  animation: contactLineDash 3s linear infinite;
  animation-delay: var(--ld, 0s);
}
@keyframes contactLineDash { to { stroke-dashoffset: -120; } }

/* floating chat bubble */
.contact-hero__bubble {
  position: absolute;
  top: 30%;
  left: 30%;
  width: 92px;
  padding: 16px;
  border-radius: 18px 18px 18px 4px;
  background: var(--c-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 24px 46px rgba(0,0,0,0.4);
  animation: contactBubbleFloat 6s ease-in-out infinite;
  will-change: transform;
}
.contact-hero__bubble-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-copper-light);
  animation: contactDotPulse 1.4s ease-in-out infinite;
}
.contact-hero__bubble-dot:nth-child(2) { animation-delay: 0.2s; }
.contact-hero__bubble-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes contactDotPulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}
@keyframes contactBubbleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* floating icon badges (phone, email, pin) */
.contact-hero__icon-badge {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--c-line);
  box-shadow: 0 16px 32px rgba(0,0,0,0.35);
  will-change: transform;
}
.contact-hero__icon-badge svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--c-copper-light);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-hero__icon-badge--phone {
  top: 6%;
  right: 8%;
  animation: contactBadgeFloat 5s ease-in-out infinite;
}
.contact-hero__icon-badge--email {
  bottom: 8%;
  left: 6%;
  animation: contactBadgeFloat 6.5s ease-in-out infinite reverse;
  animation-delay: -1.5s;
}
.contact-hero__icon-badge--pin {
  bottom: 4%;
  right: 20%;
  animation: contactBadgeFloat 5.5s ease-in-out infinite;
  animation-delay: -2.5s;
}
@keyframes contactBadgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---- responsive ---- */
@media (max-width: 1080px) {
  .contact-hero { padding-inline: 40px; text-align: center; }
  .contact-hero__inner { grid-template-columns: 1fr; gap: 46px; }
  .contact-hero__desc { margin-inline: auto; }
  .contact-hero__actions { justify-content: center; }
  .contact-hero__visual { order: -1; }
}
@media (max-width: 640px) {
  .contact-hero { padding-inline: 20px; min-height: auto; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 60px; }
  .contact-hero__actions { flex-direction: column; align-items: stretch; }
  .contact-hero__actions .btn { justify-content: center; }
  .contact-hero__composition { width: min(300px, 88%); }
  .contact-hero__bubble { width: 76px; padding: 12px; }
  .contact-hero__icon-badge { width: 46px; height: 46px; }
  .contact-hero__icon-badge svg { width: 19px; height: 19px; }
}

/* ============================================================
   LET'S TALK — PART 2
   40/60 (desktop) → 50/50 (tablet) → stacked (mobile).
   Glass info cards, social row, contact form, success popup.
   ============================================================ */

.contact-talk {
  position: relative;
  width: 100%;
  padding-block: 0 160px;
  padding-inline: clamp(40px, 6vw, 120px);
}

.contact-talk__header {
  max-width: 720px;
  margin-bottom: 80px;
}
.contact-talk__heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.2;
  color: var(--c-text-1);
  margin: 16px 0 20px;
}
.contact-talk__desc {
  color: var(--c-text-2);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 600px;
}

.contact-talk__inner {
  display: grid;
  grid-template-columns: 0.66fr 1fr;
  gap: 70px;
  align-items: start;
}

/* ---- left: info cards + socials ---- */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 44px;
}


/* ---- Center Glass Container w/ Brand Logo ---- */
.contact-hero__center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(18, 18, 22, 0.85); /* Dark Glass Backdrop so logo colors stay ultra sharp */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(217, 155, 110, 0.4); /* Premium Copper Ring Border */
  box-shadow: 0 0 45px rgba(217, 155, 110, 0.3),
              0 15px 35px rgba(0, 0, 0, 0.7),
              inset 0 1px 2px rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  z-index: 5;
  transition: transform var(--dur-med) var(--ease-out), border-color var(--dur-med), box-shadow var(--dur-med);
}

.contact-hero__brand-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Soft Backlight Glow to pop the logo out from background */
  filter: drop-shadow(0 0 12px rgba(217, 155, 110, 0.35)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
  transition: transform var(--dur-fast) var(--ease-out);
}

/* Hover Effect */
.contact-hero__composition:hover .contact-hero__center-logo {
  transform: translate(-50%, -52%) scale(1.06);
  border-color: rgba(217, 155, 110, 0.7);
  box-shadow: 0 0 60px rgba(217, 155, 110, 0.45),
              0 20px 40px rgba(0, 0, 0, 0.8);
}

/* Mobile Responsive Adjustments */
@media (max-width: 640px) {
  .contact-hero__center-logo {
    width: 96px;
    height: 96px;
    padding: 16px;
  }
}
.contact-info-card {
  padding: 26px 22px;
  border-radius: 22px;
  background: var(--c-glass);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--c-line);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3);
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-med), box-shadow var(--dur-med);
}
.contact-info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 155, 110, 0.4);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4), 0 0 26px rgba(217, 155, 110, 0.14);
}

.contact-info-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(217, 155, 110, 0.16), rgba(217, 155, 110, 0.03));
  border: 1px solid var(--c-line);
  margin-bottom: 16px;
}
.contact-info-card__icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--c-copper-light);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text-1);
  margin-bottom: 8px;
}
.contact-info-card__value {
  color: var(--c-text-1);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 3px;
  word-break: break-word;
}
.contact-info-card__sub {
  color: var(--c-text-3);
  font-size: 0.78rem;
  line-height: 1.5;
}

.contact-social h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-text-1);
  margin-bottom: 18px;
}
.contact-social__icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.contact-social__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-line);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur-fast) var(--ease-out), background var(--dur-fast);
}
.contact-social__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--c-text-2);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--dur-fast);
}
.contact-social__icon:hover {
  border-color: rgba(217, 155, 110, 0.5);
  background: rgba(217, 155, 110, 0.08);
  box-shadow: 0 0 18px rgba(217, 155, 110, 0.28);
  transform: translateY(-3px);
}
.contact-social__icon:hover svg { stroke: var(--c-copper-light); }

/* ---- right: contact form ---- */
.contact-talk__form-wrap {
  padding: clamp(32px, 3.5vw, 44px);
  border-radius: 22px;
  background: var(--c-glass);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--c-line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.contact-talk__form-heading {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--c-text-1);
  margin-bottom: 10px;
}
.contact-talk__form-desc {
  color: var(--c-text-2);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form__field { display: flex; flex-direction: column; gap: 6px; }
.contact-form__field label { font-size: 0.82rem; color: var(--c-text-2); }

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-s);
  color: var(--c-text-1);
  padding: 12px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
}
.contact-form__field textarea { resize: vertical; min-height: 110px; }
.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--c-copper-light);
  background: rgba(217, 155, 110, 0.05);
  box-shadow: 0 0 0 3px rgba(217, 155, 110, 0.14);
}
.contact-form__field input.is-invalid,
.contact-form__field select.is-invalid,
.contact-form__field textarea.is-invalid {
  border-color: rgba(224, 105, 92, 0.7);
}

.contact-form__error {
  font-size: 0.76rem;
  color: #e0695c;
  min-height: 1em;
}
.contact-form__error:empty { display: none; }

.contact-form__submit { margin-top: 6px; justify-content: center; width: 100%; }

/* ---- success popup ---- */
.contact-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 4, 3, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s var(--ease-out);
}
.contact-popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.contact-popup {
  position: relative;
  width: min(480px, 90vw);
  max-height: 88vh;
  overflow-y: auto;
  text-align: center;
  background: var(--c-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(217, 155, 110, 0.3);
  border-radius: 22px;
  padding: clamp(36px, 5vw, 48px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 60px rgba(217, 155, 110, 0.14);
  transform: scale(0.92) translateY(20px);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
}
.contact-popup-overlay.is-open .contact-popup {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.contact-popup__success-icon {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 26px;
}
.contact-popup__success-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(217, 155, 110, 0.4);
}
.contact-popup__success-glow {
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 155, 110, 0.35), transparent 70%);
  filter: blur(18px);
  animation: contactSuccessGlowPulse 2.4s ease-in-out infinite;
}
@keyframes contactSuccessGlowPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}
.contact-popup__success-check {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 22px;
  fill: none;
  stroke: var(--c-copper-light);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: contactCheckDraw 0.6s var(--ease-out) 0.25s forwards, contactIconFloat 3s ease-in-out 0.9s infinite;
}
@keyframes contactCheckDraw { to { stroke-dashoffset: 0; } }
@keyframes contactIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.contact-popup__heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--c-text-1);
  margin-bottom: 14px;
}
.contact-popup__desc {
  color: var(--c-text-2);
  font-size: 0.94rem;
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto 28px;
}
.contact-popup__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- responsive ---- */
@media (max-width: 1400px) {
  .contact-talk { padding-inline: 60px; }
}
@media (max-width: 1080px) {
  .contact-talk { padding-inline: 40px; }
  .contact-talk__inner { grid-template-columns: 1fr 1fr; gap: 46px; }
}
@media (max-width: 640px) {
  .contact-talk { padding-block: 0 100px; padding-inline: 20px; }
  .contact-talk__inner { grid-template-columns: 1fr; gap: 50px; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .contact-form__row { grid-template-columns: 1fr; }
  .contact-talk__form-wrap { padding: 28px 22px; }
  .contact-popup { padding: 30px 22px; }
  .contact-popup__actions { flex-direction: column-reverse; }
}