/* =====================================================================
   AEGON TOOLS - COMPACT ULTRA-LUXURY CONTACT US
   Seamless Light & Dark Theme Support, Compact Screen-Fit Height,
   Extended Left Trust Grid, and No-Scroll Layout
   ===================================================================== */

.contact-page {
  position: relative;
  min-height: 100vh;
  padding: 78px 24px 28px 24px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 0 0 34px 34px !important;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Ensure site-main has seamless rounded clipping with no straight white line overflow */
body.page-contact .site-main,
body:has(.contact-page) .site-main,
.footer-reveal-ready body.page-contact .site-main,
.footer-reveal-ready body:has(.contact-page) .site-main {
  border-radius: 0 0 34px 34px !important;
  overflow: hidden !important;
}

/* On contact page, hide the 4-column footer and reveal head; show only the legal/copyright strip */
body.page-contact .site-footer,
body:has(.contact-page) .site-footer {
  box-shadow: none !important;
  border-top: none !important;
}

body.page-contact .site-footer .footer-reveal-head,
body:has(.contact-page) .site-footer .footer-reveal-head {
  display: none !important;
}

body.page-contact .site-footer .footer-bottom,
body:has(.contact-page) .site-footer .footer-bottom {
  padding: 16px 0 !important;
}

/* Light Mode Defaults: Soothing, soft pearl canvas (Gentle on the eyes, no harsh glare) */
html:not([data-theme="dark"]) .contact-page {
  background: 
    radial-gradient(1100px 650px at 12% 12%, rgba(124, 92, 255, 0.08) 0%, transparent 60%),
    radial-gradient(950px 650px at 88% 88%, rgba(56, 189, 248, 0.08) 0%, transparent 60%),
    radial-gradient(800px 500px at 50% 50%, rgba(243, 240, 255, 0.45) 0%, transparent 70%),
    linear-gradient(175deg, #f2f4fa 0%, #edf1f8 45%, #f4f2fa 100%);
  color: #1e293b;
}

/* Dark Mode */
html[data-theme="dark"] .contact-page {
  background: #080b11;
  color: #f1f5f9;
}

/* Background Cosmic Atmosphere */
.ct-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  border-radius: 0 0 34px 34px;
}

.ct-bg-grid {
  position: absolute;
  inset: 0;
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 85%);
  pointer-events: none;
  z-index: 1;
  border-radius: 0 0 34px 34px;
}

html:not([data-theme="dark"]) .ct-bg-grid {
  background-image: 
    linear-gradient(to right, rgba(124, 92, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(124, 92, 255, 0.07) 1px, transparent 1px);
}

html[data-theme="dark"] .ct-bg-grid {
  background-image: 
    linear-gradient(to right, rgba(124, 92, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(124, 92, 255, 0.04) 1px, transparent 1px);
}

/* Glowing Ambient Nebulae */
.ct-ambient-glow-left {
  position: absolute;
  top: 15%;
  left: -120px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  animation: ctPulseSlow 10s ease-in-out infinite alternate;
}

.ct-ambient-glow-right {
  position: absolute;
  bottom: 10%;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(85px);
  pointer-events: none;
  z-index: 1;
  animation: ctPulseSlow 12s ease-in-out infinite alternate-reverse;
}

html:not([data-theme="dark"]) .ct-ambient-glow-left {
  background: radial-gradient(circle, rgba(124, 92, 255, 0.2) 0%, rgba(139, 92, 246, 0.07) 45%, transparent 70%);
}
html:not([data-theme="dark"]) .ct-ambient-glow-right {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(99, 102, 241, 0.06) 50%, transparent 70%);
}

html[data-theme="dark"] .ct-ambient-glow-left {
  background: radial-gradient(circle, rgba(124, 92, 255, 0.22) 0%, rgba(124, 92, 255, 0.05) 50%, transparent 70%);
}
html[data-theme="dark"] .ct-ambient-glow-right {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.14) 0%, transparent 70%);
}

