/* =======================================================
   SHIWORA V5 — Premium Contact Page Stylesheet
   Strict "Zero-Px" Rule Compliant (rem/em/%/vw/vh/clamp)
   Theme Alignment: Deep Indigo Background + Vibrant Cyan
   ======================================================= */

/* ── TIER 1: CONTACT HERO ────────────────────────────── */
.contact-hero {
  position: relative;
  min-height: 45vh;
  padding: 7.5rem 0 3.75rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-radial-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(94, 200, 229, 0.08) 0%, rgba(30, 107, 138, 0.03) 50%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-centered-content {
  position: relative;
  z-index: 2;
  max-width: 50rem;
  margin: 0 auto;
}

.hero-centered-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.accent-word {
  color: var(--gold);
  position: relative;
  display: inline-block;
}

.accent-word::after {
  content: '';
  position: absolute;
  bottom: 0.125rem;
  left: 0;
  width: 100%;
  height: 0.1875rem;
  background: var(--gold);
  opacity: 0.3;
  border-radius: 0.0625rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  line-height: 1.7;
}

/* ── TIER 2: MAIN SECTION & SPLIT GRID ──────────────── */
.contact-main-section {
  padding: 3.75rem 0 7.5rem 0;
  position: relative;
}

.contact-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.75rem;
  align-items: start;
}

@media (max-width: 64rem) {
  .contact-split-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ── LEFT PANEL: HEADQUARTERS & VECTOR MAP ────────── */
.contact-info-panel,
.contact-form-panel {
  position: relative;
}

.info-card-inner,
.form-card-inner {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 0.0625rem solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 3rem;
  backdrop-filter: blur(1.25rem);
  -webkit-backdrop-filter: blur(1.25rem);
  box-shadow: 0 1.25rem 3.125rem rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

@media (max-width: 48rem) {
  .info-card-inner,
  .form-card-inner {
    padding: 1.75rem;
  }
}

.panel-glow-bg {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 25rem;
  height: 25rem;
  background: radial-gradient(circle, rgba(94, 200, 229, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.panel-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.panel-intro-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.25rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.item-icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(94, 200, 229, 0.08);
  border: 0.0625rem solid rgba(94, 200, 229, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}

.contact-item:hover .item-icon-box {
  background: var(--gold);
  color: #0d1b2e;
  transform: translateY(-0.1875rem);
  box-shadow: 0 0.5rem 1.25rem rgba(94, 200, 229, 0.3);
}

.item-icon-box svg {
  width: 1.25rem;
  height: 1.25rem;
}

.item-details h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.375rem;
  font-weight: 600;
}

.item-details p {
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.5;
  margin: 0;
}

.item-details .secondary-info {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.25rem;
}

.link-hover-effect {
  position: relative;
  transition: color 0.3s var(--ease);
}

.link-hover-effect:hover {
  color: var(--gold) !important;
}

/* ── FUTURISTIC VECTOR MAP ──────────────────────────── */
.glowing-vector-map-box {
  background: rgba(13, 27, 46, 0.4);
  border: 0.0625rem solid rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

.map-title-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}

.pulse-indicator {
  width: 0.5rem;
  height: 0.5rem;
  background: #5ec8e5;
  border-radius: 50%;
  box-shadow: 0 0 0.5rem #5ec8e5;
  animation: mapPulse 1.8s infinite ease-in-out;
}

.map-title-row h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 600;
}

.vector-map-container {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.network-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Pulsating Core Animations */
.pulsating-core {
  animation: coreGlow 2.5s infinite alternate ease-in-out;
  transform-origin: center;
}

.pulsating-core-slow {
  animation: coreGlow 3.5s infinite alternate ease-in-out;
  transform-origin: center;
}

.map-node text {
  pointer-events: none;
  text-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.9);
  opacity: 0.95;
}

@keyframes mapPulse {
  0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(94, 200, 229, 0.7); }
  70% { transform: scale(1.1); opacity: 0.5; box-shadow: 0 0 0 0.5rem rgba(94, 200, 229, 0); }
  100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(94, 200, 229, 0); }
}

@keyframes coreGlow {
  0% { r: 0.3125rem; fill: #5ec8e5; filter: drop-shadow(0 0 0.125rem #5ec8e5); }
  100% { r: 0.625rem; fill: #ffffff; filter: drop-shadow(0 0 0.5rem #5ec8e5); }
}

/* ── RIGHT PANEL: PREMIUM BRIEF CURATION FORM ───────── */
.shiwora-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-group label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
}

.input-group label .req {
  color: var(--gold);
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-wrapper input,
.input-wrapper textarea,
.input-wrapper select {
  width: 100%;
  background: rgba(13, 27, 46, 0.6);
  border: 0.0625rem solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  outline: none;
  transition: all 0.3s var(--ease);
}

.input-wrapper input:hover,
.input-wrapper textarea:hover,
.input-wrapper select:hover {
  border-color: rgba(94, 200, 229, 0.3);
}

.input-wrapper input:focus,
.input-wrapper textarea:focus,
.input-wrapper select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0.75rem rgba(94, 200, 229, 0.15);
  background: rgba(13, 27, 46, 0.8);
}

/* Error borders */
.input-wrapper input.field-error,
.input-wrapper textarea.field-error,
.input-wrapper select.field-error {
  border-color: rgba(235, 87, 87, 0.8) !important;
  box-shadow: 0 0 0.5rem rgba(235, 87, 87, 0.2) !important;
}

.error-msg {
  display: none;
  font-size: 0.75rem;
  color: #eb5757;
  margin-top: 0.375rem;
  font-weight: 500;
}

/* Custom Select Dropdown Styling */
.custom-select-wrap {
  position: relative;
}

.custom-select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 3rem; /* Leave room for arrow */
}

.select-chevron {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%);
  width: 0.625rem;
  height: 0.625rem;
  border-right: 0.125rem solid rgba(255, 255, 255, 0.6);
  border-bottom: 0.125rem solid rgba(255, 255, 255, 0.6);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  transition: border-color 0.3s var(--ease);
}

