/* ==========================================================================
   NOTIVIA CONTACT PAGE — Nordic Clarity Contrast (1b)
   Page ID: 6873
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- Reset & Base -------------------------------------------------------- */
.nv-contact * { box-sizing: border-box; margin: 0; padding: 0; }
.nv-contact { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: #1a1a2e; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.nv-contact img { max-width: 100%; height: auto; }
.nv-contact a { color: #c9a84c; text-decoration: none; transition: color .2s; }
.nv-contact a:hover { color: #b8973f; }

/* --- Layout -------------------------------------------------------------- */
.nv-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========================================================================
   HERO
   ======================================================================== */
.nv-hero-contact {
  background: #1a1f2e;
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.nv-hero-contact::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,.08) 0%, transparent 60%);
  pointer-events: none;
}
.nv-hero-contact .nv-badge {
  display: inline-block;
  background: rgba(201,168,76,.12);
  color: #c9a84c;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.nv-hero-contact h1 {
  color: #ffffff;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.nv-hero-contact h1 span { color: #c9a84c; }
.nv-hero-contact .nv-subtext {
  color: #a0a0b0;
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto;
}

/* ========================================================================
   TOPIC CARDS
   ======================================================================== */
.nv-topics {
  background: #f5f4ef;
  padding: 60px 0;
}
.nv-topics h2 {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a1a2e;
}
.nv-topics .nv-topics-sub {
  text-align: center;
  color: #4a4a5a;
  font-size: 15px;
  margin-bottom: 36px;
}
.nv-topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.nv-topic-card {
  background: #ffffff;
  border: 1px solid #e8e7e0;
  border-radius: 12px;
  padding: 28px 24px;
  cursor: pointer;
  transition: all .25s ease;
  text-align: center;
  position: relative;
}
.nv-topic-card:hover,
.nv-topic-card.active {
  border-color: #c9a84c;
  box-shadow: 0 4px 20px rgba(201,168,76,.15);
  transform: translateY(-2px);
}
.nv-topic-card.active::after {
  content: '\2713';
  position: absolute;
  top: 12px; right: 14px;
  background: #c9a84c;
  color: #fff;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.nv-topic-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}
.nv-topic-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 6px;
}
.nv-topic-card p {
  font-size: 13px;
  color: #8a8a9a;
  line-height: 1.5;
}

/* ========================================================================
   MAIN CONTACT AREA (Info left + Form right)
   ======================================================================== */
.nv-contact-area {
  background: #ffffff;
  padding: 70px 0;
}
.nv-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

/* --- Left: Info ---------------------------------------------------------- */
.nv-info h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a1a2e;
}
.nv-info .nv-info-sub {
  color: #4a4a5a;
  font-size: 15px;
  margin-bottom: 32px;
}
.nv-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.nv-info-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(201,168,76,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.nv-info-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 2px;
}
.nv-info-item span {
  font-size: 14px;
  color: #4a4a5a;
}

/* Quote */
.nv-quote-box {
  margin-top: 36px;
  background: #f5f4ef;
  border-radius: 12px;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.nv-quote-photo {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #c9a84c;
}
.nv-quote-text {
  font-size: 14px;
  color: #4a4a5a;
  font-style: italic;
  line-height: 1.6;
}
.nv-quote-text strong {
  display: block;
  margin-top: 8px;
  font-style: normal;
  color: #1a1a2e;
  font-size: 13px;
}

/* --- Right: Form --------------------------------------------------------- */
.nv-form-card {
  background: #ffffff;
  border: 1px solid #e8e7e0;
  border-radius: 14px;
  padding: 36px;
  box-shadow: 0 2px 20px rgba(0,0,0,.04);
}
.nv-form-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}
.nv-form-card .nv-form-sub {
  font-size: 14px;
  color: #8a8a9a;
  margin-bottom: 24px;
}
.nv-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.nv-field {
  margin-bottom: 18px;
}
.nv-field.full { grid-column: 1 / -1; }
.nv-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 6px;
}
.nv-field label .req { color: #c9a84c; }
.nv-field input,
.nv-field select,
.nv-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e8e7e0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1a1a2e;
  background: #fafaf7;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.nv-field input:focus,
.nv-field select:focus,
.nv-field textarea:focus {
  border-color: #c9a84c;
  box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}
.nv-field textarea { min-height: 110px; resize: vertical; }
.nv-field input::placeholder,
.nv-field textarea::placeholder { color: #b0b0b8; }
.nv-field select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8a9a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

/* DSGVO checkbox */
.nv-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
}
.nv-checkbox input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: #c9a84c;
  flex-shrink: 0;
}
.nv-checkbox label {
  font-size: 13px;
  color: #4a4a5a;
  line-height: 1.5;
  cursor: pointer;
}