@keyframes ctPulseSlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
  100% { transform: scale(1.12) translate(15px, -15px); opacity: 1; }
}

/* Container for Card */
.ct-container {
  width: 100%;
  max-width: 1240px;
  position: relative;
  z-index: 3;
  margin: 0 auto;
}

/* Flash Messages */
.ct-flash {
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ct-flash-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #ef4444;
}
html[data-theme="dark"] .ct-flash-error {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.15);
}

.ct-flash-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10b981;
}
html[data-theme="dark"] .ct-flash-success {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.15);
}

/* =====================================================================
   MAIN COMPACT GLASSMORPHIC CARD
   ===================================================================== */
.ct-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Mode Card: Soft Luxury Frosted Glass with delicate violet border */
html:not([data-theme="dark"]) .ct-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94) 0%, rgba(246, 248, 255, 0.9) 100%);
  border: 1px solid rgba(124, 92, 255, 0.18);
  box-shadow: 
    0 24px 64px -16px rgba(44, 37, 94, 0.12),
    0 0 45px rgba(124, 92, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

/* Dark Mode Card */
html[data-theme="dark"] .ct-card {
  background: rgba(16, 20, 31, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 35px 80px -20px rgba(0, 0, 0, 0.85),
    0 0 50px -10px rgba(124, 92, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
}

/* Ambient inner glowing blob 1: bottom-left (violet) */
.ct-card::before {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}
html:not([data-theme="dark"]) .ct-card::before {
  background: radial-gradient(circle, rgba(124, 92, 255, 0.2) 0%, rgba(139, 92, 246, 0.08) 45%, transparent 70%);
}
html[data-theme="dark"] .ct-card::before {
  background: radial-gradient(circle, rgba(124, 92, 255, 0.28) 0%, rgba(124, 92, 255, 0.08) 45%, transparent 70%);
}

/* Ambient inner glowing blob 2: top-right (cyan / indigo) */
.ct-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}
html:not([data-theme="dark"]) .ct-card::after {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(99, 102, 241, 0.06) 50%, transparent 70%);
}
html[data-theme="dark"] .ct-card::after {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.14) 0%, transparent 65%);
}

/* ---------------------------------------------------------------------
   LEFT COLUMN: ENRICHED CONTENT & TRUST CHANNELS
   --------------------------------------------------------------------- */
.ct-info-side {
  position: relative;
  z-index: 1;
  padding: 34px 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

html:not([data-theme="dark"]) .ct-info-side {
  border-right: 1px solid rgba(124, 92, 255, 0.1);
}
html[data-theme="dark"] .ct-info-side {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.ct-info-top {
  display: flex;
  flex-direction: column;
}

/* Live Support Status Pill */
.ct-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  width: fit-content;
  margin-bottom: 14px;
}
html:not([data-theme="dark"]) .ct-live-pill {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #059669;
}
html[data-theme="dark"] .ct-live-pill {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.ct-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: ctPulseDot 2s infinite ease-in-out;
}
@keyframes ctPulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.ct-info-title {
  font-family: var(--font-display, 'Outfit', 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
html:not([data-theme="dark"]) .ct-info-title {
  color: #1e1b4b;
}
html[data-theme="dark"] .ct-info-title {
  color: #ffffff;
}

/* 3 Value Propositions */
.ct-value-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.ct-value-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ct-check-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
html:not([data-theme="dark"]) .ct-check-badge {
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.3);
  color: #7c5cff;
}
html[data-theme="dark"] .ct-check-badge {
  background: rgba(124, 92, 255, 0.22);
  border: 1px solid rgba(124, 92, 255, 0.45);
  color: #c4b5fd;
  box-shadow: 0 0 10px rgba(124, 92, 255, 0.2);
}
.ct-check-badge svg {
  width: 11px;
  height: 11px;
  stroke-width: 2.5;
}

.ct-value-text {
  font-size: 13.5px;
  line-height: 1.4;
  font-weight: 500;
}
html:not([data-theme="dark"]) .ct-value-text {
  color: #334155;
}
html[data-theme="dark"] .ct-value-text {
  color: #e2e8f0;
}

/* NEW: Micro Trust Channels Grid (Fills empty middle space!) */
.ct-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 6px;
}

.ct-trust-card {
  padding: 12px 10px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  transition: all 0.25s ease;
}

html:not([data-theme="dark"]) .ct-trust-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(124, 92, 255, 0.14);
  box-shadow: 0 2px 8px rgba(44, 37, 94, 0.04);
}
html:not([data-theme="dark"]) .ct-trust-card:hover {
  background: #ffffff;
  border-color: rgba(124, 92, 255, 0.35);
  box-shadow: 0 4px 14px rgba(124, 92, 255, 0.12);
  transform: translateY(-2px);
}

