.vazhik-contact-wrap,
.vazhik-contact-wrap * {
  box-sizing: border-box;
}

.vazhik-contact-wrap {
  width: min(1220px, calc(100% - 32px));
  margin: 32px auto;
  direction: rtl;
  text-align: right;
  color: #3d3d3d;
  font-family: inherit;
}

.vazhik-contact-wrap a {
  color: inherit;
  text-decoration: none;
}

.vz-contact-hero,
.vz-info-card,
.vz-about-card,
.vz-form-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(18, 40, 56, 0.08);
}

.vz-contact-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 42px;
  position: relative;
  overflow: hidden;
}

.vz-contact-hero::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  height: 8px;
  width: 100%;
  background: linear-gradient(90deg, var(--vz-dark), var(--vz-primary), var(--vz-accent));
}

.vz-kicker {
  display: inline-flex;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(17, 181, 228, .12);
  color: var(--vz-dark);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 12px;
}

.vz-hero-text h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  color: #353535;
  font-weight: 800;
}

.vz-hero-text p {
  margin: 0;
  line-height: 2;
  max-width: 720px;
  color: #5b5b5b;
  font-size: 15px;
}

.vz-hero-logo {
  flex: 0 0 auto;
  min-width: 180px;
  display: flex;
  justify-content: center;
}

.vz-hero-logo img {
  max-width: 210px;
  height: auto;
  display: block;
}

.vz-alert {
  margin-top: 18px;
  border-radius: 18px;
  padding: 16px 20px;
  font-weight: 700;
}

.vz-alert-success {
  background: rgba(18, 180, 126, .12);
  color: #087a54;
  border: 1px solid rgba(18, 180, 126, .25);
}

.vz-alert-error {
  background: rgba(220, 53, 69, .1);
  color: #a42533;
  border: 1px solid rgba(220, 53, 69, .2);
}

.vz-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.vz-info-card,
.vz-about-card,
.vz-form-card {
  padding: 34px;
}

.vz-info-card h2,
.vz-about-card h2,
.vz-form-title span {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 800;
  color: #3b3b3b;
}

.vz-muted,
.vz-about-card p {
  color: #666;
  line-height: 2;
  margin: 0 0 22px;
}

.vz-contact-list {
  display: grid;
  gap: 14px;
}

.vz-contact-item {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f7fbfd;
  border: 1px solid rgba(17, 181, 228, .12);
}

.vz-contact-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  border-radius: 14px;
  background: var(--vz-primary);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.vz-contact-item strong,
.vz-contact-item span:not(.vz-contact-icon),
.vz-contact-item a {
  display: block;
}

.vz-contact-item strong {
  color: #3b3b3b;
  font-size: 13px;
  margin-bottom: 3px;
}

.vz-contact-item span:not(.vz-contact-icon),
.vz-contact-item a {
  color: #5f5f5f;
  font-size: 14px;
}

.vz-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.vz-socials a,
.vz-mini-points span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--vz-dark);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

.vz-mini-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vz-mini-points span {
  background: rgba(17, 181, 228, .12);
  color: var(--vz-dark);
}

.vz-form-card {
  margin-top: 24px;
}

.vz-form-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid #edf2f5;
  margin-bottom: 22px;
}

.vz-form-title span {
  margin: 0;
}

.vz-form-title small {
  color: #777;
}

.vz-contact-form {
  display: grid;
  gap: 18px;
}

.vz-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.vz-contact-form label,
.vz-field-full,
.vz-file-field {
  display: grid;
  gap: 8px;
}

.vz-contact-form label span,
.vz-file-field > span {
  color: #4e4e4e;
  font-weight: 700;
  font-size: 14px;
}

.vz-contact-form input,
.vz-contact-form select,
.vz-contact-form textarea {
  width: 100%;
  border: 1px solid #dfe8ed;
  border-radius: 16px;
  background: #fbfdfe;
  min-height: 52px;
  padding: 12px 16px;
  color: #333;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  font-family: inherit;
  font-size: 14px;
}

.vz-contact-form textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.9;
}

.vz-contact-form input:focus,
.vz-contact-form select:focus,
.vz-contact-form textarea:focus {
  border-color: var(--vz-primary);
  box-shadow: 0 0 0 4px rgba(17, 181, 228, .14);
  background: #fff;
}

