:root {
  --contact-blue: #1265f4;
  --contact-blue-dark: #083d9f;
  --contact-navy: #071633;
  --contact-text: #52627c;
  --contact-line: #dfe7f3;
}

.nw-contact-page {
  min-width: 320px;
  overflow-x: hidden;
  background: #f7f9fd;
}

.nw-contact-page main {
  padding-top: 86px;
}

.nw-contact-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 68px;
  background:
    radial-gradient(circle at 86% 18%, rgba(40, 122, 255, .52), transparent 26%),
    radial-gradient(circle at 7% 84%, rgba(30, 105, 242, .28), transparent 30%),
    linear-gradient(135deg, #08275d 0%, #0a3e92 50%, #073275 100%);
}

.nw-contact-hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -210px -10%;
  height: 430px;
  opacity: .3;
  background: repeating-radial-gradient(ellipse at center, transparent 0 20px, rgba(103, 166, 255, .25) 21px 23px, transparent 24px 42px);
  transform: rotate(-6deg) scaleY(.42);
  pointer-events: none;
}

.nw-contact-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.nw-contact-glow--one { width: 260px; height: 260px; right: -90px; top: 90px; background: rgba(37, 125, 255, .18); }
.nw-contact-glow--two { width: 220px; height: 220px; left: 28%; bottom: -150px; background: rgba(66, 144, 255, .15); }

.nw-contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: clamp(42px, 6vw, 88px);
  align-items: center;
}