html[data-theme="dark"] .ct-trust-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .ct-trust-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.ct-tc-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #7c5cff;
}
html:not([data-theme="dark"]) .ct-tc-icon {
  background: rgba(124, 92, 255, 0.1);
}
html[data-theme="dark"] .ct-tc-icon {
  background: rgba(124, 92, 255, 0.18);
  color: #c4b5fd;
}
.ct-tc-icon svg {
  width: 15px;
  height: 15px;
}

.ct-tc-title {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.25;
}
html:not([data-theme="dark"]) .ct-tc-title {
  color: #1e1b4b;
}
html[data-theme="dark"] .ct-tc-title {
  color: #ffffff;
}

.ct-tc-sub {
  font-size: 10.5px;
  line-height: 1.3;
}
html:not([data-theme="dark"]) .ct-tc-sub {
  color: #64748b;
}
html[data-theme="dark"] .ct-tc-sub {
  color: #94a3b8;
}

/* Info Bottom Box */
.ct-info-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
}
html:not([data-theme="dark"]) .ct-info-bottom {
  border-top: 1px solid rgba(124, 92, 255, 0.1);
}
html[data-theme="dark"] .ct-info-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ct-support-mail {
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: all 0.2s ease;
  display: inline-block;
  width: fit-content;
}
html:not([data-theme="dark"]) .ct-support-mail {
  color: #1e1b4b;
  text-decoration-color: #7c5cff;
}
html:not([data-theme="dark"]) .ct-support-mail:hover {
  color: #7c5cff;
}
html[data-theme="dark"] .ct-support-mail {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}
html[data-theme="dark"] .ct-support-mail:hover {
  color: #c4b5fd;
  text-decoration-color: #c4b5fd;
}

.ct-call-prompt {
  font-size: 12.5px;
  line-height: 1.35;
  margin: 0;
}
html:not([data-theme="dark"]) .ct-call-prompt {
  color: #64748b;
}
html[data-theme="dark"] .ct-call-prompt {
  color: #94a3b8;
}

.ct-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
html:not([data-theme="dark"]) .ct-call-btn {
  background: #ffffff;
  border: 1px solid rgba(124, 92, 255, 0.25);
  color: #1e1b4b;
  box-shadow: 0 4px 12px rgba(44, 37, 94, 0.06);
}
html:not([data-theme="dark"]) .ct-call-btn:hover {
  background: #f1f5f9;
  border-color: #7c5cff;
  color: #7c5cff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(124, 92, 255, 0.15);
}

html[data-theme="dark"] .ct-call-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
}
html[data-theme="dark"] .ct-call-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}
.ct-call-btn svg {
  width: 14px;
  height: 14px;
  color: #10b981;
}

/* ---------------------------------------------------------------------
   RIGHT COLUMN: COMPACT INTERACTIVE FORM (NO SCROLL)
   --------------------------------------------------------------------- */
.ct-form-side {
  position: relative;
  z-index: 1;
  padding: 34px 38px;
  display: flex;
  flex-direction: column;
}