.vz-file-field {
  padding: 18px;
  border: 1px dashed rgba(17, 181, 228, .55);
  border-radius: 20px;
  background: rgba(17, 181, 228, .06);
}

.vz-file-field small {
  color: #777;
}

.vz-submit-btn {
  border: 0;
  border-radius: 999px;
  min-height: 56px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--vz-primary), var(--vz-dark));
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  width: fit-content;
  min-width: 180px;
  font-family: inherit;
  box-shadow: 0 12px 30px rgba(7, 137, 169, .23);
}

.vz-submit-btn:hover {
  transform: translateY(-1px);
}

.vz-hp-field {
  position: absolute !important;
  right: -9999px !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 860px) {
  .vazhik-contact-wrap {
    width: min(100% - 20px, 680px);
    margin: 22px auto;
  }

  .vz-contact-hero,
  .vz-contact-grid,
  .vz-field-row,
  .vz-form-title {
    display: grid;
    grid-template-columns: 1fr;
  }

  .vz-contact-hero,
  .vz-info-card,
  .vz-about-card,
  .vz-form-card {
    border-radius: 22px;
  }

  .vz-contact-hero,
  .vz-info-card,
  .vz-about-card,
  .vz-form-card {
    padding: 24px;
  }

  .vz-hero-logo {
    justify-content: flex-start;
    min-width: 0;
  }

  .vz-hero-logo img {
    max-width: 170px;
  }

  .vz-submit-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .vz-contact-item {
    align-items: flex-start;
  }

  .vz-socials a,
  .vz-mini-points span {
    width: 100%;
    justify-content: center;
  }
}

/* Vazhik redesign overrides */
.vz-contact-hero{border-radius:28px;padding:34px;align-items:center;min-height:220px;display:flex;justify-content:space-between;gap:30px;}
.vz-hero-text h1{font-size:34px;line-height:1.5;margin-bottom:12px;}
.vz-hero-logo img{max-width:170px;height:auto;object-fit:contain;filter:drop-shadow(0 8px 18px rgba(0,0,0,.12));}
.vz-field-row{gap:20px;}
.vz-form-card{border-radius:24px;}
#vz-national-error{margin-top:6px;display:block;}

/* Latest Vazhik form updates */
.vazhik-contact-wrap {
  width: min(1240px, calc(100% - 32px));
}

.vz-contact-hero.vz-contact-hero-new {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: center;
  gap: 34px;
  padding: clamp(28px, 4vw, 48px);
  min-height: 260px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 8% 18%, rgba(255,255,255,.34), transparent 30%),
    linear-gradient(135deg, var(--vz-dark) 0%, var(--vz-primary) 54%, #31c8e8 100%);
  color: #fff;
  box-shadow: 0 24px 70px rgba(7, 137, 169, .22);
  border: 1px solid rgba(255,255,255,.25);
}

.vz-contact-hero.vz-contact-hero-new::before {
  content: "";
  position: absolute;
  inset: auto auto -110px -95px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  z-index: -1;
}

.vz-contact-hero.vz-contact-hero-new::after {
  content: "";
  position: absolute;
  inset: -110px -70px auto auto;
  width: 260px;
  height: 260px;
  border-radius: 48px;
  transform: rotate(18deg);
  background: rgba(244, 165, 28, .24);
  z-index: -1;
}

.vz-contact-hero-new .vz-kicker {
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px);
}

.vz-contact-hero-new .vz-hero-text h1 {
  color: #fff;
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.35;
  margin-bottom: 14px;
}

.vz-contact-hero-new .vz-hero-text p {
  color: rgba(255,255,255,.92);
  max-width: 760px;
  font-size: 16px;
  line-height: 2.05;
}

.vz-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.vz-hero-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.26);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}

.vz-hero-brand-card {
  justify-self: end;
  width: min(100%, 235px);
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 24px;
  border-radius: 30px;
  background: rgba(255,255,255,.92);
  color: #273b46;
  box-shadow: 0 20px 48px rgba(18, 40, 56, .18);
  border: 1px solid rgba(255,255,255,.65);
}

.vz-logo-frame {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border-radius: 30px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(17,181,228,.12), 0 14px 28px rgba(7,137,169,.14);
  padding: 14px;
}

.vz-logo-frame img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  image-rendering: auto;
}