.nw-contact-copy { color: #fff; }

.nw-contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(55, 132, 255, .38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nw-contact-kicker i { font-size: 15px; }

.nw-contact-copy h1 {
  max-width: 650px;
  margin: 24px 0 22px;
  color: #fff;
  font-size: clamp(45px, 5.2vw, 74px);
  line-height: 1.04;
  letter-spacing: -.055em;
  font-weight:800;
}

.nw-contact-copy > p {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: 18px;
  line-height: 1.72;
}

.nw-contact-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.nw-contact-benefits article {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.nw-contact-benefit-icon {
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(60, 141, 255, .92), rgba(28, 91, 196, .75));
  box-shadow: 0 10px 22px rgba(0, 22, 68, .24);
  color: #fff;
  font-size: 19px;
}

.nw-contact-benefits strong,
.nw-contact-benefits small { display: block; }
.nw-contact-benefits strong { margin-bottom: 4px; color: #fff; font-size: 13px; line-height: 1.25; }
.nw-contact-benefits small { color: rgba(255, 255, 255, .7); font-size: 11px; line-height: 1.35; }

.nw-contact-card {
  padding: clamp(25px, 3vw, 38px);
  border: 1px solid rgba(222, 232, 248, .9);
  border-radius: 25px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 28px 70px rgba(0, 23, 70, .3);
}

.nw-contact-card__header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.nw-contact-mail-icon {
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  display: grid;
  place-items: center;
  border: 1px solid #dce7fb;
  border-radius: 18px;
  background: linear-gradient(145deg, #f4f8ff, #e7effd);
  color: var(--contact-blue);
  font-size: 30px;
  line-height: 1;
}

.nw-contact-mail-icon i {
  display: block;
  margin: 0;
  transform: none;
}

.nw-contact-card__header h2 {
  margin: 0 0 5px;
  color: var(--contact-navy);
  font-size: clamp(25px, 2.3vw, 32px);
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 820;
}

.nw-contact-card__header p {
  margin: 0;
  color: #728099;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.nw-contact-form label { margin: 0; }
.nw-contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.nw-contact-form label > span { display: block; margin: 0 0 8px; color: #263752; font-size: 13px; font-weight:700; }
.nw-contact-form label > span small { color: #8793a8; font-weight: 600; }

.nw-contact-form input,
.nw-contact-form select,
.nw-contact-form textarea {
  width: 100%;
  border: 1px solid #d8e1ee;
  border-radius: 11px;
  outline: none;
  background: #fff;
  color: #15243e;
  font: 500 15px/1.4 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.nw-contact-form input,
.nw-contact-form select { height: 52px; padding: 0 15px; }
.nw-contact-form textarea { min-height: 150px; padding: 14px 15px; resize: vertical; }
.nw-contact-form input::placeholder,
.nw-contact-form textarea::placeholder { color: #9aa6b8; }

.nw-contact-form input:focus,
.nw-contact-form select:focus,
.nw-contact-form textarea:focus {
  border-color: #5f96f5;
  background: #fbfdff;
  box-shadow: 0 0 0 4px rgba(18, 101, 244, .1);
}

.nw-contact-message { display: block; margin-top: 18px ; }

.nw-contact-consent {
  display: flex ;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px ;
  color: #66758d;
  font-size: 12px;
  line-height: 1.45;
}

.nw-contact-consent input { width: 17px; height: 17px; flex: 0 0 17px; margin: 1px 0 0; accent-color: var(--contact-blue); }
.nw-contact-consent span { margin: 0 ; color: inherit ; font-size: inherit ; font-weight: 500 ; }
.nw-contact-consent a { color: var(--contact-blue); font-weight: 700; }

.nw-contact-submit {
  width: 100%;
  min-height: 56px;
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #226ff4, #0c57de);
  box-shadow: 0 15px 30px rgba(18, 101, 244, .24);
  color: #fff;
  cursor: pointer;
  font: 800 14px/1 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .025em;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.nw-contact-submit:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(18, 101, 244, .32); }
.nw-contact-submit:disabled { cursor: wait; opacity: .72; transform: none; }

.nw-contact-status { display: none; margin: 14px 0 0; padding: 11px 13px; border-radius: 9px; font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 13px; line-height: 1.45; }
.nw-contact-status.is-success { display: block; color: #13613b; background: #e9f8ef; border: 1px solid #bfe9ce; }
.nw-contact-status.is-error { display: block; color: #922d2d; background: #fff0f0; border: 1px solid #f1caca; }

.nw-contact-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
  color: #748199;
  font-size: 12px;
  text-align: center;
}

.nw-contact-security i { color: #76859f; }

.nw-contact-trust { padding: 34px 0; background: #f8faff; border-bottom: 1px solid #e7edf6; }
.nw-contact-trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.nw-contact-trust article { display: flex; align-items: flex-start; gap: 13px; padding: 18px; border: 1px solid #e3eaf5; border-radius: 15px; background: #fff; }
.nw-contact-trust article > i { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 12px; background: #eef4ff; color: var(--contact-blue); font-size: 20px; }
.nw-contact-trust strong,
.nw-contact-trust span { display: block; }
.nw-contact-trust strong { margin: 1px 0 4px; color: var(--contact-navy); font-size: 13px; }
.nw-contact-trust span { color: #748199; font-size: 11px; line-height: 1.45; }

@media (max-width: 1100px) {
  .nw-contact-grid { grid-template-columns: 1fr; max-width: 850px; }
  .nw-contact-copy { text-align: center; }
  .nw-contact-copy > p { margin-left: auto; margin-right: auto; }
  .nw-contact-benefits { max-width: 760px; margin-left: auto; margin-right: auto; }
  .nw-contact-trust__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767.98px) {
  .nw-contact-page main { padding-top: 72px; }
  .nw-contact-hero { padding: 50px 0 48px; }
  .nw-contact-copy h1 { font-size: clamp(40px, 11vw, 56px); }
  .nw-contact-copy > p { font-size: 16px; }
  .nw-contact-benefits { grid-template-columns: 1fr; max-width: 350px; text-align: left; }
  .nw-contact-fields { grid-template-columns: 1fr; }
  .nw-contact-card { padding: 23px 18px; border-radius: 20px; }
  .nw-contact-card__header { align-items: flex-start; gap: 14px; }
  .nw-contact-mail-icon { width: 56px; height: 56px; flex-basis: 56px; border-radius: 15px; font-size: 25px; }
  .nw-contact-trust__grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .nw-contact-card__header h2 { font-size: 23px; }
  .nw-contact-card__header p { font-size: 13px; }
  .nw-contact-security { align-items: flex-start; text-align: left; }
}

/* Navegación siempre accesible sobre la cabecera de contacto */
.nw-contact-page .header { position:fixed;inset:0 0 auto 0;z-index:10000;pointer-events:auto; }
.nw-contact-page #navbar_container,
.nw-contact-page .nw-nav__inner,
.nw-contact-page .nw-main-nav,
.nw-contact-page .nw-main-nav a { position:relative;z-index:10001;pointer-events:auto; }