html:not([data-theme="dark"]) .ct-form-side {
  background: linear-gradient(160deg, rgba(246, 248, 255, 0.58) 0%, rgba(240, 244, 255, 0.42) 100%);
  border-left: none;
}
html[data-theme="dark"] .ct-form-side {
  background: rgba(12, 15, 24, 0.45);
  border-left: none;
}

.ct-group {
  margin-bottom: 14px;
}

.ct-group-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
html:not([data-theme="dark"]) .ct-group-label {
  color: #475569;
}
html[data-theme="dark"] .ct-group-label {
  color: #cbd5e1;
}

/* Selectable Pill Chips */
.ct-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ct-chip {
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 999px;
  padding: 5px 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  user-select: none;
}

/* Chips in Light Mode: Soft Frosted Pills with Rich Indigo/Violet Focus */
html:not([data-theme="dark"]) .ct-chip {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(124, 92, 255, 0.16);
  color: #475569;
  box-shadow: 0 1px 3px rgba(44, 37, 94, 0.04);
}
html:not([data-theme="dark"]) .ct-chip:hover {
  border-color: #7c5cff;
  color: #7c5cff;
  background: rgba(124, 92, 255, 0.06);
}
html:not([data-theme="dark"]) .ct-chip.active {
  background: linear-gradient(135deg, #7c5cff 0%, #6366f1 100%);
  border-color: #7c5cff;
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(124, 92, 255, 0.35);
}

/* Chips in Dark Mode */
html[data-theme="dark"] .ct-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}
html[data-theme="dark"] .ct-chip:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .ct-chip.active {
  background: #ffffff;
  border-color: #ffffff;
  color: #0b0f19;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(255, 255, 255, 0.25);
}

/* Form Fields */
.ct-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 12px;
}

.ct-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}
.ct-fields-row .ct-field {
  margin-bottom: 0;
}

.ct-field-label {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
html:not([data-theme="dark"]) .ct-field-label {
  color: #475569;
}
html[data-theme="dark"] .ct-field-label {
  color: #cbd5e1;
}

.ct-input,
.ct-textarea {
  width: 100%;
  border-radius: 10px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.22s ease;
  outline: none;
}

html:not([data-theme="dark"]) .ct-input,
html:not([data-theme="dark"]) .ct-textarea {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(124, 92, 255, 0.18);
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(44, 37, 94, 0.03);
}
html:not([data-theme="dark"]) .ct-input::placeholder,
html:not([data-theme="dark"]) .ct-textarea::placeholder {
  color: #94a3b8;
}
html:not([data-theme="dark"]) .ct-input:focus,
html:not([data-theme="dark"]) .ct-textarea:focus {
  background: #ffffff;
  border-color: #7c5cff;
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.16), 0 2px 8px rgba(124, 92, 255, 0.08);
}

html[data-theme="dark"] .ct-input,
html[data-theme="dark"] .ct-textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #ffffff;
}
html[data-theme="dark"] .ct-input::placeholder,
html[data-theme="dark"] .ct-textarea::placeholder {
  color: #64748b;
}
html[data-theme="dark"] .ct-input:focus,
html[data-theme="dark"] .ct-textarea:focus {
  border-color: #7c5cff;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.18);
}

.ct-textarea {
  resize: vertical;
  min-height: 60px;
  height: 60px;
}

/* Compact File Attachment Dropzone */
.ct-dropzone {
  position: relative;
  border-radius: 10px;
  padding: 0 12px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.22s ease;
}

html:not([data-theme="dark"]) .ct-dropzone {
  border: 1px dashed rgba(124, 92, 255, 0.35);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 3px rgba(44, 37, 94, 0.03);
}
html:not([data-theme="dark"]) .ct-dropzone:hover,
html:not([data-theme="dark"]) .ct-dropzone.dragover {
  border-color: #7c5cff;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.12);
}

html[data-theme="dark"] .ct-dropzone {
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.02);
}
html[data-theme="dark"] .ct-dropzone:hover,
html[data-theme="dark"] .ct-dropzone.dragover {
  border-color: #7c5cff;
  background: rgba(124, 92, 255, 0.06);
}

