/* ══════════════════════════════════════
   NS CONTACT FORM
══════════════════════════════════════ */

.ns-cf-wrap {
  font-family: 'Outfit', sans-serif;
}

/* Label */
.ns-cf-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #0873EA;
  font-weight: 600;
  margin-bottom: 16px;
}

.ns-cf-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: #0873EA;
  flex-shrink: 0;
}

/* Title */
.ns-cf-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.05;
  color: white;
  margin-bottom: 10px;
}

.ns-cf-title em {
  font-style: italic;
  color: #2d8fff;
}

/* Subtitle */
.ns-cf-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 500px;
}

/* Error */
.ns-cf-error {
  background: rgba(220,50,50,0.08);
  border: 1px solid rgba(220,50,50,0.3);
  color: #ff6b6b;
  padding: 14px 18px;
  font-size: 13px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

/* ══ TABS ══ */
.ns-cf-tabs {
  display: flex !important;
  gap: 0 !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  margin-bottom: 36px !important;
  overflow: hidden !important;
}

.ns-cf-tab {
  flex: 1 !important;
  padding: 13px 10px !important;
  border: none !important;
  border-right: 1px solid rgba(255,255,255,0.07) !important;
  background: transparent !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.4) !important;
  cursor: pointer !important;
  font-family: 'Outfit', sans-serif !important;
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  transition: color .35s ease !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

.ns-cf-tab::before{
    content:"";
    position:absolute;
    inset:0;
    background:#0873EA;
    transform:translateY(100%);
    transition:transform .35s cubic-bezier(.4,0,.2,1);
    z-index:-1;
}

.ns-cf-tab:last-child {
  border-right: none !important;
}

/* Active tab */
.ns-cf-tab.active{
    color:#fff !important;
    border-right-color:#0873EA !important;
}

.ns-cf-tab.active::before{
    transform:translateY(0);
}

/* Hover on inactive */
.ns-cf-tab:not(.active):hover{
    color:#fff !important;
}

/* Focus state */
.ns-cf-tab:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* ══ FORM GRID ══ */
.ns-cf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ns-cf-span2 {
  grid-column: span 2;
}

/* Field */
.ns-cf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ns-cf-label-text {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ns-cf-req {
  color: #0873EA;
  font-size: 12px;
}

.ns-cf-optional {
  color: rgba(255,255,255,0.25);
  font-size: 9px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* ══ INPUTS ══ */
.ns-cf-input {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  padding: 14px 16px !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-family: 'Outfit', sans-serif !important;
  outline: none !important;
  width: 100% !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: border-color 0.25s ease, background 0.25s ease !important;
  letter-spacing: 0.02em !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.ns-cf-input:focus {
  border-color: rgba(8,115,234,0.5) !important;
  background: rgba(8,115,234,0.04) !important;
  box-shadow: none !important;
  outline: none !important;
}

.ns-cf-input::placeholder {
  color: rgba(255,255,255,0.2) !important;
}

.ns-cf-textarea {
  resize: vertical !important;
  min-height: 160px !important;
  line-height: 1.65 !important;
}

/* ══ SUBMIT BUTTON ══ */
.ns-cf-submit-row {
  margin-top: 24px;
}

.ns-cf-submit{
    width:100% !important;
    padding:18px !important;
    background:#0873EA !important;
    border:none !important;
    cursor:pointer !important;
    font-size:12px !important;
    font-weight:600 !important;
    letter-spacing:.18em !important;
    text-transform:uppercase !important;
    color:#fff !important;
    font-family:'Outfit',sans-serif !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:12px !important;

    position:relative !important;
    overflow:hidden !important;
    isolation:isolate !important;

    border-radius:0 !important;
    outline:none !important;
    box-shadow:none !important;

    transition:color .3s ease !important;
}

.ns-cf-submit::before{
    content:"";
    position:absolute;
    inset:0;
    background:#2D8FFF;
    transform:translateX(-100%);
    transition:transform .4s cubic-bezier(.4,0,.2,1);
    z-index:-1;
}

.ns-cf-submit:hover::before{
    transform:translateX(0);
}

.ns-cf-submit:hover,
.ns-cf-submit:focus,
.ns-cf-submit:active{
    color:#fff !important;
    outline:none !important;
    box-shadow:none !important;
}

.ns-cf-submit svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
  transition: transform 0.3s ease !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
}

.ns-cf-submit:hover svg {
  transform: translateX(4px) !important;
}

/* ══ DIVIDER ══ */
.ns-cf-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
}

.ns-cf-divider::before,
.ns-cf-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.07);
}

.ns-cf-divider span {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
}

/* ══ WHATSAPP ALT BUTTON ══ */
.ns-cf-wa-alt {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 15px !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  background: transparent !important;
  color: rgba(255,255,255,0.45) !important;
  text-decoration: none !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  transition: all 0.25s ease !important;
  border-radius: 0 !important;
}

.ns-cf-wa-alt:hover {
  border-color: rgba(8,115,234,0.4) !important;
  color: #ffffff !important;
  background: rgba(8,115,234,0.06) !important;
}

.ns-cf-wa-alt svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
}

/* ══ SUCCESS STATE ══ */
.ns-cf-success {
  padding: 48px 40px;
  border: 1px solid rgba(13,184,122,0.3);
  background: rgba(13,184,122,0.05);
  text-align: center;
}

.ns-cf-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(13,184,122,0.12);
  border: 1px solid rgba(13,184,122,0.35);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0db87a;
}

.ns-cf-success-icon svg {
  width: 24px;
  height: 24px;
}

.ns-cf-success-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: white;
  margin-bottom: 12px;
}

.ns-cf-success-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 28px;
}

.ns-cf-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #0873EA;
  color: white;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.25s ease;
  border-radius: 0;
}

.ns-cf-wa-btn:hover {
  background: #2d8fff;
  color: white;
}

.ns-cf-wa-btn svg {
  width: 16px;
  height: 16px;
}

/* ══ SCROLLBAR ══ */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #04091A;
}

::-webkit-scrollbar-thumb {
  background: #0873EA;
  border: 2px solid #04091A;
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2D8FFF;
}

::-webkit-scrollbar-corner {
  background: #04091A;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #0873EA #04091A;
}

/* ══ RESPONSIVE ══ */
@media (max-width: 640px) {

  .ns-cf-grid {
    grid-template-columns: 1fr !important;
  }

  .ns-cf-span2 {
    grid-column: span 1 !important;
  }

  .ns-cf-tabs {
    flex-wrap: wrap !important;
  }

  .ns-cf-tab {
    flex: none !important;
    width: 50% !important;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  }

  .ns-cf-tab:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.07) !important;
  }

  .ns-cf-tab:nth-child(even) {
    border-right: none !important;
  }

  .ns-cf-tab:last-child,
  .ns-cf-tab:nth-last-child(2):nth-child(odd) {
    border-bottom: none !important;
  }
}