.custom-select-wrap select:focus + .select-chevron {
  border-color: var(--gold);
}

/* Form Action footer */
.form-footer-action {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.privacy-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.4;
  margin: 0;
}

.form-submit-btn {
  width: 100%;
  background: var(--gold);
  border: none;
  border-radius: 0.5rem;
  padding: 1.15rem 2rem;
  color: #0d1b2e;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.form-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s var(--ease);
}

.form-submit-btn:hover::before {
  left: 100%;
}

.form-submit-btn:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 0.625rem 1.875rem rgba(94, 200, 229, 0.4);
}

.btn-arrow {
  width: 1.15rem;
  height: 1.15rem;
  transition: transform 0.3s var(--ease);
}

.form-submit-btn:hover .btn-arrow {
  transform: translateX(0.25rem);
}

/* ── SUCCESS SCREEN OVERLAY ─────────────────────────── */
.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0d1b2e;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
  transition: all 0.5s var(--ease);
}

@media (max-width: 48rem) {
  .form-success-overlay {
    padding: 1.75rem;
  }
}

.form-success-overlay.overlay-open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.success-content {
  text-align: center;
  max-width: 25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.success-icon-box {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: rgba(94, 200, 229, 0.1);
  border: 0.125rem solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 1.25rem rgba(94, 200, 229, 0.2);
}

.success-check {
  width: 2.25rem;
  height: 2.25rem;
}

.success-content h3 {
  font-family: var(--font-head);
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.success-thank-msg {
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.success-detail-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.success-timer-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.highlight-cyan {
  color: var(--gold);
  font-weight: 700;
}

/* Animations */
.overlay-open .success-icon-box {
  animation: bounceIn 0.6s var(--ease) forwards;
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}
