/* ============================================================
   contact.css — ct-* namespace
   Neodustria Contact page
   ============================================================ */

/* ── Tokens ── */
:root {
  --ct-bg:      #02050A;
  --ct-blue:    #168BFF;
  --ct-cyan:    #005dba;
  --ct-green:   #00D68F;
  --ct-border:  rgba(22, 139, 255, 0.12);
  --ct-border2: rgba(22, 139, 255, 0.28);
  --ct-card-bg: rgba(4, 10, 24, 0.94);
}

/* ============================================================
   HERO
   ============================================================ */
.ct-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 42%, rgba(22,139,255,.16), transparent 34%),
    linear-gradient(180deg, #02050A 0%, #02050A 100%);
}

.ct-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 52px;
  padding: 175px 0 80px;
}

.ct-hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ct-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #005dba;
  text-shadow: 0 0 14px rgba(0,93,186,0.45);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.ct-hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: #005dba;
  box-shadow: 0 0 8px rgba(0,93,186,0.65);
  flex-shrink: 0;
}
.ct-hero-eyebrow::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 1px;
  background: linear-gradient(90deg, #005dba, transparent);
}

.ct-hero-h1 {
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease 0.1s, transform 0.65s ease 0.1s;
}

.ct-hero-h1 .ct-accent {
  color: var(--ct-blue);
}

.ct-hero-sub {
  font-size: 15.5px;
  line-height: 1.76;
  color: rgba(169,184,200,0.88);
  max-width: 460px;
  margin: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.ct-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.ct-hero-visual {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.75s ease 0.25s, transform 0.75s ease 0.25s;
}

.ct-hero-visual::before {
  content: '';
  position: absolute;
  inset: -12% -8% -18% -18%;
  background:
    radial-gradient(circle at 62% 50%, rgba(22,139,255,.24), transparent 42%),
    radial-gradient(circle at 72% 70%, rgba(0,93,186,.12), transparent 38%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}

.ct-hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #02050A 0%, transparent 22%, transparent 78%, #02050A 100%),
    linear-gradient(180deg, transparent 0%, transparent 72%, #02050A 100%);
  pointer-events: none;
  z-index: 2;
  opacity: .35;
}

.ct-hero-image {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-width: none;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 0 42px rgba(22,139,255,.22));
  transform: translateY(8px);
}

/* Animate in on load */
.ct-page-ready .ct-hero-eyebrow,
.ct-page-ready .ct-hero-h1,
.ct-page-ready .ct-hero-sub,
.ct-page-ready .ct-hero-actions,
.ct-page-ready .ct-hero-visual {
  opacity: 1;
  transform: none;
}

.ct-page-ready .ct-hero-image {
  transform: translateY(8px);
}

/* ============================================================
   CONTACT + LOCATION MODULE
   ============================================================ */
.ct-main {
  background: var(--ct-bg);
  padding: 100px 0;
  position: relative;
}

.ct-main::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(180deg, transparent, rgba(22,139,255,0.35), transparent);
}

.ct-frame {
  position: relative;
  border: 1px solid rgba(22,139,255,0.28);
  border-radius: 20px;
  overflow: hidden;
  background: var(--ct-card-bg);
  box-shadow:
    0 0 60px rgba(22,139,255,0.10),
    0 0 120px rgba(22,139,255,0.04);
}

.ct-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(22,139,255,0.40), transparent 16%, transparent 84%, rgba(22,139,255,0.40)),
    linear-gradient(180deg, rgba(22,139,255,0.32), transparent 12%, transparent 88%, rgba(22,139,255,0.32));
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}

.ct-frame-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ct-frame-divider {
  position: absolute;
  top: 40px; bottom: 40px;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(22,139,255,0.30) 20%, rgba(22,139,255,0.30) 80%, transparent);
  z-index: 2;
}

/* ── Form column ── */
.ct-form-col {
  padding: 60px 56px 60px 60px;
}

.ct-form-heading {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 8px;
}

.ct-form-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.50);
  margin: 0 0 32px;
}

/* Form */
.ct-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.ct-field.ct-full {
  grid-column: 1 / -1;
}

.ct-field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.ct-field input,
.ct-field select,
.ct-field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(22,139,255,0.22);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  width: 100%;
  font-family: inherit;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
  color: rgba(255,255,255,0.28);
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  border-color: rgba(0,93,186,0.75);
  box-shadow: 0 0 0 3px rgba(0,93,186,0.12), 0 0 18px rgba(22,139,255,0.14);
  background: rgba(22,139,255,0.05);
}

.ct-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='rgba(255,255,255,0.4)' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.ct-field select option {
  background: #0a0e1a;
  color: #fff;
}

.ct-field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.55;
}

.ct-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.42);
  line-height: 1.6;
  cursor: pointer;
}

.ct-privacy input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 2px;
  accent-color: var(--ct-blue);
  cursor: pointer;
  padding: 0;
  border-radius: 3px;
}

.ct-form-status {
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 7px;
  display: none;
}
.ct-form-status.success {
  display: block;
  background: rgba(0,214,143,0.10);
  border: 1px solid rgba(0,214,143,0.35);
  color: var(--ct-green);
}
.ct-form-status.error {
  display: block;
  background: rgba(255,100,100,0.08);
  border: 1px solid rgba(255,100,100,0.30);
  color: #ff8080;
}

