/* ── Contact page styles ── */

/* Nav active */
.main-nav a.nav-active { color: var(--neon); }

/* ── Hero ── */
.contact-hero-section { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; margin: 18px 0 52px; }
.contact-hero-label { display: inline-flex; align-items: center; gap: 12px; color: var(--neon); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; margin-bottom: 18px; }
.contact-hero-label::after { content:""; display:inline-block; width:32px; height:1px; background:var(--neon); opacity:0.7; }
.contact-hero-section h1 { font-family: "Orbitron", sans-serif; font-size: clamp(2.4rem, 2.5vw, 4rem); line-height: 1.04; margin: 0 0 18px; }
.contact-hero-section h1 span { color: var(--neon); }
.contact-hero-section p.contact-lead { color: var(--text-soft); font-size: 1rem; line-height: 1.75; max-width: 500px; margin: 0 0 30px; }
.contact-badges { display: flex; gap: 28px; flex-wrap: wrap; }
.contact-badge { display: flex; flex-direction: column; gap: 7px; }
.badge-icon { width: 48px; height: 48px; position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: visible; z-index: 0; -webkit-clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%); clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%); background: rgba(0,0,0,0.66); }
.badge-icon::before { content: ""; position: absolute; inset: -6px; -webkit-clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%); clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%); border: 3px solid rgba(var(--neon-rgb), 1); box-shadow: 0 0 18px rgba(var(--neon-rgb), 0.9); background: transparent; pointer-events: none; z-index: 0; }
.badge-icon::after { content: ""; position: absolute; inset: 6px; -webkit-clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%); clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%); background: rgba(0,0,0,0.66); pointer-events: none; z-index: 1; }
.badge-icon svg { width: 22px; height: 22px; stroke: var(--neon); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; position: relative; z-index: 2; }
.badge-title { font-weight: 700; font-size: 0.92rem; color: var(--text-main); }
.badge-desc { color: var(--text-soft); font-size: 0.82rem; line-height: 1.45; max-width: 120px; }
.contact-hero-image { display: block; width: 100%; height: auto; border-radius: 24px; object-fit: cover; }

/* ── Contact Hero Animation ── */
.contact-anim-wrap { position: relative; width: 100%; aspect-ratio: 1 / 1; max-width: 500px; margin: 0 auto; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at 50% 55%, rgba(141,255,79,0.1) 0%, rgba(6,14,8,0.25) 55%, transparent 100%); border-radius: 28px; overflow: visible; }
.contact-anim-wrap::after { content: ''; position: absolute; inset: 0; border-radius: 28px; box-shadow: inset 0 0 55px 28px #030a04; pointer-events: none; z-index: 6; }
.contact-canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 28px; z-index: 1; }
.ct-ground { position: absolute; bottom: 14%; left: 50%; transform: translateX(-50%); width: 60%; height: 10%; z-index: 2; }
.ct-ground-ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(141,255,79,0.35); animation: groundPulse 2.8s ease-out infinite; }
.ct-ground-ring:nth-child(1) { width: 40%;  height: 40%;  animation-delay: 0s; }
.ct-ground-ring:nth-child(2) { width: 70%;  height: 70%;  animation-delay: 0.7s; }
.ct-ground-ring:nth-child(3) { width: 100%; height: 100%; animation-delay: 1.4s; }
@keyframes groundPulse { 0% { opacity: 0.7; } 100% { opacity: 0; transform: translate(-50%,-50%) scale(1.3); } }
.ct-envelope { position: absolute; width: 46%; height: 38%; bottom: 24%; left: 50%; transform: translateX(-50%); z-index: 3; filter: drop-shadow(0 0 18px rgba(141,255,79,0.7)) drop-shadow(0 0 40px rgba(141,255,79,0.3)); animation: envFloat 3.8s ease-in-out infinite; }
.ct-envelope svg { width: 100%; height: 100%; }
@keyframes envFloat { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }
.ct-hex { position: absolute; z-index: 4; display: flex; align-items: center; justify-content: center; animation: hexFloat 4s ease-in-out infinite; }
.ct-hex svg { filter: drop-shadow(0 0 8px rgba(141,255,79,0.6)); }
.ct-hex-phone  { top: 22%; left: 10%;  animation-delay: 0s; }
.ct-hex-pin    { top: 18%; right: 10%; animation-delay: 0.9s; }
.ct-hex-chat   { top: 52%; right: 8%;  animation-delay: 1.6s; }
.ct-hex-mail   { top: 55%; left: 8%;   animation-delay: 0.5s; }
@keyframes hexFloat { 0%,100% { transform: translateY(0); opacity: 0.85; } 50% { transform: translateY(-7px); opacity: 1; } }
.ct-connectors { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.ct-conn-line { stroke: rgba(141,255,79,0.2); stroke-width: 1; stroke-dasharray: 5 4; animation: connDash 3s linear infinite; }
.ct-conn-line:nth-child(2) { animation-delay: 0.75s; }
.ct-conn-line:nth-child(3) { animation-delay: 1.5s; }
.ct-conn-line:nth-child(4) { animation-delay: 2.25s; }
@keyframes connDash { to { stroke-dashoffset: -36; } }

/* ── Contact 2-col ── */
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 52px; }
.contact-panel { background: rgba(8,16,10,0.55); border: 1px solid rgba(var(--neon-rgb), 0.14); border-radius: 24px; padding: 36px 36px; }
.contact-panel h2 { font-family: "Orbitron", sans-serif; font-size: 1.25rem; margin: 0 0 24px; }
.contact-panel h2 span { color: var(--neon); font-size: 0.7em; }