.vz-hero-brand-card strong {
  font-size: 22px;
  font-weight: 900;
  color: var(--vz-dark);
}

.vz-hero-brand-card small {
  color: #667985;
  font-weight: 700;
}

.vz-field-row.vz-field-row-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.vz-primary-info-row {
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f8fcfe);
  border: 1px solid rgba(17,181,228,.13);
}

.vz-role-extra-slot {
  display: grid;
  min-width: 0;
}

.vz-role-extra-slot label {
  display: grid;
  gap: 8px;
}

.vz-field-error {
  color: #c02828;
  font-weight: 800;
  font-size: 12px;
  margin-top: 2px;
  min-height: 16px;
}

@media (max-width: 980px) {
  .vz-contact-hero.vz-contact-hero-new {
    grid-template-columns: 1fr;
  }
  .vz-hero-brand-card {
    justify-self: stretch;
    width: 100%;
    min-height: auto;
    grid-template-columns: auto 1fr;
    justify-content: start;
    text-align: right;
  }
  .vz-logo-frame {
    grid-row: span 2;
    width: 94px;
    height: 94px;
    border-radius: 24px;
  }
  .vz-field-row.vz-field-row-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .vz-contact-hero.vz-contact-hero-new,
  .vz-primary-info-row {
    border-radius: 24px;
  }
  .vz-field-row.vz-field-row-3 {
    grid-template-columns: 1fr;
  }
  .vz-hero-chips span {
    width: 100%;
    justify-content: center;
  }
}

.vz-form-title {
  border-bottom: 0;
  margin-bottom: 26px;
  padding: 18px 22px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(17,181,228,.12), rgba(244,165,28,.10)),
    #fbfdfe;
  border: 1px solid rgba(17,181,228,.14);
}

.vz-form-title span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.vz-form-title span::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--vz-accent);
  box-shadow: 0 0 0 7px rgba(244,165,28,.16);
}

/* Organizational hero redesign - formal header */
.vz-contact-hero.vz-contact-hero-new.vz-contact-hero-org {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  min-height: auto;
  padding: clamp(24px, 3.2vw, 38px);
  border-radius: 24px;
  background: #ffffff;
  color: #253642;
  border: 1px solid #dfe8ed;
  border-inline-start: 7px solid var(--vz-dark);
  box-shadow: 0 18px 42px rgba(18, 40, 56, .09);
  overflow: hidden;
}

.vz-contact-hero.vz-contact-hero-new.vz-contact-hero-org::before,
.vz-contact-hero.vz-contact-hero-new.vz-contact-hero-org::after {
  display: none;
}

.vz-hero-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8eef2;
}

.vz-brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.vz-logo-frame.vz-logo-frame-org {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  border-radius: 18px;
  padding: 9px;
  background: #fff;
  border: 1px solid #e3edf2;
  box-shadow: 0 10px 24px rgba(7, 137, 169, .10);
}

.vz-logo-frame.vz-logo-frame-org img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vz-brand-lockup strong {
  display: block;
  color: var(--vz-dark);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.3;
}

.vz-brand-lockup small {
  display: block;
  margin-top: 4px;
  color: #637684;
  font-weight: 700;
  line-height: 1.7;
}

.vz-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 14px;
  background: #f5fafc;
  color: var(--vz-dark);
  border: 1px solid rgba(7, 137, 169, .18);
  font-weight: 900;
  white-space: nowrap;
}

.vz-hero-body-org {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: stretch;
  gap: 24px;
}

.vz-contact-hero-org .vz-kicker {
  margin-bottom: 10px;
  background: rgba(7, 137, 169, .08);
  color: var(--vz-dark);
  border: 1px solid rgba(7, 137, 169, .14);
  backdrop-filter: none;
}

.vz-contact-hero-org .vz-hero-text h1 {
  color: #253642;
  font-size: clamp(30px, 3.7vw, 44px);
  line-height: 1.45;
  margin: 0 0 12px;
  letter-spacing: -.02em;
}

.vz-contact-hero-org .vz-hero-text p {
  color: #586b78;
  max-width: 760px;
  font-size: 15px;
  line-height: 2.05;
}

.vz-hero-process {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f9fcfd, #ffffff);
  border: 1px solid #e5eef3;
}

.vz-hero-process div {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #edf3f6;
}