.ct-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.ct-dropzone-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  pointer-events: none;
}
html:not([data-theme="dark"]) .ct-dropzone-content {
  color: #64748b;
}
html[data-theme="dark"] .ct-dropzone-content {
  color: #94a3b8;
}
.ct-dropzone-content svg {
  width: 15px;
  height: 15px;
  stroke: #7c5cff;
}

.ct-filename-preview {
  font-weight: 600;
  color: #7c5cff;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[data-theme="dark"] .ct-filename-preview {
  color: #c4b5fd;
}

/* Bottom Actions Row: Math Captcha & Submit Button Side-by-Side! */
.ct-bottom-actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
}

.ct-captcha-box {
  margin: 0;
  flex: 0 0 auto;
}
.ct-captcha-box label {
  font-size: 12px !important;
  font-weight: 600 !important;
  margin-bottom: 4px !important;
  display: block !important;
}
html:not([data-theme="dark"]) .ct-captcha-box label {
  color: #475569 !important;
}
html[data-theme="dark"] .ct-captcha-box label {
  color: #94a3b8 !important;
}

.ct-captcha-box input {
  height: 42px !important;
  width: 100px !important;
  max-width: 100px !important;
  border-radius: 10px !important;
  padding: 8px 12px !important;
  font-family: inherit !important;
  font-size: 14px !important;
  outline: none !important;
  display: block !important;
  margin: 0 !important;
}
html:not([data-theme="dark"]) .ct-captcha-box input {
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(124, 92, 255, 0.18) !important;
  color: #0f172a !important;
  box-shadow: 0 1px 3px rgba(44, 37, 94, 0.03) !important;
}
html:not([data-theme="dark"]) .ct-captcha-box input:focus {
  background: #ffffff !important;
  border-color: #7c5cff !important;
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.16) !important;
}
html[data-theme="dark"] .ct-captcha-box input {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}
html[data-theme="dark"] .ct-captcha-box input:focus {
  border-color: #7c5cff !important;
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.18) !important;
}