/* form */
.form-row { display: flex; flex-direction: column; gap: 14px; }
.form-field { display: flex; align-items: center; gap: 12px; background: rgba(5,14,7,0.7); border: 1px solid rgba(var(--neon-rgb), 0.15); border-radius: 12px; padding: 0 16px; height: 50px; transition: border-color 0.2s; }
.form-field:focus-within { border-color: rgba(var(--neon-rgb), 0.45); }
.form-field svg { width: 17px; height: 17px; stroke: var(--text-soft); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.form-field input, .form-field select { flex: 1; background: transparent; border: none; outline: none; color: var(--text-main); font-family: "Outfit", sans-serif; font-size: 0.9rem; }
.form-field input::placeholder { color: var(--text-soft); opacity: 0.55; }
.form-field select { color: var(--text-soft); cursor: pointer; }
.form-field select option { background: #0a1a0c; color: var(--text-main); }
.form-textarea { background: rgba(5,14,7,0.7); border: 1px solid rgba(var(--neon-rgb), 0.15); border-radius: 12px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; transition: border-color 0.2s; }
.form-textarea:focus-within { border-color: rgba(var(--neon-rgb), 0.45); }
.form-textarea svg { width: 17px; height: 17px; stroke: var(--text-soft); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 2px; }
.form-textarea textarea { flex: 1; background: transparent; border: none; outline: none; color: var(--text-main); font-family: "Outfit", sans-serif; font-size: 0.9rem; resize: none; height: 110px; line-height: 1.6; }
.form-textarea textarea::placeholder { color: var(--text-soft); opacity: 0.55; }
.send-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 50px; background: rgba(var(--neon-rgb), 0.1); border: 1px solid rgba(var(--neon-rgb), 0.35); border-radius: 12px; color: var(--neon); font-family: "Outfit", sans-serif; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.2s; margin-top: 4px; }
.send-btn:hover { background: rgba(var(--neon-rgb), 0.18); border-color: rgba(var(--neon-rgb), 0.6); }
.send-btn svg { width: 16px; height: 16px; stroke: var(--neon); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* get in touch panel */
.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon { width: 46px; height: 46px; position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: visible; z-index: 0; -webkit-clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%); clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%); background: rgba(0,0,0,0.66); box-shadow: 0 0 14px rgba(var(--neon-rgb), 0.28); }
.ci-icon::before { content: ""; position: absolute; inset: -5px; -webkit-clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%); clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%); border: 3px solid rgba(var(--neon-rgb), 1); box-shadow: 0 0 16px rgba(var(--neon-rgb), 0.85); background: transparent; pointer-events: none; z-index: 0; }
.ci-icon::after { content: ""; position: absolute; inset: 5px; -webkit-clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%); clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%); background: rgba(0,0,0,0.66); pointer-events: none; z-index: 1; }
.ci-icon svg { width: 20px; height: 20px; stroke: var(--neon); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; position: relative; z-index: 2; }
.ci-label { color: var(--text-soft); font-size: 0.8rem; margin-bottom: 3px; }
.ci-value { color: var(--text-main); font-weight: 600; font-size: 0.95rem; }
.follow-title { font-family: "Orbitron", sans-serif; font-size: 0.85rem; margin: 0 0 14px; color: var(--text-main); }
.follow-icons { display: flex; gap: 10px; }
.follow-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(var(--neon-rgb), 0.22); display: flex; align-items: center; justify-content: center; color: var(--text-soft); text-decoration: none; transition: all 0.2s; }
.follow-btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.follow-btn:hover { color: var(--neon); border-color: rgba(var(--neon-rgb), 0.5); background: rgba(var(--neon-rgb), 0.06); }

/* ── Global presence + FAQ row ── */
.presence-faq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-bottom: 52px; align-items: start; }
.section-mini-tag { display: inline-flex; align-items: center; gap: 10px; color: var(--neon); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; margin-bottom: 18px; }
.section-mini-tag::after { content:""; display:inline-block; width:28px; height:1px; background:var(--neon); opacity:0.65; }
.presence-title, .faq-title { font-family: "Orbitron", sans-serif; font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin: 0 0 22px; }