.vz-hero-process strong {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--vz-dark);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.vz-hero-process span {
  color: #3f5360;
  font-weight: 800;
  line-height: 1.7;
}

.vz-hero-footer-org {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid #e8eef2;
}

.vz-hero-footer-org > span {
  color: #596d7a;
  font-weight: 900;
  white-space: nowrap;
}

.vz-contact-hero-org .vz-hero-chips {
  margin: 0;
  justify-content: flex-end;
}

.vz-contact-hero-org .vz-hero-chips span {
  min-height: 38px;
  background: #f6fafc;
  border: 1px solid #e2ecf1;
  color: #465b68;
  border-radius: 12px;
  font-weight: 800;
}

.vz-contact-hero-org .vz-hero-chips span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vz-accent);
  margin-inline-end: 8px;
}

@media (max-width: 980px) {
  .vz-hero-body-org {
    grid-template-columns: 1fr;
  }
  .vz-hero-footer-org {
    align-items: flex-start;
    flex-direction: column;
  }
  .vz-contact-hero-org .vz-hero-chips {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .vz-contact-hero.vz-contact-hero-new.vz-contact-hero-org {
    border-inline-start-width: 0;
    border-top: 6px solid var(--vz-dark);
    border-radius: 20px;
  }
  .vz-hero-head {
    display: grid;
    grid-template-columns: 1fr;
  }
  .vz-hero-badge {
    width: 100%;
  }
  .vz-brand-lockup {
    align-items: flex-start;
  }
  .vz-logo-frame.vz-logo-frame-org {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    border-radius: 16px;
  }
  .vz-hero-process {
    padding: 12px;
  }
  .vz-contact-hero-org .vz-hero-chips span {
    width: 100%;
    justify-content: flex-start;
  }
}


/* Final clean organizational header tweaks */
body .entry-title,
body .page-title,
body .wp-block-post-title {
  /* This stylesheet is only enqueued on the Vazhik contact page, so hide the theme's duplicate page title. */
  display: none !important;
}

.vz-contact-hero-clean-final {
  padding: clamp(22px, 3vw, 34px) !important;
}

.vz-contact-hero-clean-final .vz-hero-head {
  border-bottom: 0;
  padding-bottom: 0;
}

.vz-contact-hero-clean-final .vz-brand-lockup {
  width: 100%;
}

.vz-contact-hero-clean-final .vz-brand-lockup strong {
  font-size: clamp(24px, 3vw, 34px);
  color: #20323d;
  line-height: 1.6;
}

.vz-contact-hero-clean-final .vz-hero-body-org {
  grid-template-columns: 1fr;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #e8eef2;
}

.vz-contact-hero-clean-final .vz-hero-text h1 {
  display: none;
}

.vz-contact-hero-clean-final .vz-hero-text p {
  max-width: 920px;
  margin: 0;
}

.vz-contact-hero-clean-final .vz-hero-badge,
.vz-contact-hero-clean-final .vz-hero-process,
.vz-contact-hero-clean-final .vz-hero-footer-org,
.vz-contact-hero-clean-final .vz-hero-chips {
  display: none !important;
}

/* FAQ accordion */
.vz-faq-card {
  display: flex;
  flex-direction: column;
}

.vz-faq-accordion {
  display: grid;
  gap: 12px;
}

.vz-faq-item {
  border: 1px solid rgba(17, 181, 228, .16);
  border-radius: 18px;
  background: #f7fbfd;
  overflow: hidden;
}

.vz-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  color: #3b3b3b;
  font-weight: 800;
  line-height: 1.8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.vz-faq-item summary::-webkit-details-marker {
  display: none;
}

.vz-faq-item summary::after {
  content: "+";
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 181, 228, .14);
  color: var(--vz-dark);
  font-size: 20px;
  font-weight: 800;
}

.vz-faq-item[open] summary {
  color: var(--vz-dark);
}

.vz-faq-item[open] summary::after {
  content: "−";
  background: var(--vz-primary);
  color: #fff;
}

.vz-faq-answer {
  padding: 0 18px 18px;
  color: #666;
  line-height: 2;
}

.vz-faq-answer p {
  margin: 0;
}

@media (max-width: 480px) {
  .vz-faq-item summary {
    align-items: flex-start;
  }
}