/* Send button */
.ct-send-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: linear-gradient(90deg, rgba(22,139,255,0.18) 0%, rgba(0,93,186,0.14) 100%);
  border: 1px solid rgba(22,139,255,0.55);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  align-self: flex-start;
}

.ct-send-btn:hover {
  background: linear-gradient(90deg, rgba(22,139,255,0.30) 0%, rgba(0,93,186,0.22) 100%);
  border-color: rgba(0,93,186,0.85);
  box-shadow: 0 0 24px rgba(22,139,255,0.28);
}

/* ── Location column ── */
.ct-location-col {
  padding: 60px 60px 60px 56px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ct-location-heading {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 6px;
}

.ct-location-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

.ct-location-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(22,139,255,0.20);
}

.ct-location-img-wrap img {
  width: 100%;
  display: block;
  border-radius: 12px;
  max-height: 420px;
  object-fit: cover;
}

.ct-address-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ct-address-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
}

.ct-address-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 8px;
  background: rgba(22,139,255,0.10);
  border: 1px solid rgba(22,139,255,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.ct-address-icon i,
.ct-address-icon svg {
  color: var(--ct-cyan);
  font-size: 14px;
}

.ct-address-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  display: block;
  margin-bottom: 2px;
}

.ct-address-value {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.ct-address-value a {
  color: var(--ct-cyan);
  text-decoration: none;
  transition: color 0.2s;
}
.ct-address-value a:hover { color: #fff; }

/* ============================================================
   COLLABORATION CTA
   ============================================================ */
.ct-collab {
  background: var(--ct-bg);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.ct-collab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 50%, rgba(22,139,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.ct-collab-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.ct-collab-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ct-collab-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ct-cyan);
}

.ct-collab-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--ct-cyan);
}

.ct-collab-h2 {
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 800;
  line-height: 1.10;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0;
}

.ct-collab-h2 .ct-accent {
  color: var(--ct-cyan);
}

.ct-collab-desc {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.58);
  max-width: 460px;
  margin: 0;
}

.ct-collab-visual {
  position: relative;
  display: flex;
  align-items: center;
}

.ct-collab-img-wrap {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(22,139,255,0.22);
  box-shadow:
    0 0 40px rgba(22,139,255,0.14),
    0 0 80px rgba(22,139,255,0.05);
}

.ct-collab-img-wrap img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

/* ============================================================
   SHARED BUTTONS
   ============================================================ */
.ct-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--ct-blue);
  border: 1px solid var(--ct-blue);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s, box-shadow 0.3s;
}

.ct-btn-primary:hover {
  background: rgba(22,139,255,0.82);
  box-shadow: 0 0 24px rgba(22,139,255,0.40);
  color: #fff;
  text-decoration: none;
}

.ct-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid rgba(22,139,255,0.40);
  border-radius: 8px;
  color: rgba(255,255,255,0.80);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.ct-btn-ghost:hover {
  border-color: rgba(0,93,186,0.75);
  color: #fff;
  background: rgba(22,139,255,0.06);
  text-decoration: none;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.ct-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.ct-reveal.ct-visible {
  opacity: 1;
  transform: none;
}
.ct-reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.ct-reveal-left.ct-visible {
  opacity: 1;
  transform: none;
}
.ct-reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.ct-reveal-right.ct-visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
.ct-reveal[data-delay="1"], .ct-reveal-left[data-delay="1"], .ct-reveal-right[data-delay="1"] { transition-delay: 0.08s; }
.ct-reveal[data-delay="2"], .ct-reveal-left[data-delay="2"], .ct-reveal-right[data-delay="2"] { transition-delay: 0.16s; }
.ct-reveal[data-delay="3"], .ct-reveal-left[data-delay="3"], .ct-reveal-right[data-delay="3"] { transition-delay: 0.24s; }
.ct-reveal[data-delay="4"], .ct-reveal-left[data-delay="4"], .ct-reveal-right[data-delay="4"] { transition-delay: 0.32s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .ct-frame-inner {
    grid-template-columns: 1fr;
  }
  .ct-frame-divider { display: none; }
  .ct-form-col {
    padding: 50px 44px;
    border-bottom: 1px solid rgba(22,139,255,0.18);
  }
  .ct-location-col {
    padding: 44px 44px 50px;
  }
  .ct-collab-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .ct-collab-visual { order: -1; }
}

@media (max-width: 900px) {
  .ct-hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 90px 0 70px;
  }
  .ct-hero-visual { order: -1; }
  .ct-hero-h1 { font-size: clamp(28px, 6vw, 42px); }
  .ct-main { padding: 70px 0; }
  .ct-collab { padding: 70px 0; }
}

@media (max-width: 640px) {
  .ct-form-col,
  .ct-location-col {
    padding: 36px 24px;
  }
  .ct-form-row {
    grid-template-columns: 1fr;
  }
  .ct-hero-inner { gap: 36px; }
  .ct-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .ct-collab-inner { gap: 36px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .ct-hero-eyebrow,
  .ct-hero-h1,
  .ct-hero-sub,
  .ct-hero-actions,
  .ct-hero-visual,
  .ct-reveal,
  .ct-reveal-left,
  .ct-reveal-right {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