/* Submit Button */
.ct-submit-btn {
  flex: 1;
  height: 42px;
  border-radius: 999px;
  border: none;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

html:not([data-theme="dark"]) .ct-submit-btn {
  background: linear-gradient(135deg, #7c5cff, #5b4bcf);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(124, 92, 255, 0.3);
}
html:not([data-theme="dark"]) .ct-submit-btn:hover {
  background: linear-gradient(135deg, #6e4bfc, #5040bf);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 92, 255, 0.45);
}

html[data-theme="dark"] .ct-submit-btn {
  background: #ffffff;
  color: #090d16;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}
html[data-theme="dark"] .ct-submit-btn:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.35);
}

.ct-submit-btn:active {
  transform: translateY(0);
}

/* =====================================================================
   RESPONSIVE ADAPTATIONS
   ===================================================================== */
@media (max-width: 1024px) {
  .contact-page {
    /* fixed announcement + navbar ke NEECHE content — nav-clear use karo */
    padding: calc(var(--nav-clear, 114px) + 14px) 16px 32px 16px;
  }
  .ct-card {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }
  .ct-info-side {
    border-right: none;
    border-bottom: 1px solid rgba(124, 92, 255, 0.1);
    padding: 20px 16px 14px 16px;
    gap: 14px;
  }
  html[data-theme="dark"] .ct-info-side {
    border-bottom-color: rgba(255, 255, 255, 0.06);
  }
  .ct-form-side {
    border-left: none;
    padding: 16px 14px 20px 14px;
  }
  .ct-info-title { font-size: 22px }
  .ct-value-list { gap: 8px; margin-bottom: 12px }
  .ct-value-text { font-size: 12.5px }
  .ct-check-badge { width: 18px; height: 18px }
  .ct-live-pill { font-size: 10.5px; padding: 4px 10px; margin-bottom: 10px }
}

/* ============ MOBILE APP-STYLE (≤640px) — professional compact ============ */
@media (max-width: 640px) {
  .contact-page {
    padding-top: calc(var(--nav-clear, 114px) + 10px);
    padding-bottom: calc(var(--mobile-dock-height, 78px) + 22px);
    min-height: auto;
    justify-content: flex-start;
  }

  .ct-flash {
    padding: 10px 12px;
    font-size: 12px;
    border-radius: 11px;
    margin-bottom: 12px;
  }

  .ct-card { border-radius: 18px }

  /* LEFT — info compact, left-aligned.
     mobile-app-v2 force karta hai 2-col grid (!important) — override: proper stack */
  .ct-info-side {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 16px 14px 12px 14px;
  }
  .ct-live-pill {
    font-size: 10px;
    padding: 3px 9px;
    gap: 6px;
    margin-bottom: 8px;
    max-width: 100%;
  }
  .ct-live-dot { width: 6px; height: 6px }
  .ct-info-title {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 10px;
  }
  .ct-value-list { gap: 7px; margin-bottom: 12px }
  .ct-value-item { gap: 9px }
  .ct-value-text { font-size: 12px; line-height: 1.45 }
  .ct-check-badge { width: 17px; height: 17px }
  .ct-check-badge svg { width: 10px; height: 10px }

  /* trust cards — 3-col compact row (1-col vertical wastage khatam) */
  .ct-trust-grid { gap: 7px; margin-bottom: 2px }
  .ct-trust-card { padding: 10px 6px; border-radius: 12px; gap: 5px }
  .ct-tc-icon { width: 26px; height: 26px; border-radius: 8px }
  .ct-tc-icon svg { width: 13px; height: 13px }
  .ct-tc-title { font-size: 10.5px }
  .ct-tc-sub { font-size: 9.5px }

  /* contact bottom — email + prominent full-width WhatsApp btn */
  .ct-info-bottom { gap: 8px; padding-top: 12px }
  .ct-support-mail { font-size: 13px }
  .ct-call-prompt { font-size: 11.5px }
  .ct-call-btn {
    width: 100%;
    justify-content: center;
    padding: 11px 16px;
    font-size: 13px;
    height: 44px;
    border-radius: 13px;
  }

  /* FORM — app-style comfortable touch targets */
  .ct-form-side { padding: 14px 13px 18px 13px }
  .ct-group { margin-bottom: 12px }
  .ct-group-label { font-size: 10.5px; margin-bottom: 6px }
  .ct-chips { gap: 6px }
  .ct-chip { padding: 7px 11px; font-size: 11.5px }
  .ct-fields-row { grid-template-columns: 1fr; gap: 0 }
  .ct-field { margin-bottom: 10px }
  .ct-field-label { font-size: 11.5px; margin-bottom: 5px }

  /* 16px font = iOS focus auto-zoom nahi hota */
  .ct-input,
  .ct-textarea {
    padding: 11px 12px;
    font-size: 16px;
    border-radius: 11px;
  }
  .ct-textarea { min-height: 92px; height: auto }
  .ct-dropzone { height: 46px; border-radius: 11px }
  .ct-dropzone-content { font-size: 12px }
  .ct-filename-preview { max-width: 220px }

  /* captcha full-width + submit full-width prominent */
  .ct-bottom-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 4px;
  }
  .ct-captcha-box { flex: 0 0 auto }
  .ct-captcha-box label { font-size: 11px !important }
  .ct-captcha-box input {
    width: 100% !important;
    max-width: 100% !important;
    height: 46px !important;
    font-size: 16px !important;
    border-radius: 11px !important;
  }
  .ct-submit-btn {
    width: 100%;
    height: 50px;
    font-size: 15px;
    border-radius: 13px;
  }
}

/* particles mobile par lighter — battery/performance */
@media (max-width: 640px) {
  .ct-particles-canvas { opacity: 0.65 }
}