/* map cards */
.map-cards { display: flex; flex-direction: column; gap: 14px; }
.map-cards-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.map-card { background: rgba(8,16,10,0.55); border: 1px solid rgba(var(--neon-rgb), 0.14); border-radius: 18px; overflow: hidden; }
.map-img { width: 100%; height: 100px; background: rgba(4,20,6,0.9); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.map-img canvas { display: block; width: 100%; height: 100%; }
.map-img iframe, .map-img .map-embed { display: block; width: 100%; height: 100%; border: 0; }
.map-card-body { padding: 14px 16px; }
.map-country { font-weight: 700; font-size: 0.9rem; color: var(--text-main); margin-bottom: 3px; }
.map-city { color: var(--neon); font-size: 0.83rem; font-weight: 600; margin-bottom: 6px; }
.map-addr { color: var(--text-soft); font-size: 0.79rem; line-height: 1.5; }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.faq-item { background: rgba(8,16,10,0.55); border: 1px solid rgba(var(--neon-rgb), 0.14); border-radius: 14px; overflow: hidden; }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; cursor: pointer; color: var(--text-main); font-size: 0.94rem; font-weight: 500; user-select: none; gap: 12px; }
.faq-q:hover { color: var(--neon); }
.faq-icon { width: 26px; height: 26px; border-radius: 7px; border: 1px solid rgba(var(--neon-rgb), 0.25); display: flex; align-items: center; justify-content: center; color: var(--neon); font-size: 1rem; flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.2s; color: var(--text-soft); font-size: 0.88rem; line-height: 1.7; }
.faq-item.open .faq-a { max-height: 200px; padding: 0 20px 16px; }
.view-faqs-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border: 1px solid rgba(var(--neon-rgb), 0.3); border-radius: 10px; color: var(--neon); font-size: 0.88rem; font-weight: 600; text-decoration: none; transition: all 0.2s; }
.view-faqs-btn:hover { background: rgba(var(--neon-rgb), 0.08); border-color: rgba(var(--neon-rgb), 0.5); }

/* ── CTA banner ── */
.contact-cta { background: rgba(8,16,10,0.65); border: 1px solid rgba(var(--neon-rgb), 0.14); border-radius: 22px; display: flex; align-items: center; gap: 24px; padding: 30px 36px; margin-bottom: 54px; }
.cta-rocket-icon { width: 60px; height: 60px; border-radius: 16px; border: 1px solid rgba(var(--neon-rgb), 0.25); background: rgba(var(--neon-rgb), 0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cta-rocket-icon svg { width: 28px; height: 28px; stroke: var(--neon); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cta-text-block { flex: 1; min-width: 0; }
.cta-text-block h3 { font-family: "Orbitron", sans-serif; font-size: clamp(1.1rem, 1.8vw, 1.4rem); margin: 0 0 6px; }
.cta-text-block p { color: var(--text-soft); font-size: 0.9rem; margin: 0; line-height: 1.6; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .contact-hero-section, .contact-section, .presence-faq-row { grid-template-columns: 1fr; }
  .contact-hero-section { gap: 28px; }
  .contact-section { gap: 24px; }
  .presence-faq-row { gap: 28px; }
  .map-cards-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-panel { padding: 32px 28px; }
  .contact-cta { padding: 28px 28px; }
}
@media (max-width: 760px) {
  .contact-hero-section { gap: 22px; }
  .contact-anim-wrap { max-width: 100%; min-height: 280px; }
  .contact-anim-wrap::after { box-shadow: inset 0 0 45px 22px #030a04; }
  .contact-section { gap: 18px; }
  .contact-panel { padding: 28px 22px; }
  .map-cards-row { grid-template-columns: 1fr; }
  .faq-list { gap: 12px; }
  .contact-cta { flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 18px; }
  .cta-rocket-icon { width: 52px; height: 52px; }
  .cta-text-block { width: 100%; }
  .cta-text-block h3 { font-size: 1.2rem; }
  .cta-text-block p { font-size: 0.88rem; }
  .btn.btn-glow { width: 100%; justify-content: center; }
  .send-btn { min-height: 48px; }
}
@media (max-width: 560px) {
  .contact-hero-section { margin-bottom: 18px; }
  .contact-panel { padding: 24px 18px; }
  .contact-cta { padding: 22px 18px; gap: 14px; }
  .cta-rocket-icon { width: 48px; height: 48px; }
  .cta-text-block h3 { font-size: 1.1rem; }
  .cta-text-block p { font-size: 0.86rem; }
  .cta-rocket-icon, .cta-text-block, .btn.btn-glow { width: 100%; }
  .btn.btn-glow { white-space: normal; }
}