/* Submit */
.nv-submit-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: #c9a84c;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.nv-submit-btn:hover { background: #b8973f; transform: translateY(-1px); }
.nv-submit-btn:active { transform: translateY(0); }
.nv-submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Form messages */
.nv-form-msg {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-top: 14px;
}
.nv-form-msg.success { display: block; background: #e8f5e9; color: #2e7d32; }
.nv-form-msg.error { display: block; background: #fce4ec; color: #c62828; }

/* ========================================================================
   TRUST SIGNALS
   ======================================================================== */
.nv-trust {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #e8e7e0;
}
.nv-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #8a8a9a;
}
.nv-trust-icon { font-size: 16px; }

/* ========================================================================
   FIELD VALIDATION
   ======================================================================== */
.nv-field.has-error input,
.nv-field.has-error select,
.nv-field.has-error textarea {
  border-color: #e53935;
}
.nv-field .nv-error-msg {
  display: none;
  font-size: 12px;
  color: #e53935;
  margin-top: 4px;
}
.nv-field.has-error .nv-error-msg { display: block; }

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 768px) {
  .nv-topics-grid { grid-template-columns: repeat(2, 1fr); }
  .nv-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .nv-form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nv-topics-grid { grid-template-columns: 1fr; }
  .nv-hero-contact { padding: 50px 0 40px; }
  .nv-topics { padding: 40px 0; }
  .nv-contact-area { padding: 40px 0; }
  .nv-form-card { padding: 24px 18px; }
  .nv-trust { flex-direction: column; align-items: center; gap: 12px; }
  .nv-quote-box { flex-direction: column; text-align: center; }
}

/* ===== CF7 Form Styling ===== */
.nv-form-card .wpcf7 input[type=text],
.nv-form-card .wpcf7 input[type=email],
.nv-form-card .wpcf7 input[type=tel],
.nv-form-card .wpcf7 select,
.nv-form-card .wpcf7 textarea {
  width: 100%;
  background: #f5f4ef;
  border: 1px solid #e8e7e0;
  border-radius: 8px;
  padding: 12px 14px;
  color: #1a1a2e;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 12px;
  transition: border-color .2s;
  box-sizing: border-box;
}
.nv-form-card .wpcf7 input:focus,
.nv-form-card .wpcf7 select:focus,
.nv-form-card .wpcf7 textarea:focus {
  outline: none;
  border-color: #c9a84c;
}
.nv-form-card .wpcf7 input::placeholder,
.nv-form-card .wpcf7 textarea::placeholder { color: #8a8a9a; }
.nv-form-card .wpcf7 textarea { min-height: 100px; resize: vertical; }
.nv-form-card .wpcf7 .wpcf7-submit {
  width: 100%;
  background: #c9a84c;
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
  margin-top: 4px;
}
.nv-form-card .wpcf7 .wpcf7-submit:hover {
  opacity: .9;
  transform: translateY(-1px);
}
.nv-form-card .wpcf7 .wpcf7-not-valid-tip {
  color: #e05a47;
  font-size: 12px;
  margin-top: -8px;
  margin-bottom: 8px;
}
.nv-form-card .wpcf7 .wpcf7-response-output {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
}
.nv-form-card .wpcf7-acceptance label {
  font-size: 13px;
  color: #4a4a5a;
}
.nv-form-card .wpcf7-acceptance a {
  color: #c9a84c;
}

/* ===== CF7 Validation Fixes ===== */
.nv-form-card .wpcf7 .wpcf7-not-valid {
  border-color: #e05a47 !important;
  background: rgba(224,90,71,0.05) !important;
}
.nv-form-card .wpcf7 .wpcf7-not-valid-tip {
  color: #e05a47 !important;
  font-size: 12px !important;
  margin-top: 4px !important;
  margin-bottom: 8px !important;
  display: block !important;
}
.nv-form-card .wpcf7 .wpcf7-response-output {
  margin-top: 16px !important;
  padding: 12px 16px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
}
.nv-form-card .wpcf7 .wpcf7-response-output.wpcf7-validation-errors,
.nv-form-card .wpcf7 .wpcf7-response-output[class*='validation'] {
  background: rgba(224,90,71,0.08) !important;
  border: 1px solid rgba(224,90,71,0.3) !important;
  color: #e05a47 !important;
}
.nv-form-card .wpcf7 .wpcf7-response-output.wpcf7-mail-sent-ok,
.nv-form-card .wpcf7 .wpcf7-response-output[class*='sent-ok'] {
  background: rgba(39,174,96,0.08) !important;
  border: 1px solid rgba(39,174,96,0.3) !important;
  color: #27ae60 !important;
}
.nv-form-card .wpcf7 .wpcf7-response-output.wpcf7-spam-blocked {
  background: rgba(230,126,34,0.08) !important;
  border: 1px solid rgba(230,126,34,0.3) !important;
  color: #e67e22 !important;
}
/* Acceptance field validation */
.nv-form-card .wpcf7 .wpcf7-acceptance .wpcf7-not-valid-tip {
  display: block !important;
  margin-top: 4px !important;
}
/* Make sure response output is visible and not hidden */
.nv-form-card .wpcf7 .wpcf7-response-output[aria-hidden=true] {
  display: none;
}
.nv-form-card .wpcf7 .wpcf7-response-output[aria-hidden=false],
.nv-form-card .wpcf7 .wpcf7-response-output:not([aria-hidden=true]):not(:empty) {
  display: block !important;
}
